Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 1 user
Status: Fixed
Owner:
Closed: May 8
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment
"SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation" is flaky
Project Member Reported by chromium...@appspot.gserviceaccount.com, Apr 21 Back to list
"SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNySgsSBUZsYWtlIj9TaXRlUGVyUHJvY2Vzc0ludGVyYWN0aXZlQnJvd3NlclRlc3QuVGFiQW5kTW91c2VGb2N1c05hdmlnYXRpb24M.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 
Owner: aval...@chromium.org
Status: Assigned
avallee@: Could you please investigate the cause of the flakiness?

(Apparently,you might have insight into details, provided that you landed a CL to prevent flakiness in exactly this test: https://codereview.chromium.org/2833503002)
Project Member Comment 2 by bugdroid1@chromium.org, Apr 21
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1668be8ea0b0189b21966b96424ddf3308b57c7f

commit 1668be8ea0b0189b21966b96424ddf3308b57c7f
Author: avallee <avallee@chromium.org>
Date: Fri Apr 21 16:33:49 2017

Disable OOPIF test TabAndMouseFocusNavigation on windows.

BUG= 702330 ,  713977 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2828283004
Cr-Commit-Position: refs/heads/master@{#466361}

[modify] https://crrev.com/1668be8ea0b0189b21966b96424ddf3308b57c7f/chrome/browser/site_per_process_interactive_browsertest.cc

Labels: -Pri-1 Pri-2
Disabled the test for windows while I figure out the flakiness.
Detected 3 new flakes for test/step "SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNySgsSBUZsYWtlIj9TaXRlUGVyUHJvY2Vzc0ludGVyYWN0aXZlQnJvd3NlclRlc3QuVGFiQW5kTW91c2VGb2N1c05hdmlnYXRpb24M. This message was posted automatically by the chromium-try-flakes app.
Project Member Comment 5 by bugdroid1@chromium.org, Apr 25
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6d3c612de88b0e825e6ecee338916cee1efcc1c5

commit 6d3c612de88b0e825e6ecee338916cee1efcc1c5
Author: avallee <avallee@chromium.org>
Date: Tue Apr 25 00:59:54 2017

OOPIF: Instrument TabAndMouseNavigation for WIN Flakiness.

Adding temporary logging to the test to figure out why the test is
flaky. This commit will likely be reverted once it shows up as flaky.

BUG= 713977 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2837213002
Cr-Commit-Position: refs/heads/master@{#466846}

[modify] https://crrev.com/6d3c612de88b0e825e6ecee338916cee1efcc1c5/chrome/browser/site_per_process_interactive_browsertest.cc

This cl produces this output on the bot.


[ RUN      ] SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation
[3856:5968:0425/081952.483:INFO:media_foundation_video_encode_accelerator_win.cc(329)] Windows versions earlier than 8 are not supported.
[2364:2788:0425/081953.162:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[2364:2788:0425/081953.190:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[2364:1968:0425/081953.324:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /favicon.ico
[2364:2788:0425/081953.337:INFO:CONSOLE(1)] "http://a.com:60598", source:  (1)
[2364:2788:0425/081953.356:INFO:CONSOLE(1)] "http://b.com:60598", source:  (1)
[2364:2788:0425/081953.379:INFO:CONSOLE(1)] "http://c.com:60598", source:  (1)
[2364:2788:0425/081953.399:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.414:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[2364:2788:0425/081953.414:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.421:INFO:CONSOLE(1)] "Click event root at: 497, 19 screen: 512, 110", source:  (1)
[2364:2788:0425/081953.422:INFO:CONSOLE(1)] "child1-focused-input1", source:  (1)
[2364:2788:0425/081953.424:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2364:2788:0425/081953.427:INFO:CONSOLE(1)] "Click event child1 at: 53, 17 screen: 451, 172", source:  (1)
[2364:2788:0425/081953.436:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[2364:2788:0425/081953.437:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.442:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[2364:2788:0425/081953.443:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.448:INFO:CONSOLE(1)] "Click event root at: 497, 189 screen: 512, 280", source:  (1)
[2364:2788:0425/081953.450:INFO:CONSOLE(1)] "child2-focused-input2", source:  (1)
[2364:2788:0425/081953.451:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2364:2788:0425/081953.455:INFO:CONSOLE(1)] "Click event child2 at: 53, 69 screen: 569, 224", source:  (1)
[2364:2788:0425/081953.460:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[2364:2788:0425/081953.460:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.466:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[2364:2788:0425/081953.467:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.470:INFO:CONSOLE(1)] "Click event child2 at: 53, 17 screen: 569, 172", source:  (1)
[2364:2788:0425/081953.472:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[2364:2788:0425/081953.474:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2364:2788:0425/081953.478:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[2364:2788:0425/081953.485:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[2364:2788:0425/081953.486:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2364:2788:0425/081953.507:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[2364:2788:0425/081953.507:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[ RUN      ] SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation
[3820:2748:0425/082423.429:INFO:media_foundation_video_encode_accelerator_win.cc(329)] Windows versions earlier than 8 are not supported.
[6104:3856:0425/082424.104:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[6104:3856:0425/082424.110:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[6104:4604:0425/082424.243:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /favicon.ico
[6104:3856:0425/082424.258:INFO:CONSOLE(1)] "http://a.com:60985", source:  (1)
[6104:3856:0425/082424.278:INFO:CONSOLE(1)] "http://b.com:60985", source:  (1)
[6104:3856:0425/082424.301:INFO:CONSOLE(1)] "http://c.com:60985", source:  (1)
[6104:3856:0425/082424.320:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.326:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[6104:3856:0425/082424.326:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.335:INFO:CONSOLE(1)] "Click event root at: 497, 19 screen: 512, 110", source:  (1)
[6104:3856:0425/082424.339:INFO:CONSOLE(1)] "child1-focused-input1", source:  (1)
[6104:3856:0425/082424.341:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[6104:3856:0425/082424.347:INFO:CONSOLE(1)] "Click event child1 at: 53, 17 screen: 451, 172", source:  (1)
[6104:3856:0425/082424.353:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[6104:3856:0425/082424.354:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.360:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[6104:3856:0425/082424.360:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.365:INFO:CONSOLE(1)] "Click event root at: 497, 189 screen: 512, 280", source:  (1)
[6104:3856:0425/082424.367:INFO:CONSOLE(1)] "child2-focused-input2", source:  (1)
[6104:3856:0425/082424.368:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[6104:3856:0425/082424.372:INFO:CONSOLE(1)] "Click event child2 at: 53, 69 screen: 569, 224", source:  (1)
[6104:3856:0425/082424.379:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[6104:3856:0425/082424.379:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.385:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[6104:3856:0425/082424.386:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.389:INFO:CONSOLE(1)] "Click event child2 at: 53, 17 screen: 569, 172", source:  (1)
[6104:3856:0425/082424.394:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[6104:3856:0425/082424.395:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[6104:3856:0425/082424.398:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[6104:3856:0425/082424.405:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[6104:3856:0425/082424.406:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[6104:3856:0425/082424.430:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[6104:3856:0425/082424.433:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[ RUN      ] SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation
[4416:6056:0425/082453.502:INFO:media_foundation_video_encode_accelerator_win.cc(329)] Windows versions earlier than 8 are not supported.
[2520:5532:0425/082454.189:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[2520:5532:0425/082454.206:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[2520:3992:0425/082454.336:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /favicon.ico
[2520:5532:0425/082454.350:INFO:CONSOLE(1)] "http://a.com:61001", source:  (1)
[2520:5532:0425/082454.371:INFO:CONSOLE(1)] "http://b.com:61001", source:  (1)
[2520:5532:0425/082454.393:INFO:CONSOLE(1)] "http://c.com:61001", source:  (1)
[2520:5532:0425/082454.413:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.421:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[2520:5532:0425/082454.423:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.437:INFO:CONSOLE(1)] "Click event root at: 497, 19 screen: 512, 110", source:  (1)
[2520:5532:0425/082454.439:INFO:CONSOLE(1)] "child1-focused-input1", source:  (1)
[2520:5532:0425/082454.441:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2520:5532:0425/082454.443:INFO:CONSOLE(1)] "Click event child1 at: 53, 17 screen: 451, 172", source:  (1)
[2520:5532:0425/082454.451:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[2520:5532:0425/082454.451:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.458:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[2520:5532:0425/082454.459:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.463:INFO:CONSOLE(1)] "Click event root at: 497, 189 screen: 512, 280", source:  (1)
[2520:5532:0425/082454.468:INFO:CONSOLE(1)] "child2-focused-input2", source:  (1)
[2520:5532:0425/082454.469:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2520:5532:0425/082454.472:INFO:CONSOLE(1)] "Click event child2 at: 53, 69 screen: 569, 224", source:  (1)
[2520:5532:0425/082454.479:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[2520:5532:0425/082454.480:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.486:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[2520:5532:0425/082454.486:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.490:INFO:CONSOLE(1)] "Click event child2 at: 53, 17 screen: 569, 172", source:  (1)
[2520:5532:0425/082454.492:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[2520:5532:0425/082454.494:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[2520:5532:0425/082454.498:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[2520:5532:0425/082454.507:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[2520:5532:0425/082454.508:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[2520:5532:0425/082454.529:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[2520:5532:0425/082454.532:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[ RUN      ] SitePerProcessInteractiveBrowserTest.TabAndMouseFocusNavigation
[136:5268:0425/082523.595:INFO:media_foundation_video_encode_accelerator_win.cc(329)] Windows versions earlier than 8 are not supported.
[1760:4948:0425/082524.280:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[1760:4948:0425/082524.296:WARNING:render_frame_host_impl.cc(2345)] OnDidStopLoading was called twice.
[1760:4848:0425/082524.425:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /favicon.ico
[1760:4948:0425/082524.438:INFO:CONSOLE(1)] "http://a.com:61017", source:  (1)
[1760:4948:0425/082524.458:INFO:CONSOLE(1)] "http://b.com:61017", source:  (1)
[1760:4948:0425/082524.481:INFO:CONSOLE(1)] "http://c.com:61017", source:  (1)
[1760:4948:0425/082524.501:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.506:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[1760:4948:0425/082524.507:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.513:INFO:CONSOLE(1)] "Click event root at: 497, 19 screen: 512, 110", source:  (1)
[1760:4948:0425/082524.517:INFO:CONSOLE(1)] "child1-focused-input1", source:  (1)
[1760:4948:0425/082524.518:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[1760:4948:0425/082524.523:INFO:CONSOLE(1)] "Click event child1 at: 53, 17 screen: 451, 172", source:  (1)
[1760:4948:0425/082524.528:INFO:CONSOLE(1)] "root-focused-input1", source:  (1)
[1760:4948:0425/082524.529:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.535:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[1760:4948:0425/082524.536:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.540:INFO:CONSOLE(1)] "Click event root at: 497, 189 screen: 512, 280", source:  (1)
[1760:4948:0425/082524.546:INFO:CONSOLE(1)] "child2-focused-input2", source:  (1)
[1760:4948:0425/082524.547:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[1760:4948:0425/082524.549:INFO:CONSOLE(1)] "Click event child2 at: 53, 69 screen: 569, 224", source:  (1)
[1760:4948:0425/082524.554:INFO:CONSOLE(1)] "root-focused-input2", source:  (1)
[1760:4948:0425/082524.555:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.561:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[1760:4948:0425/082524.562:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.565:INFO:CONSOLE(1)] "Click event child2 at: 53, 17 screen: 569, 172", source:  (1)
[1760:4948:0425/082524.569:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[1760:4948:0425/082524.571:INFO:site_per_process_interactive_browsertest.cc(450)] Press tab
[1760:4948:0425/082524.573:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[1760:4948:0425/082524.579:INFO:CONSOLE(1)] "child2-focused-input1", source:  (1)
[1760:4948:0425/082524.580:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.613:INFO:CONSOLE(1)] "child1-focused-input2", source:  (1)
[1760:4948:0425/082524.613:INFO:site_per_process_interactive_browsertest.cc(465)] Click element
[1760:4948:0425/082524.616:INFO:CONSOLE(1)] "Click event child1 at: 53, 69 screen: 451, 224", source:  (1)
[1760:4948:0425/082524.629:INFO:CONSOLE(1)] "Click event child2 at: 53, 17 screen: 569, 172", source:  (1)
Labels: -Sheriff-Chromium
Project Member Comment 8 by bugdroid1@chromium.org, Apr 27
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c23fcf744de8b51e5936649cfe985cfa9c058398

commit c23fcf744de8b51e5936649cfe985cfa9c058398
Author: avallee <avallee@chromium.org>
Date: Thu Apr 27 04:31:01 2017

OOPIF: Clear focused frame before advancing to remote frame.

There's a race where we could receive a new click event before receving
notification of a remote frame becoming focused as a result of advancing
(using the tab key for example) to that frame.

If we already think we're focused we would never reply back to the
browser to refocus this frame.

BUG= 713977 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2844563002
Cr-Commit-Position: refs/heads/master@{#467580}

[modify] https://crrev.com/c23fcf744de8b51e5936649cfe985cfa9c058398/third_party/WebKit/Source/core/page/FocusController.cpp

Status: Fixed
Test has never hung more than once per try run. Flakiness should be low enough not to care.

Remaining flakiness is likely due to a race between the test clicking an element in a frame that has just lost focus before that frame's renderer has processed the focus loss, therefore not refocusing on click.
Sign in to add a comment