imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html is a flaky failure on macOS bots --- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer-expected.txt +++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer-actual.txt @@ -56,8 +56,8 @@ PASS buffer.getChannelData(3) threw IndexSizeError: "Index must be less than number of channels.". PASS < [valid constructor] All assertions passed. (total 11 assertions) PASS > [multiple contexts] +PASS c2 result is identical to the array [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16...]. PASS c1 result is identical to the array [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16...]. -PASS c2 result is identical to the array [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16...]. PASS AudioBuffer shared between two different contexts correctly PASS < [multiple contexts] All assertions passed. (total 3 assertions) PASS # AUDIT TASK RUNNER FINISHED: 7 tasks ran successfully. https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebaudio%2Fthe-audio-api%2Fthe-audiobuffer-interface%2Fctor-audiobuffer.html
<rdar://problem/71909972>
This appears to be happening on release far more frequently than debug builds.
Marked test as flaky in https://trac.webkit.org/changeset/270369/webkit.
I took a look at the test and it is inherently flaky. I will submit a fix upstream since it is in WPT.
Upstream pull request: https://github.com/web-platform-tests/wpt/pull/26730
Created attachment 415456 [details] Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Committed r270459: <https://trac.webkit.org/changeset/270459> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415456 [details].