Bug 242658 - [ macOS ] http/tests/media/user-gesture-preserved-across-xmlhttprequest.html is a flaky failure
Summary: [ macOS ] http/tests/media/user-gesture-preserved-across-xmlhttprequest.html ...
Status: NEW
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: 2022-07-12 14:55 PDT by Hercules Hjalmarsson
Modified: 2022-07-14 14:29 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hercules Hjalmarsson 2022-07-12 14:55:35 PDT
http/tests/media/user-gesture-preserved-across-xmlhttprequest.html

Is a flaky text failure on macOS ToT.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fuser-gesture-preserved-across-xmlhttprequest.html

DIFF:
--- /Volumes/Data/worker/Apple-Monterey-Debug-WK2-Tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Debug-WK2-Tests/build/layout-test-results/http/tests/media/user-gesture-preserved-across-xmlhttprequest-actual.txt
@@ -35,7 +35,7 @@
 sending XHR, delay = 100
 EVENT(load): readyState = 4
 RUN(shouldResolve(mediaElement.play()).then(testComplete, testComplete))
-Promise resolved OK
+Promise rejected FAIL
 
 ** NO gesture -> XHR -> timeout -> video playback: should fail
 EVENT(canplaythrough)

DIFF URL:
https://build.webkit.org/results/Apple-Monterey-Debug-WK2-Tests/252380@main%20(5225)/http/tests/media/user-gesture-preserved-across-xmlhttprequest-pretty-diff.html
Comment 1 Hercules Hjalmarsson 2022-07-12 14:57:00 PDT
I was able to reproduce the text failure on macOS ToT by running command:

run-webkit-tests --debug -f --force --iterations 1000 --exit-after-n-failures 1 --clobber-old-results http/tests/media/user-gesture-preserved-across-xmlhttprequest.html
Comment 2 Radar WebKit Bug Importer 2022-07-12 14:57:52 PDT
<rdar://problem/96912318>
Comment 3 EWS 2022-07-12 15:20:05 PDT
Test gardening commit 252394@main (9c8e21dda821): <https://commits.webkit.org/252394@main>

Reviewed commits have been landed. Closing PR #2343 and removing active labels.
Comment 4 Hercules Hjalmarsson 2022-07-12 16:13:34 PDT
No available revisions to reproduce issue on commit 250047@main suspected to be causing the flaky failure.