Bug 228604

Summary: [ iOS ] 2 http/tests/cookies/same-site tests are flaky timing out
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   

ayumi_kojima
Reported 2021-07-29 13:38:44 PDT
http/tests/cookies/same-site/fetch-in-cross-origin-service-worker.html http/tests/cookies/same-site/fetch-in-same-origin-service-worker.html Are flaky timing out on iOS 14 E Simulator. History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=http%2Ftests%2Fcookies%2Fsame-site%2Ffetch-in-cross-origin-service-worker.html&test=http%2Ftests%2Fcookies%2Fsame-site%2Ffetch-in-same-origin-service-worker.html&platform=ios Diff: --- /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/http/tests/cookies/same-site/fetch-in-cross-origin-service-worker-expected.txt +++ /Volumes/Data/worker/ipados-simulator-14-release-tests-wk2/build/layout-test-results/http/tests/cookies/same-site/fetch-in-cross-origin-service-worker-actual.txt @@ -1,25 +1,4 @@ +#PID UNRESPONSIVE - WebKitTestRunnerApp (pid 73289) +FAIL: Timed out waiting for notifyDone to be called - --------- -Frame: '<!--frame1-->' --------- -Tests that Same-Site cookies for 127.0.0.1 are not sent with a request initiated from an iframe- and processed by a service worker- with a different origin. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -Cookies sent with HTTP request: -PASS Do not have cookie "strict". -PASS Has cookie "implicit-strict" with value 10. -PASS Has cookie "strict-because-invalid-SameSite-value" with value 10. -PASS Do not have cookie "lax". - -Cookies visible in DOM: -PASS Do not have DOM cookie "strict". -PASS Do not have DOM cookie "implicit-strict". -PASS Do not have DOM cookie "strict-because-invalid-SameSite-value". -PASS Do not have DOM cookie "lax". -PASS successfullyParsed is true - -TEST COMPLETE - +#EOF
Attachments
Radar WebKit Bug Importer
Comment 1 2021-07-29 13:39:32 PDT
ayumi_kojima
Comment 2 2021-07-29 13:50:59 PDT
I was able to reproduce the timeout (no diff) at TOT and at r265027 (oldest spade available) on debug on iOS 15 simulator on my local machine using: run-webkit-tests --iterations 500 --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ios-simulator --debug http/tests/cookies/same-site/fetch-in-cross-origin-service-worker.html I was not able to reproduce the time out on release using: run-webkit-tests --iterations 1000 --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ios-simulator http/tests/cookies/same-site/fetch-in-cross-origin-service-worker.html
ayumi_kojima
Comment 3 2021-07-29 14:01:26 PDT
ayumi_kojima
Comment 4 2021-07-29 14:56:13 PDT
Marked test [ Pass Timeout ] instead of [ Slow ]: https://trac.webkit.org/changeset/280450/webkit
Note You need to log in before you can comment on or make changes to this bug.