Bug 217615 - REGRESSION: [ Mac ] imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html is flaky failing
Summary: REGRESSION: [ Mac ] imported/w3c/web-platform-tests/service-workers/service-w...
Status: RESOLVED DUPLICATE of bug 217617
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-12 10:22 PDT by Truitt Savell
Modified: 2020-12-15 13:29 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Truitt Savell 2020-10-12 10:22:37 PDT
imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html

This test is a flaky failure on MacOS.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fclients-matchall-order.https.html

Diff:
--- /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 "https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-windows-1&q=2" but got "https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-windows-1&q=0"
 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 "https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-nested-windows&q=2" but got "https://localhost:9443/service-workers/service-worker/resources/empty.html?name=focus-controlled-nested-windows&q=0"
Comment 1 Radar WebKit Bug Importer 2020-10-12 10:22:57 PDT
<rdar://problem/70212643>
Comment 2 Truitt Savell 2020-10-13 09:48:57 PDT
I was able to reproduce a failure with command:

run-webkit-tests --iterations 2000 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --debug-rwt-logging --no-retry --force --no-build -f -1 imported/w3c/web-platform-tests/service-workers/service-worker/clients-matchall-order.https.html
Comment 3 Truitt Savell 2020-10-13 11:54:31 PDT

*** This bug has been marked as a duplicate of bug 217617 ***
Comment 4 Alex Christensen 2020-12-15 13:29:30 PST
The "-1" parameter makes it reproduce on the first run because it always fails in DumpRenderTree because Service Workers aren't implemented in WebKitLegacy