Bug 228255

Summary: [ iOS ] fast/mediastream/mediastreamtrack-audio-clone.html is a flaky failure
Product: WebKit Reporter: ayumi_kojima
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   

Description ayumi_kojima 2021-07-23 16:36:57 PDT
fast/mediastream/mediastreamtrack-audio-clone.html

Is a flaky failure on iOS 14 E Simulator wk2 Debug (iPhone & iPad) & Release (iPhone)

History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fmediastreamtrack-audio-clone.html

Diff:

--- /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/fast/mediastream/mediastreamtrack-audio-clone-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-debug-tests-wk2/build/layout-test-results/fast/mediastream/mediastreamtrack-audio-clone-actual.txt
@@ -1,5 +1,6 @@
+CONSOLE MESSAGE: Failed to create MediaStream audio source: Request is not allowed
 
-PASS Stopping the audio track should not stop the audio track clone
+FAIL Stopping the audio track should not stop the audio track clone promise_test: Unhandled rejection with value: object "NotReadableError: The I/O read operation failed."
 PASS Stopping the audio track clone should not stop the audio track
 PASS Collecting the audio track clone should not stop the audio track
 
I was not able to bisect because I couldn’t reproduce the failure on the simulator (iOS 15) on my local machine using:

run-webkit-tests --iterations 2000 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --no-retry --force --no-build -f fast/mediastream/mediastreamtrack-audio-clone.html --ios-simulator 

The test timed out and it hanged with --no-timeout flag.
Comment 1 Radar WebKit Bug Importer 2021-07-23 16:37:18 PDT
<rdar://problem/81041538>
Comment 2 ayumi_kojima 2021-07-23 16:41:27 PDT
Updated test expectations https://trac.webkit.org/changeset/280272/webkit