Open Bug 1799451 Opened 3 years ago Updated 3 years ago

Intermittent mozilla.components.feature.downloads.share.ShareDownloadFeatureTest - download() will persist in cache the response#body() if available

Categories

(Firefox for Android :: Downloads, defect, P5)

All
Android
defect

Tracking

()

Tracking Status
firefox108 --- affected

People

(Reporter: aryx, Unassigned)

Details

Log: https://treeherder.mozilla.org/logviewer?job_id=395654666&repo=firefox-android

[task 2022-11-05T13:15:12.426Z]   TEST: download() will persist in cache the response#body() if available
[task 2022-11-05T13:15:12.426Z]     D [ShareDownloadMiddleware] Deleting previous cache of shared files
[task 2022-11-05T13:15:12.526Z]   FAILURE
[task 2022-11-05T13:15:12.526Z] 
[task 2022-11-05T13:15:12.526Z] java.lang.AssertionError
[task 2022-11-05T13:15:12.526Z] 	at org.junit.Assert.fail(Assert.java:86)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.Assert.assertTrue(Assert.java:41)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.Assert.assertTrue(Assert.java:52)
[task 2022-11-05T13:15:12.526Z] 	at mozilla.components.feature.downloads.share.ShareDownloadFeatureTest.download() will persist in cache the response#body() if available(ShareDownloadFeatureTest.kt:192)
[task 2022-11-05T13:15:12.526Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2022-11-05T13:15:12.526Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[task 2022-11-05T13:15:12.526Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2022-11-05T13:15:12.526Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2022-11-05T13:15:12.526Z] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[task 2022-11-05T13:15:12.527Z] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
[task 2022-11-05T13:15:12.527Z] 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
[task 2022-11-05T13:15:12.527Z] 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
[task 2022-11-05T13:15:12.527Z] 	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
[task 2022-11-05T13:15:12.527Z] 	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
[task 2022-11-05T13:15:12.527Z] 	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
[task 2022-11-05T13:15:12.527Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[task 2022-11-05T13:15:12.527Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[task 2022-11-05T13:15:12.527Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[task 2022-11-05T13:15:12.527Z] 	at java.base/java.lang.Thread.run(Thread.java:829)
Severity: -- → S3
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.