Bug 225527

Summary: [ BigSur Release wk2 ARM64 ] http/tests/workers/service/self_registration.html is a flaky timeout
Product: WebKit Reporter: Robert Jenner <Jenner>
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: Unspecified   
OS: Unspecified   

Description Robert Jenner 2021-05-07 11:30:14 PDT
http/tests/workers/service/self_registration.html

is a flaky timeout on BigSur Release wk2 on Apple Silicon Macs only. 

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fworkers%2Fservice%2Fself_registration.html

TIMEOUT DIFF:
-* Add basic testing for ServiceWorkerGlobalScope.registration
+#PID UNRESPONSIVE - WebKitTestRunner (pid 96314)
+FAIL: Timed out waiting for notifyDone to be called
 
-Received updatefound event on self.registration
-Received install event
-* self.registration
-scope: http://127.0.0.1:8000/workers/service/resources/
-updateViaCache: imports
-installing worker:
-- scriptURL: http://127.0.0.1:8000/workers/service/resources/self_registration-worker.js
-- state: installing
-waiting worker: null
-active worker: null
-
-Received statechange event on service worker
-Received statechange event on service worker
-Received activate event
-* self.registration
-scope: http://127.0.0.1:8000/workers/service/resources/
-updateViaCache: imports
-installing worker: null
-waiting worker: null
-active worker:
-- scriptURL: http://127.0.0.1:8000/workers/service/resources/self_registration-worker.js
-- state: activating
-
-Received statechange event on service worker
-* self.registration
-scope: http://127.0.0.1:8000/workers/service/resources/
-updateViaCache: imports
-installing worker: null
-waiting worker: null
-active worker:
-- scriptURL: http://127.0.0.1:8000/workers/service/resources/self_registration-worker.js
-- state: activated
-
-
+#EOF
+#EOF

https://build.webkit.org/results/Apple-BigSur-Release-AppleSilicon-WK2-Tests/r277174%20(1348)/http/tests/workers/service/self_registration-pretty-diff.html
Comment 1 Robert Jenner 2021-05-07 15:35:43 PDT
This only appears to occur on Apple Silicon Macs. As such, I cannot provide reproduction steps as I do not have access to one of those systems. 

I have updated the test expectations to Pass Timeout here:
https://trac.webkit.org/changeset/277207/webkit
Comment 2 Radar WebKit Bug Importer 2021-05-07 15:40:29 PDT
<rdar://problem/77676235>