<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>217938</bug_id>
          
          <creation_ts>2020-10-19 18:56:39 -0700</creation_ts>
          <short_desc>REGRESSION (268605?): [ Mojave+ wk2 ] 4 wpt/service-workers tests are flaky failures</short_desc>
          <delta_ts>2020-10-21 17:21:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>jiewen_tan</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1699569</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-10-19 18:56:39 -0700</bug_when>
    <thetext>Description:
http/wpt/service-workers/fetchEvent.https.html
http/wpt/service-workers/header-filtering.https.html
http/wpt/service-workers/mac/throttleable.https.html
http/wpt/service-workers/online.https.html

The most recent failure that I see this on the dashboard, after a series of consistent passing, was 10/16/20 at 268605, and introduces a new daemon to handle all WebAuthn requests, which could have raised the flakiness. The change was introduced here https://trac.webkit.org/changeset/268605/webkit.

I have made multiple reproductions attempts, but so far have been unable to reproduce the issue.

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Fwpt%2Fservice-workers%2FfetchEvent.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fheader-filtering.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fmac%2Fthrottleable.https.html&amp;test=http%2Fwpt%2Fservice-workers%2Fonline.https.html&amp;platform=mac&amp;limit=50000

Diff Log:
http/wpt/service-workers/header-filtering.https.html

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/header-filtering.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/header-filtering.https-actual.txt
@@ -1,12 +1,13 @@
+
 
 PASS Prepare tests: setup worker and register the client
 PASS Prepare tests: Add a frame controlled by service worker
-PASS Test same-origin fetch
-PASS Test cors cross-origin fetch
-PASS Test no-cors cross-origin fetch
-PASS Test same-origin script load
-PASS Test no-cors script load
-PASS Test cors script load
-PASS Test HTML load
+FAIL Test same-origin fetch assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test cors cross-origin fetch assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test no-cors cross-origin fetch assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test same-origin script load assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test no-cors script load assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test cors script load assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
+FAIL Test HTML load assert_array_equals: value is &quot;Test requires internals API to get all response headers&quot;, expected array
 PASS After tests clean-up
 
http/wpt/service-workers/online.https.html

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/online.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/online.https-actual.txt
@@ -1,4 +1,4 @@
 
 PASS Setup worker
-PASS Test service worker online/offline
+FAIL Test service worker online/offline assert_equals: expected &quot;PASS&quot; but got &quot;FAIL: test require internals&quot;
 

http/wpt/service-workers/service-worker-spinning-install.https.html

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-install.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-install.https-actual.txt
@@ -1,5 +1,7 @@
 
-PASS Spin at running
-PASS Spin in install
-PASS Spin after install
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT Spin at running  Test timed out
+NOTRUN Spin in install
+NOTRUN Spin after install
+

http/wpt/service-workers/service-worker-spinning-message.https.html

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-message.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/http/wpt/service-workers/service-worker-spinning-message.https-actual.txt
@@ -1,4 +1,6 @@
 
-PASS Spin in message
-PASS Spin after message
+Harness Error (TIMEOUT), message = null
 
+TIMEOUT Spin in message Test timed out
+NOTRUN Spin after message
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699571</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-19 18:57:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/70466134&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699576</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-10-19 19:09:32 -0700</bug_when>
    <thetext>I have marked these tests as failing while this issue is investigated.
https://trac.webkit.org/changeset/268707/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1699582</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-10-19 19:22:18 -0700</bug_when>
    <thetext>Diff Log

http/wpt/service-workers/fetchEvent.https.html

--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/fetchEvent.https-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/fetchEvent.https-actual.txt
@@ -1,10 +1,10 @@
 
 PASS Setup worker
-PASS FetchEvent respondWith should throw if called twice
+FAIL FetchEvent respondWith should throw if called twice assert_equals: expected &quot;PASS&quot; but got &quot;Exception: undefined is not an object (evaluating &apos;self.internals.createBeingDispatchedFetchEvent&apos;)&quot;
 PASS FetchEvent request is SameObject
-PASS FetchEvent should be in error if responding with undefined
-PASS FetchEvent should be in error if not responding with a Response
-PASS FetchEvent should be in error if responding with a Promise that does not resolve to a Response
-PASS FetchEvent should be in error if responding with a Promise that rejects
-PASS FetchEvent should resolve when responding with a Response
+FAIL FetchEvent should be in error if responding with undefined assert_equals: expected &quot;PASS&quot; but got &quot;Exception: Can&apos;t find variable: internals&quot;
+FAIL FetchEvent should be in error if not responding with a Response assert_equals: expected &quot;PASS&quot; but got &quot;Exception: Can&apos;t find variable: internals&quot;
+FAIL FetchEvent should be in error if responding with a Promise that does not resolve to a Response assert_equals: expected &quot;PASS&quot; but got &quot;Exception: Can&apos;t find variable: internals&quot;
+FAIL FetchEvent should be in error if responding with a Promise that rejects assert_equals: expected &quot;PASS&quot; but got &quot;Exception: Can&apos;t find variable: internals&quot;
+FAIL FetchEvent should resolve when responding with a Response assert_equals: expected &quot;PASS&quot; but got &quot;Exception: Can&apos;t find variable: internals&quot;

http/wpt/service-workers/Mac/throttleable.https.html

--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/mac/throttleable.https-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/wpt/service-workers/mac/throttleable.https-actual.txt
@@ -1,5 +1,5 @@
 
 PASS Setup worker
-PASS Service worker should not be throttleable
-PASS Service worker should be throttleable
+FAIL Service worker should not be throttleable assert_false: expected false got &quot;needs internals&quot;
+FAIL Service worker should be throttleable assert_true: expected true got &quot;needs internals&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>