Bug 250784 - [macOS] media/audio-session-category.html is a flaky failure
Summary: [macOS] media/audio-session-category.html is a flaky failure
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-18 12:40 PST by Ryan Haddad
Modified: 2023-01-20 11:11 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2023-01-18 12:40:44 PST
media/audio-session-category.html is a flaky failure on macOS bots

--- /Volumes/Data/worker/Apple-Ventura-Release-WK2-Tests/build/layout-test-results/media/audio-session-category-expected.txt
+++ /Volumes/Data/worker/Apple-Ventura-Release-WK2-Tests/build/layout-test-results/media/audio-session-category-actual.txt
@@ -19,14 +19,14 @@
 ** Check category when an unmuted element is playing.
 RUN(video.muted = false)
 EVENT(volumechange)
-EXPECTED (internals.audioSessionCategory() == 'MediaPlayback') OK
-EXPECTED (internals.routeSharingPolicy() == 'LongFormAudio') OK
+EXPECTED (internals.audioSessionCategory() == 'MediaPlayback'), OBSERVED 'None' FAIL
+EXPECTED (internals.routeSharingPolicy() == 'LongFormAudio'), OBSERVED 'Default' FAIL
 
 ** Mute the element, check again after 500ms.
 RUN(video.pause())
 RUN(video.muted = true)
-EXPECTED (internals.audioSessionCategory() == 'MediaPlayback') OK
-EXPECTED (internals.routeSharingPolicy() == 'LongFormAudio') OK
+EXPECTED (internals.audioSessionCategory() == 'MediaPlayback'), OBSERVED 'None' FAIL
+EXPECTED (internals.routeSharingPolicy() == 'LongFormAudio'), OBSERVED 'Default' FAIL
 
 ** And check again after 3 seconds.
 EXPECTED (internals.audioSessionCategory() == 'None') OK

https://results.webkit.org/?suite=layout-tests&test=media%2Faudio-session-category.html
Comment 1 Radar WebKit Bug Importer 2023-01-18 12:44:35 PST
<rdar://problem/104392470>
Comment 2 Ryan Haddad 2023-01-18 12:46:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/8787
Comment 3 EWS 2023-01-18 12:55:25 PST
Test gardening commit 259048@main (f7bcfafd9f97): <https://commits.webkit.org/259048@main>

Reviewed commits have been landed. Closing PR #8787 and removing active labels.
Comment 4 youenn fablet 2023-01-20 06:12:52 PST
This does not appear to be a regression from mid 20222.
It fails in 'Monterey E wk2 Release on Macmini8,1 with x86_64' since with the beginning. Ditto for 'Big Sur E wk2 Release on Macmini8,1 with x86_64'.
Comment 5 youenn fablet 2023-01-20 06:17:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/8876
Comment 6 EWS 2023-01-20 11:11:12 PST
Committed 259151@main (8eeac5b47596): <https://commits.webkit.org/259151@main>

Reviewed commits have been landed. Closing PR #8876 and removing active labels.