Bug 184609

Summary: REGRESSION: Layout Test platform/mac/media/audio-session-category-video-track-change.html is a flaky failure
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, graouts, jer.noble, simon.fraser, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Ryan Haddad
Reported 2018-04-13 16:29:50 PDT
The following layout test is flaky on macOS platform/mac/media/audio-session-category-video-track-change.html Probable cause: Unknown, this test became flaky within the last 7 days. The first failure on the dashboard blames https://trac.webkit.org/changeset/230365/webkit Flakiness Dashboard: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=platform%2Fmac%2Fmedia%2Faudio-session-category-video-track-change.html --- /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/platform/mac/media/audio-session-category-video-track-change-expected.txt +++ /Volumes/Data/slave/highsierra-release-tests-wk1/build/layout-test-results/platform/mac/media/audio-session-category-video-track-change-actual.txt @@ -2,16 +2,16 @@ RUN(internals.settings.setShouldManageAudioSessionCategory(true)) RUN(video.src = findMediaFile("video", "../../../media/content/test")) EVENT(canplay) -EXPECTED (internals.audioSessionCategory() == 'None') OK +EXPECTED (internals.audioSessionCategory() == 'None'), OBSERVED 'AmbientSound' FAIL RUN(video.audioTracks[0].enabled = false) EVENT(change) -EXPECTED (internals.audioSessionCategory() == 'None') OK +EXPECTED (internals.audioSessionCategory() == 'None'), OBSERVED 'AmbientSound' FAIL RUN(video.muted = false) EVENT(volumechange) -EXPECTED (internals.audioSessionCategory() == 'None') OK +EXPECTED (internals.audioSessionCategory() == 'None'), OBSERVED 'AmbientSound' FAIL RUN(video.play()) EVENT(playing) -EXPECTED (internals.audioSessionCategory() == 'None') OK +EXPECTED (internals.audioSessionCategory() == 'None'), OBSERVED 'AmbientSound' FAIL RUN(video.audioTracks[0].enabled = true) EVENT(change) EXPECTED (internals.audioSessionCategory() == 'MediaPlayback') OK
Attachments
Radar WebKit Bug Importer
Comment 1 2018-05-01 14:33:37 PDT
Ryan Haddad
Comment 2 2018-05-09 13:00:38 PDT
Ryan Haddad
Comment 3 2018-06-11 14:56:15 PDT
The test is still flaky, with most failures occurring on High Sierra.
Truitt Savell
Comment 4 2018-08-10 09:44:52 PDT
This test has changed from being a constant failure to having flakey Crashes. The test started passing at https://trac.webkit.org/changeset/234463/webkit. Investigating Crashes
Jer Noble
Comment 5 2018-08-10 15:21:14 PDT
Crash points to this assert in FrameView.cpp:602: if (!RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) ASSERT(!frame().animation().hasAnimations()); Doesn't seem related to the audio session category change; it may have some strange interaction with modern media controls (as maybe they rely on web animation).
Note You need to log in before you can comment on or make changes to this bug.