New issue
Advanced search Search tips

Issue 831229 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 822753
Owner:
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

"org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingDontProceedNavigatesBackForMainFrame" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Apr 10 2018

Issue description

"org.chromium.android_webview.test.SafeBrowsingTest#testSafeBrowsingDontProceedNavigatesBackForMainFrame" 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=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNycgsSBUZsYWtlImdvcmcuY2hyb21pdW0uYW5kcm9pZF93ZWJ2aWV3LnRlc3QuU2FmZUJyb3dzaW5nVGVzdCN0ZXN0U2FmZUJyb3dzaW5nRG9udFByb2NlZWROYXZpZ2F0ZXNCYWNrRm9yTWFpbkZyYW1lDA.

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

This flaky test/step was previously tracked in  issue 824887 .
 

Comment 1 by boliu@chromium.org, Apr 10 2018

Components: Mobile>WebView
Labels: OS-Android
Owner: ntfschr@chromium.org
Status: Assigned (was: Untriaged)
Mergedinto: 822753
Status: Duplicate (was: Assigned)
Stack trace looks consistently like:

java.lang.AssertionError: Criteria not met in allotted time.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.chromium.content.browser.test.util.CriteriaHelper.pollInstrumentationThread(CriteriaHelper.java:93)
	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:172)
	at org.chromium.content.browser.test.util.CriteriaHelper.pollUiThread(CriteriaHelper.java:194)
	at org.chromium.android_webview.test.SafeBrowsingTest.waitForInterstitialToChangeTitle(SafeBrowsingTest.java:408)
	at org.chromium.android_webview.test.SafeBrowsingTest.testSafeBrowsingDontProceedNavigatesBackForMainFrame(SafeBrowsingTest.java:644)
	at java.lang.reflect.Method.invoke(Native Method)

The issue lies in waitForInterstitialToChangeTitle(), so I think this has the same root cause as  issue 822753 .

Sign in to add a comment