Intermittent mozilla.components.feature.downloads.AbstractFetchDownloadServiceTest.broadcastReceiver handles ACTION_RESUME | java.lang.AssertionError: expected:<DOWNLOADING> but was:<FAILED>
Categories
(Firefox for Android :: Downloads, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned, NeedInfo)
References
Details
(Keywords: intermittent-failure, Whiteboard: [fxdroid][group4])
Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=473430368&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/D-7v0-lmTnW47YH4joJltw/runs/0/artifacts/public/logs/live_backing.log
[task 2024-09-08T19:57:42.974Z] TEST: WHEN scoped storage is used do not pass non-http(s) url to addCompletedDownload
[task 2024-09-08T19:57:42.974Z] I/AssetManager: no overlays.list file found
[task 2024-09-08T19:57:42.974Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #30
[task 2024-09-08T19:57:42.974Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #86
[task 2024-09-08T19:57:42.974Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #94
[task 2024-09-08T19:57:42.974Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #102
[task 2024-09-08T19:57:43.074Z] SUCCESS
[task 2024-09-08T19:57:43.074Z]
[task 2024-09-08T19:57:43.074Z] TEST: broadcastReceiver handles ACTION_RESUME
[task 2024-09-08T19:57:43.074Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #30
[task 2024-09-08T19:57:43.074Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #86
[task 2024-09-08T19:57:43.074Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #94
[task 2024-09-08T19:57:43.074Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #102
[task 2024-09-08T19:57:43.174Z] D [AbstractFetchDownloadService] Starting download for 85798f0d-6e81-42bc-8e1d-64afba92deb4
[task 2024-09-08T19:57:43.174Z] D [AbstractFetchDownloadService] Fetching download for 85798f0d-6e81-42bc-8e1d-64afba92deb4
[task 2024-09-08T19:57:43.174Z] D [AbstractFetchDownloadService] verifyDownload for 85798f0d-6e81-42bc-8e1d-64afba92deb4 COMPLETED
[task 2024-09-08T19:57:43.174Z] D [AbstractFetchDownloadService] Starting download for 85798f0d-6e81-42bc-8e1d-64afba92deb4
[task 2024-09-08T19:57:43.174Z] D [AbstractFetchDownloadService] Fetching download for 85798f0d-6e81-42bc-8e1d-64afba92deb4
[task 2024-09-08T19:57:43.174Z] E [AbstractFetchDownloadService] Unable to complete download for 85798f0d-6e81-42bc-8e1d-64afba92deb4 marked as FAILED
[task 2024-09-08T19:57:43.174Z] java.lang.NullPointerException: Cannot invoke "android.content.Context.getPackageName()" because "this.mBase" is null
[task 2024-09-08T19:57:43.174Z] at android.content.ContextWrapper.getPackageName(ContextWrapper.java:177)
[task 2024-09-08T19:57:43.174Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService$Companion.getFilePathUri$feature_downloads_release(AbstractFetchDownloadService.kt:1121)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService$Companion.getSafeContentType$feature_downloads_release(AbstractFetchDownloadService.kt:1114)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService.useFileStreamScopedStorage$feature_downloads_release(AbstractFetchDownloadService.kt:963)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService.useFileStream$feature_downloads_release(AbstractFetchDownloadService.kt:888)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService$performDownload$1.invoke(AbstractFetchDownloadService.kt:760)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService$performDownload$1.invoke(AbstractFetchDownloadService.kt:755)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.concept.fetch.Response$Body.useStream(Response.kt:79)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService.performDownload$feature_downloads_release(AbstractFetchDownloadService.kt:755)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService.performDownload$feature_downloads_release$default(AbstractFetchDownloadService.kt:715)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService.startDownloadJob$feature_downloads_release(AbstractFetchDownloadService.kt:464)
[task 2024-09-08T19:57:43.175Z] at mozilla.components.feature.downloads.AbstractFetchDownloadService$broadcastReceiver$2$1$onReceive$1.invokeSuspend(AbstractFetchDownloadService.kt:182)
[task 2024-09-08T19:57:43.175Z] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
[task 2024-09-08T19:57:43.175Z] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
[task 2024-09-08T19:57:43.175Z] D [AbstractFetchDownloadService] ACTION_RESUME for 85798f0d-6e81-42bc-8e1d-64afba92deb4
[task 2024-09-08T19:57:43.274Z] TEST-UNEXPECTED-FAIL | mozilla.components.feature.downloads.AbstractFetchDownloadServiceTest.broadcastReceiver handles ACTION_RESUME | java.lang.AssertionError: expected:<DOWNLOADING> but was:<FAILED>
[task 2024-09-08T19:57:43.274Z]
[task 2024-09-08T19:57:43.274Z] TEST: verifyDownload does NOT set the download to failed if it is cancelled
[task 2024-09-08T19:57:43.274Z] W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #30
[task 2024-09-08T19:57:43.274Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #86
[task 2024-09-08T19:57:43.274Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #94
[task 2024-09-08T19:57:43.274Z] W/PackageParser: No actions in intent filter at /builds/worker/checkouts/gecko/mobile/android/android-components/components/feature/downloads/build/intermediates/apk_for_local_test/releaseUnitTest/packageReleaseUnitTestForUnitTest/apk-for-local-test.ap_ Binary XML file line #102
[task 2024-09-08T19:57:43.274Z] SUCCESS
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::Downloads' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Comment hidden (Intermittent Failures Robot) |
Comment 3•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 4•1 year ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=478122159&repo=autoland
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 8•11 months ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Reporter | ||
Comment 18•3 months ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=519126315&repo=try
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 22•2 months ago
|
||
Nick, can you take a look at this when you've got a chance? Thanks :-)
| Comment hidden (Intermittent Failures Robot) |
Redirecting NI to the triage owner for visibility. I don't think I'll have the time to work on this before I leave
Updated•2 months ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•