New issue
Advanced search Search tips

Issue 597111 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

SitePerProcessBrowserTest.PagePopupMenuTest flaky on Linux_Chromeos_Test bot

Project Member Reported by jen...@chromium.org, Mar 22 2016

Issue description

The recently added browser test SitePerProcessBrowserTest.PagePopupMenuTest is flaky on Linux_Chromeos_Test bot. It has failed twice on:
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/18072
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/18083

On the same line:
../../content/browser/site_per_process_browsertest.cc:5224: Failure
Value of: 354
Expected: popup_rect.x() - rwhv_root->GetViewBounds().x()
Which is: 204

The test case is added by kenrb@ in the following cl:
https://codereview.chromium.org/1814863002

kenrb@, would you please take a look to see why the pop up menu is not shown up at the same location sometimes?

 

Comment 1 by jen...@chromium.org, Mar 22 2016

Labels: -Pri-3 Pri-2
Labels: -Pri-2 Pri-1
Status: Assigned (was: Untriaged)
Flaky tests are bad. We should fix or disable this. Thanks!

Comment 3 by kenrb@chromium.org, Mar 23 2016

I think I have figured this out. Fix will land today.
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/634475dac7690a19874d410536beeb6272d6ce8f

commit 634475dac7690a19874d410536beeb6272d6ce8f
Author: kenrb <kenrb@chromium.org>
Date: Wed Mar 23 19:25:12 2016

Fix flakiness in PopupMenu tests

SitePerProcessBrowserTest.PopupMenuTest has some observed flakiness,
apparently due to raciness in element repositioning from the change of
layout size caused by calling RenderWidgetHostView::SetBounds.

The call isn't necessary for the test, so this CL removes it.

BUG= 597111 

Review URL: https://codereview.chromium.org/1823283003

Cr-Commit-Position: refs/heads/master@{#382897}

[modify] https://crrev.com/634475dac7690a19874d410536beeb6272d6ce8f/content/browser/site_per_process_browsertest.cc

Comment 5 by kenrb@chromium.org, Mar 23 2016

Status: Fixed (was: Assigned)
Labels: VerifyIn-54

Comment 7 by ka...@chromium.org, Aug 31 2016

Labels: Bulk-Verified
Status: Verified (was: Fixed)

Sign in to add a comment