New issue
Advanced search Search tips

Issue 663677 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Team-Security-UX



Sign in to add a comment

"org.chromium.chrome.browser.permissions.GeolocationTest#testGeolocationPersistenceOffAllowedDialog" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Nov 9 2016

Issue description

"org.chromium.chrome.browser.permissions.GeolocationTest#testGeolocationPersistenceOffAllowedDialog" 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=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNybQsSBUZsYWtlImJvcmcuY2hyb21pdW0uY2hyb21lLmJyb3dzZXIucGVybWlzc2lvbnMuR2VvbG9jYXRpb25UZXN0I3Rlc3RHZW9sb2NhdGlvblBlcnNpc3RlbmNlT2ZmQWxsb3dlZERpYWxvZww.

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
 

Comment 1 by vabr@chromium.org, Nov 9 2016

Components: UI>Browser>Permissions
Labels: -Sheriff-Chromium OS-Android
https://codereview.chromium.org/2483073005/ will disable this test

Comment 2 by vabr@chromium.org, Nov 9 2016

Also attaching a sample output in case it disappears from the trybots.
Log File contents.html
6.5 KB View Download
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 9 2016

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

commit a3e6a489c9f48752727323003dff1704e8f94211
Author: vabr <vabr@chromium.org>
Date: Wed Nov 09 14:26:35 2016

Disable flaky GeolocationTest#testGeolocationPersistenceOffAllowedDialogo

TBR=dominickn@chromium.org,tedchoc@chromium.org
BUG= 663677 

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

[modify] https://crrev.com/a3e6a489c9f48752727323003dff1704e8f94211/chrome/android/javatests/src/org/chromium/chrome/browser/permissions/GeolocationTest.java

Comment 4 by raymes@chromium.org, Nov 29 2016

Components: -UI>Browser>Permissions UI>Browser>Permissions>Prompts
Owner: dominickn@chromium.org
Status: Assigned (was: Untriaged)
Hey Dom - could you ptal at this test failure? Thanks!
Status: Started (was: Assigned)
Already working on it - crrev.com/2538603002
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 29 2016

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

commit c6f2275d2d7d1db5d194f46b4d08e37ebb2769b5
Author: dominickn <dominickn@chromium.org>
Date: Tue Nov 29 20:41:53 2016

Deflake permission dialog + persistence toggle tests on Android.

These tests would flake through timing out while waiting for a switch to
be toggled. The toggle was triggered through a synthetic touch event
sent to the switch view. Observing the flake would reveal that the
switch stayed in its original position after the touch event was sent,
so the hypothesis is that the touch event was sent prior to the view
being ready to respond to it.

This CL deflakes the tests by replacing the touch event for triggering
the toggle with an explicit toggle() call on the SwitchCompat object.
This no longer simulates the user input, but the tests should now
reliably pass.

This CL also corrects the arguments used for
MediaTest#testCombinedPersistenceOffDialog to match those of
MediaTest#testMicrophonePersistenceOffDialog.

BUG= 662294 , 663677 , 668700 

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

[modify] https://crrev.com/c6f2275d2d7d1db5d194f46b4d08e37ebb2769b5/chrome/android/javatests/src/org/chromium/chrome/browser/permissions/GeolocationTest.java
[modify] https://crrev.com/c6f2275d2d7d1db5d194f46b4d08e37ebb2769b5/chrome/android/javatests/src/org/chromium/chrome/browser/permissions/MediaTest.java
[modify] https://crrev.com/c6f2275d2d7d1db5d194f46b4d08e37ebb2769b5/chrome/android/javatests/src/org/chromium/chrome/browser/permissions/PermissionTestCaseBase.java

Sign in to add a comment