Skip to content

Disable flaky AutoPictureInPictureTabHelperBrowserTest.PromptResultRecorded_VideoConferencingAllowOnce#34338

Merged
bbondy merged 2 commits intobrave:masterfrom
netzenbot:fix-auto-pip-prompt-result-test
Feb 28, 2026
Merged

Disable flaky AutoPictureInPictureTabHelperBrowserTest.PromptResultRecorded_VideoConferencingAllowOnce#34338
bbondy merged 2 commits intobrave:masterfrom
netzenbot:fix-auto-pip-prompt-result-test

Conversation

@netzenbot
Copy link
Collaborator

Summary

Disables flaky Chromium test AutoPictureInPictureTabHelperBrowserTest.PromptResultRecorded_VideoConferencingAllowOnce in browser_tests.filter.

Note: This is a Chromium test (located in ./src/chrome/browser/picture_in_picture/, not ./src/brave/).

Root Cause

ASAN crash at AutoPipSettingView::OnButtonPressed (access-violation at near-null address 0x468). The crash is caused by a race condition between PostTask-deferred ShowBubble() call and the test immediately accessing get_view_for_testing() before the posted task runs. Under ASAN (slower execution on Windows), the PostTask hasn't completed when the test accesses the view, resulting in a nullptr dereference.

  • Chromium upstream status: Known upstream flake with 10.9% flake rate across 111,249 verdicts in LUCI Analysis
  • Brave modifications: No Brave modifications in this code area (no chromium_src overrides for PiP code)

Fix

Added the test to test/filters/browser_tests.filter to disable it, since this is a purely upstream Chromium issue with a high flake rate and no Brave code involvement.

Test Plan

  • Ran npm run format - passed
  • Ran npm run presubmit - passed
  • CI passes cleanly

Resolves brave/brave-browser#53186

…corded_VideoConferencingAllowOnce

This Chromium test has a 10.9% upstream flake rate (111,249 verdicts in
LUCI Analysis). The crash is in upstream code (AutoPipSettingView::
OnButtonPressed) due to a race condition between PostTask-deferred
ShowBubble() and the test accessing the view before the posted task
runs. No Brave modifications exist for this code path.

Resolves brave/brave-browser#53186
@netzenbot netzenbot self-assigned this Feb 28, 2026
@bbondy bbondy marked this pull request as ready for review February 28, 2026 20:56
@bbondy bbondy merged commit e32e93e into brave:master Feb 28, 2026
4 of 6 checks passed
@brave-builds
Copy link
Collaborator

Released in v1.89.89

bbondy added a commit that referenced this pull request Mar 2, 2026
…corded_VideoConferencingAllowOnce (#34338)

This Chromium test has a 10.9% upstream flake rate (111,249 verdicts in
LUCI Analysis). The crash is in upstream code (AutoPipSettingView::
OnButtonPressed) due to a race condition between PostTask-deferred
ShowBubble() and the test accessing the view before the posted task
runs. No Brave modifications exist for this code path.

Resolves brave/brave-browser#53186

Co-authored-by: Brian R. Bondy <netzen@gmail.com>
bbondy added a commit that referenced this pull request Mar 2, 2026
…corded_VideoConferencingAllowOnce (#34338)

This Chromium test has a 10.9% upstream flake rate (111,249 verdicts in
LUCI Analysis). The crash is in upstream code (AutoPipSettingView::
OnButtonPressed) due to a race condition between PostTask-deferred
ShowBubble() and the test accessing the view before the posted task
runs. No Brave modifications exist for this code path.

Resolves brave/brave-browser#53186

Co-authored-by: Brian R. Bondy <netzen@gmail.com>
bbondy added a commit that referenced this pull request Mar 2, 2026
…corded_VideoConferencingAllowOnce (#34338)

This Chromium test has a 10.9% upstream flake rate (111,249 verdicts in
LUCI Analysis). The crash is in upstream code (AutoPipSettingView::
OnButtonPressed) due to a race condition between PostTask-deferred
ShowBubble() and the test accessing the view before the posted task
runs. No Brave modifications exist for this code path.

Resolves brave/brave-browser#53186

Co-authored-by: Brian R. Bondy <netzen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: AutoPictureInPictureTabHelperBrowserTest.PromptResultRecorded_VideoConferencingAllowOnce

3 participants