Bug 243067

Summary: [ BigSur wk2 ] 4X http/tests/storageAccess/request-and-grant-access- (Layout tests) are flaky failures
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-07-21 12:24:30 PDT
http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral.html

Is a flaky text failure on BigSur wk2 commit-queue. Issue only appears to be happening on commit-queue as shown in history.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FstorageAccess%2Frequest-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral.html

DIFF:
--- /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral-expected.txt
+++ /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS Storage access was granted. document.cookie == firstPartyCookie=value, cookies seen server-side == {"firstPartyCookie":"value"}
+PASS Storage access was granted. document.cookie == , cookies seen server-side == "No cookies"
 PASS successfullyParsed is true
 
 TEST COMPLETE

DIFF URL:
https://ews-build.s3-us-west-2.amazonaws.com/Merge-Queue/454f1f66-1871/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-ephemeral-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2022-07-21 12:25:24 PDT
<rdar://problem/97393886>
Comment 2 Hercules Hjalmarsson 2022-07-21 12:26:37 PDT
Unable to reproduce issue. Setting expectation for commit-queue.
Comment 3 EWS 2022-07-21 12:42:01 PDT
Test gardening commit 252698@main (cd5aced86c84): <https://commits.webkit.org/252698@main>

Reviewed commits have been landed. Closing PR #2630 and removing active labels.
Comment 4 Hercules Hjalmarsson 2022-07-21 13:00:06 PDT
Found multiple flaky text failure tests under commit-queue that appear to have the same (very similar) DIFFs:

http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html
http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe.html 
http/tests/storageAccess/request-and-grant-access-with-per-page-scope-access-from-another-frame.html

DIFF(S):

--- /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-expected.txt
+++ /Volumes/Data/worker/Merge-Queue/build/layout-test-results/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-actual.txt
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS Storage access was granted. document.cookie == , cookies seen server-side == "No cookies"
+PASS Storage access was granted. document.cookie == firstPartyCookie=value, cookies seen server-side == {"firstPartyCookie":"value"}
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 5 Hercules Hjalmarsson 2022-07-21 13:02:34 PDT
Updating all 4X expectations under commit-queue.
Comment 6 Hercules Hjalmarsson 2022-07-21 13:29:15 PDT
Marking as duplicate since all 4 bugs are related.

*** This bug has been marked as a duplicate of bug 243069 ***