Bug 192938

Summary: [iOS] Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/update-registration-with-type.https.html is a flaky failure
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, jlewis3, tsavell, youennf
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Haddad 2018-12-20 10:17:51 PST
The following layout test is failing on iOS simulator

imported/w3c/web-platform-tests/service-workers/service-worker/update-registration-with-type.https.html

Probable cause:

[insert probable cause]

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fupdate-registration-with-type.https.html

--- /Volumes/Data/slave/ios-simulator-12-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/update-registration-with-type.https-expected.txt
+++ /Volumes/Data/slave/ios-simulator-12-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/update-registration-with-type.https-actual.txt
@@ -2,7 +2,7 @@
 FAIL Update the registration with a different script type (classic => module). promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: guid"
 FAIL Update the registration with a different script type (module => classic). promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: guid"
 PASS Update the registration with a different script type (classic => module) and with a same main script. 
-PASS Update the registration with a different script type (module => classic) and with a same main script. 
+FAIL Update the registration with a different script type (module => classic) and with a same main script. promise_test: Unhandled rejection with value: object "TypeError: Script URL https://localhost:9443/service-workers/service-worker/resources/empty-worker.js fetch resulted in error: An SSL error has occurred and a secure connection to the server cannot be made."
 PASS Does not update the registration with the same script type and the same main script. 
 FAIL Update the registration with a different script type (classic => module) and with a same main script. Expect evaluation failed. assert_unreached: Should have rejected: Registering with invalid evaluation should be failed. Reached unreachable code
 FAIL Update the registration with a different script type (module => classic) and with a same main script. Expect evaluation failed. promise_test: Unhandled rejection with value: object "TypeError: SyntaxError: Unexpected token '*'. import call expects exactly one argument."
Comment 1 Ryan Haddad 2018-12-20 10:19:03 PST
This test is a flaky failure on iOS bots, with the first failure appearing to be with https://trac.webkit.org/changeset/238667/webkit (though the revision itself appears to be unrelated).
Comment 2 Ryan Haddad 2018-12-20 10:20:20 PST
The test was added with the service-worker WPT resync in https://trac.webkit.org/changeset/238592/webkit
Comment 3 Ryan Haddad 2018-12-20 10:25:35 PST
Marked test as flaky on iOS in https://trac.webkit.org/r239450