Closed Bug 1834973 Opened 2 years ago Closed 2 years ago

mozilla.components.feature.downloads.temporary.CopyDownloadFeatureTest - CopyFeature starts the copy process for AddCopyAction which is immediately consumed

Categories

(Fenix :: Downloads, defect)

All
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1794861

People

(Reporter: aryx, Unassigned)

Details

(Keywords: intermittent-failure)

Log: https://firefoxci.taskcluster-artifacts.net/IUPb4rSGRCSC4h-zgOifLg/0/public/logs/live_backing.log

  TEST: CopyFeature starts the copy process for AddCopyAction which is immediately consumed
    W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #24
    W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #60
    W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #68
    W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #76
    D [TemporaryDownloadFeature] Deleting previous cache of shared files
    D [TemporaryDownloadFeature] Starting the copying process
  FAILURE

java.lang.IllegalStateException: Dispatchers.Main is used concurrently with setting it
	at kotlinx.coroutines.test.internal.TestMainDispatcher$NonConcurrentlyModifiable.concurrentRW(TestMainDispatcher.kt:70)
	at kotlinx.coroutines.test.internal.TestMainDispatcher$NonConcurrentlyModifiable.setValue(TestMainDispatcher.kt:86)
	at kotlinx.coroutines.test.internal.TestMainDispatcher.resetDispatcher(TestMainDispatcher.kt:40)
	at kotlinx.coroutines.test.TestDispatchers.resetMain(TestDispatchers.kt:37)
	at mozilla.components.support.test.rule.MainCoroutineRule.finished(MainCoroutineRule.kt:53)
	at org.junit.rules.TestWatcher.finishedQuietly(TestWatcher.java:122)
	at org.junit.rules.TestWatcher.access$400(TestWatcher.java:52)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:70)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
	at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
	at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1794861
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.