BrowserActionInteractiveTest.BrowserClickClosesPopup1 is flaky on Mac |
|||
Issue descriptionChrome Version : r474253 After r474253 tried to bring up BrowserActionInteractiveTest on Mac, failures manifested for this test only, and only on 10.9 and 10.10 bots. Flakily. One failure on 10.9: https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.mac%2FMac10.9_Tests%2F41678%2F%2B%2Frecipes%2Fsteps%2Finteractive_ui_tests%2F0%2Flogs%2FBrowserActionInteractiveTest.BrowserClickClosesPopup1%2F0 Three on 10.10 before reverting https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.mac%2FMac10.10_Tests%2F18398%2F%2B%2Frecipes%2Fsteps%2Finteractive_ui_tests%2F0%2Fstdout https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.mac%2FMac10.10_Tests%2F18400%2F%2B%2Frecipes%2Fsteps%2Finteractive_ui_tests%2F0%2Fstdout https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.mac%2FMac10.10_Tests%2F18401%2F%2B%2Frecipes%2Fsteps%2Finteractive_ui_tests%2F0%2Fstdout One run where it didn't fail on 10.10, not even once https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.mac%2FMac10.10_Tests%2F18399%2F%2B%2Frecipes%2Fsteps%2Finteractive_ui_tests%2F0%2Fstdout failures are all the same [ RUN ] BrowserActionInteractiveTest.BrowserClickClosesPopup1 [61010:5123:0524/063903.711830:WARNING:notification_platform_bridge_mac.mm(516)] AlertNotificationService: XPC connection invalidated. ../../chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc:108: Failure Value of: BrowserActionTestUtil(browser()).HasPopup() Actual: true Expected: false [ FAILED ] BrowserActionInteractiveTest.BrowserClickClosesPopup1, where TypeParam = and GetParam() = (1605 ms) This is ui_test_utils::ClickOnView(browser(), VIEW_ID_OMNIBOX); // The window disappears immediately. EXPECT_FALSE(BrowserActionTestUtil(browser()).HasPopup()); No other checks fail. I suspect that the way Cocoa bubbles work we can't guarantee the window disappearing happens immediately -- the test needs to wait for an activation message from the WindowServer process. ClickOnView() spins runloops which is why this sometimes works.
,
Jun 1 2017
Didn't flake in any of https://luci-milo.appspot.com/buildbot/chromium.mac/Mac10.9%20Tests/42150 https://luci-milo.appspot.com/buildbot/chromium.mac/Mac10.10%20Tests/18811 https://luci-milo.appspot.com/buildbot/chromium.mac/Mac10.11%20Tests/13267 still waiting on https://luci-milo.appspot.com/buildbot/chromium.mac/Mac10.12%20Tests/1190
,
Jun 1 2017
No flakes in 10~14 runs on each of those. |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jun 1 2017