New issue
Advanced search Search tips

Issue 789931 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

"org.chromium.chrome.browser.download.DownloadManagerServiceTest#testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Nov 30 2017

Issue description

"org.chromium.chrome.browser.download.DownloadManagerServiceTest#testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork" 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=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyjAELEgVGbGFrZSKAAW9yZy5jaHJvbWl1bS5jaHJvbWUuYnJvd3Nlci5kb3dubG9hZC5Eb3dubG9hZE1hbmFnZXJTZXJ2aWNlVGVzdCN0ZXN0SW50ZXJydXB0ZWRVbm1ldGVyZWREb3dubG9hZENhbm5vdEF1dG9SZXN1bWVPbk1ldGVyZWROZXR3b3JrDA.

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
 
Labels: -Sheriff-Chromium
Owner: yolandyan@chromium.org
Status: Assigned (was: Untriaged)
Another case: https://ci.chromium.org/buildbot/tryserver.chromium.android/linux_android_rel_ng/444058

java.lang.AssertionError: Unexpected call:, no call expected, but got: DOWNLOAD_INTERRUPTED
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest$MockDownloadNotifier.assertCorrectExpectedCall(DownloadManagerServiceTest.java:110)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest$MockDownloadNotifier.notifyDownloadInterrupted(DownloadManagerServiceTest.java:149)
	at org.chromium.chrome.browser.download.DownloadManagerService.updateNotification(DownloadManagerService.java:453)
	at org.chromium.chrome.browser.download.DownloadManagerService.updateDownloadProgress(DownloadManagerService.java:647)
	at org.chromium.chrome.browser.download.DownloadManagerService.onDownloadInterrupted(DownloadManagerService.java:330)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest.testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork(DownloadManagerServiceTest.java:515)
	at java.lang.reflect.Method.invokeNative(Method.java)
	at java.lang.reflect.Method.invoke(Method.java:515)
....
Labels: OS-Android
Project Member

Comment 4 by chromium...@appspot.gserviceaccount.com, Dec 4 2017

Labels: Sheriff-Chromium
Detected 3 new flakes for test/step "org.chromium.chrome.browser.download.DownloadManagerServiceTest#testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyjAELEgVGbGFrZSKAAW9yZy5jaHJvbWl1bS5jaHJvbWUuYnJvd3Nlci5kb3dubG9hZC5Eb3dubG9hZE1hbmFnZXJTZXJ2aWNlVGVzdCN0ZXN0SW50ZXJydXB0ZWRVbm1ldGVyZWREb3dubG9hZENhbm5vdEF1dG9SZXN1bWVPbk1ldGVyZWROZXR3b3JrDA. This message was posted automatically by the chromium-try-flakes app. Since flakiness is ongoing, the issue was moved back into Sheriff Bug Queue (unless already there).

Comment 5 by donnd@google.com, Dec 5 2017

Cc: qin...@chromium.org
Sheriff comments: This test is a bit flaky on KitKat: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=chrome_public_test_apk&tests=testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork

This test run:
https://uberchromegw.corp.google.com/i/chromium.android/builders/KitKat%20Tablet%20Tester/builds/10022

Showed this failure:
java.lang.AssertionError: Unexpected call:, no call expected, but got: DOWNLOAD_INTERRUPTED
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest$MockDownloadNotifier.assertCorrectExpectedCall(DownloadManagerServiceTest.java:110)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest$MockDownloadNotifier.notifyDownloadInterrupted(DownloadManagerServiceTest.java:149)
	at org.chromium.chrome.browser.download.DownloadManagerService.updateNotification(DownloadManagerService.java:453)
	at org.chromium.chrome.browser.download.DownloadManagerService.updateDownloadProgress(DownloadManagerService.java:647)
	at org.chromium.chrome.browser.download.DownloadManagerService.onDownloadInterrupted(DownloadManagerService.java:330)
	at org.chromium.chrome.browser.download.DownloadManagerServiceTest.testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork(DownloadManagerServiceTest.java:515)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.chromium.base.test.ScreenshotOnFailureStatement.evaluate(ScreenshotOnFailureStatement.java:37)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.chromium.chrome.browser.test.ChromeBrowserTestRule$1.evaluate(ChromeBrowserTestRule.java:40)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.chromium.base.test.BaseJUnit4ClassRunner.runChild(BaseJUnit4ClassRunner.java:184)
	at org.chromium.base.test.BaseJUnit4ClassRunner.runChild(BaseJUnit4ClassRunner.java:41)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.chromium.base.test.BaseJUnit4ClassRunner.run(BaseJUnit4ClassRunner.java:166)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
	at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
	at org.chromium.base.test.BaseChromiumAndroidJUnitRunner.onStart(BaseChromiumAndroidJUnitRunner.java:99)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)

Labels: -Sheriff-Chromium
yolandyan: This bug seems to cover flakiness across several tests.  The queue is excessively flaky right now and we're asking people to prioritize fixing flakes to get things back under control.  Please try to either fix this or find a more appropriate owner.  Thanks!

Removing from sheriff queue for now.
Owner: jming@chromium.org
reassigning to jming@ as I am OOO until 1/10
Project Member

Comment 8 by chromium...@appspot.gserviceaccount.com, Dec 6 2017

Labels: Sheriff-Chromium
Detected 7 new flakes for test/step "org.chromium.chrome.browser.download.DownloadManagerServiceTest#testInterruptedUnmeteredDownloadCannotAutoResumeOnMeteredNetwork". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyjAELEgVGbGFrZSKAAW9yZy5jaHJvbWl1bS5jaHJvbWUuYnJvd3Nlci5kb3dubG9hZC5Eb3dubG9hZE1hbmFnZXJTZXJ2aWNlVGVzdCN0ZXN0SW50ZXJydXB0ZWRVbm1ldGVyZWREb3dubG9hZENhbm5vdEF1dG9SZXN1bWVPbk1ldGVyZWROZXR3b3JrDA. This message was posted automatically by the chromium-try-flakes app. Since flakiness is ongoing, the issue was moved back into Sheriff Bug Queue (unless already there).
Labels: -Sheriff-Chromium
Patch is in flight to disable this test.

Comment 11 by jming@chromium.org, Apr 25 2018

Owner: ----
Status: Untriaged (was: Assigned)

Comment 12 by jming@chromium.org, Apr 25 2018

Components: UI>Browser>Downloads
Owner: qin...@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment