<?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>217617</bug_id>
          
          <creation_ts>2020-10-12 10:41:24 -0700</creation_ts>
          <short_desc>[ macOS iOS ] 2 imported/w3c/web-platform-tests/service-workers/service-worker/* tests are flaky failures</short_desc>
          <delta_ts>2020-10-13 11:56:11 -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="Hector Lopez">hector_i_lopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>tsavell</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>1696921</commentid>
    <comment_count>0</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-10-12 10:41:24 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https.html 
imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html

Test are flaky failing according to history on macOS and iOS. First occurrence of failure is at r267608

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fnavigate-window.https.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fclients-matchall-order.https.html&amp;limit=50000&amp;platform=ios&amp;platform=mac

Was able to reproduce on r267608 with 

run-webkit-tests imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https.html --iterations 100 --exit-after-n-failures 3

run-webkit-tests imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html --iterations 100 --exit-after-n-failures 3


Diffs:

imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https.html 

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/navigate-window.https-actual.txt
@@ -1,4 +1,4 @@
 
 PASS Clients.matchAll() should not show an old window as controlled after it navigates.
-FAIL Clients.matchAll() should not show an old window after it navigates. assert_unreached: unexpected rejection: assert_equals: expected number of clients expected 3 but got 2 Reached unreachable code
+FAIL Clients.matchAll() should not show an old window after it navigates. assert_unreached: unexpected rejection: assert_equals: expected number of clients expected 3 but got 7 Reached unreachable code
 


imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html:

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https-actual.txt
@@ -2,8 +2,8 @@
 PASS Clients.matchAll() returns non-focused controlled windows in creation order.
 FAIL Clients.matchAll() returns controlled windows in focus order.  Case 1. assert_equals: expected URL index 0 expected &quot;https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-windows-1&amp;q=2&quot; but got &quot;https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-windows-1&amp;q=0&quot;
 PASS Clients.matchAll() returns controlled windows in focus order.  Case 2.
-FAIL Clients.matchAll() returns non-focused uncontrolled windows in creation order. assert_equals: expected 6 but got 5
-FAIL Clients.matchAll() returns uncontrolled windows in focus order.  Case 1. assert_equals: expected 6 but got 5
-FAIL Clients.matchAll() returns uncontrolled windows in focus order.  Case 2. assert_equals: expected 6 but got 5
+FAIL Clients.matchAll() returns non-focused uncontrolled windows in creation order. assert_equals: expected 6 but got 10
+FAIL Clients.matchAll() returns uncontrolled windows in focus order.  Case 1. assert_equals: expected 6 but got 10
+FAIL Clients.matchAll() returns uncontrolled windows in focus order.  Case 2. assert_equals: expected 6 but got 10
 FAIL Clients.matchAll() returns controlled windows and frames in focus order. assert_equals: expected URL index 0 expected &quot;https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-nested-windows&amp;q=2&quot; but got &quot;https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-nested-windows&amp;q=0&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1696922</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-12 10:41:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/70213637&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1696937</commentid>
    <comment_count>2</comment_count>
    <who name="Hector Lopez">hector_i_lopez</who>
    <bug_when>2020-10-12 10:57:02 -0700</bug_when>
    <thetext>Test expectations while investigated:

https://trac.webkit.org/changeset/268364/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697323</commentid>
    <comment_count>3</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2020-10-13 11:54:31 -0700</bug_when>
    <thetext>*** Bug 217615 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697325</commentid>
    <comment_count>4</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2020-10-13 11:56:11 -0700</bug_when>
    <thetext>*** Bug 217616 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>