Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1805070 - Update detekt to v1.22.0 in A-C #292

Merged
merged 6 commits into from
May 19, 2023

Merge branch 'main' into 1805070-update-detekt-in-ac

ea3fd8f
Select commit
Failed to load commit list.
Merged

Bug 1805070 - Update detekt to v1.22.0 in A-C #292

Merge branch 'main' into 1805070-update-detekt-in-ac
ea3fd8f
Select commit
Failed to load commit list.
firefoxci-taskcluster / external-gradle-dependencies-feature-top-sites succeeded May 19, 2023 in 8m 28s

FirefoxCI (pull_request)

External Gradle dependencies toolchain task (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2023-05-19T00:54:19.676Z]   SUCCESS
[task 2023-05-19T00:54:19.676Z] 
[task 2023-05-19T00:54:19.676Z]   TEST: default top sites are added to pinned site storage on init
[task 2023-05-19T00:54:19.676Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.676Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.676Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.676Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.676Z]   SUCCESS
[task 2023-05-19T00:54:19.676Z] 
[task 2023-05-19T00:54:19.676Z]   TEST: removeTopSite
[task 2023-05-19T00:54:19.676Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.776Z]   SUCCESS
[task 2023-05-19T00:54:19.776Z] 
[task 2023-05-19T00:54:19.776Z]   TEST: GIVEN frecencyConfig and providerConfig are specified WHEN getTopSites is called THEN default, pinned, provided and frecent top sites are returned
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.776Z]   SUCCESS
[task 2023-05-19T00:54:19.776Z] 
[task 2023-05-19T00:54:19.776Z]   TEST: GIVEN frecent top sites host exist as a provided site WHEN top sites are retrieved THEN filters out frecent sites with host that already exist in provided sites
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.776Z]   SUCCESS
[task 2023-05-19T00:54:19.776Z] 
[task 2023-05-19T00:54:19.776Z]   TEST: GIVEN frecencyFilter is set WHEN getTopSites is called THEN the frecent top sites are filtered
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.776Z]   SUCCESS
[task 2023-05-19T00:54:19.776Z] 
[task 2023-05-19T00:54:19.776Z]   TEST: getTopSites returns pinned and frecent sites when frecencyConfig is specified
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.876Z]   SUCCESS
[task 2023-05-19T00:54:19.876Z] 
[task 2023-05-19T00:54:19.876Z]   TEST: updateTopSite
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.876Z]   SUCCESS
[task 2023-05-19T00:54:19.876Z] 
[task 2023-05-19T00:54:19.876Z]   TEST: getTopSites filters out frecent sites that already exist in pinned sites
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:19.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:19.876Z]   SUCCESS
[task 2023-05-19T00:54:19.876Z] 
[task 2023-05-19T00:54:19.876Z] 
[task 2023-05-19T00:54:19.876Z] SUITE: mozilla.components.feature.top.sites.PinnedSitesStorageTest
[task 2023-05-19T00:54:19.876Z]   TEST: addAllDefaultSites
[task 2023-05-19T00:54:19.976Z] OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
[task 2023-05-19T00:54:21.176Z]   SUCCESS
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z]   TEST: addPinnedSite
[task 2023-05-19T00:54:21.176Z]   SUCCESS
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z]   TEST: removePinnedSite
[task 2023-05-19T00:54:21.176Z]   SUCCESS
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z]   TEST: getPinnedSites
[task 2023-05-19T00:54:21.176Z]   SUCCESS
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z]   TEST: updatePinnedSite
[task 2023-05-19T00:54:21.176Z]   SUCCESS
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z] 
[task 2023-05-19T00:54:21.176Z] SUITE: mozilla.components.feature.top.sites.TopSitesFeatureTest
[task 2023-05-19T00:54:21.276Z]   TEST: stop
[task 2023-05-19T00:54:21.676Z]   SUCCESS
[task 2023-05-19T00:54:21.676Z] 
[task 2023-05-19T00:54:21.676Z]   TEST: start
[task 2023-05-19T00:54:21.676Z]   SUCCESS
[task 2023-05-19T00:54:21.676Z] 
[task 2023-05-19T00:54:21.676Z] 
[task 2023-05-19T00:54:21.676Z] SUITE: mozilla.components.feature.top.sites.TopSitesUseCasesTest
[task 2023-05-19T00:54:21.676Z]   TEST: UpdateTopSiteUseCase
[task 2023-05-19T00:54:21.776Z]   SUCCESS
[task 2023-05-19T00:54:21.776Z] 
[task 2023-05-19T00:54:21.776Z]   TEST: RemoveTopSiteUseCase
[task 2023-05-19T00:54:21.776Z]   SUCCESS
[task 2023-05-19T00:54:21.776Z] 
[task 2023-05-19T00:54:21.776Z]   TEST: AddPinnedSiteUseCase
[task 2023-05-19T00:54:21.776Z]   SUCCESS
[task 2023-05-19T00:54:21.776Z] 
[task 2023-05-19T00:54:21.776Z] 
[task 2023-05-19T00:54:21.776Z] SUITE: mozilla.components.feature.top.sites.ext.TopSiteTest
[task 2023-05-19T00:54:21.776Z]   TEST: hasHostMultipleItems
[task 2023-05-19T00:54:21.776Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:21.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:21.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:21.776Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:21.776Z]   SUCCESS
[task 2023-05-19T00:54:21.776Z] 
[task 2023-05-19T00:54:21.776Z]   TEST: hasUrl
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:21.876Z]   SUCCESS
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z]   TEST: hasHostNoItem
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:21.876Z]   SUCCESS
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z]   TEST: hasHostOneItem
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #48
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:54:21.876Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/top-sites/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:54:21.876Z]   SUCCESS
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z] SUITE: mozilla.components.feature.top.sites.fact.TopSitesFactsTest
[task 2023-05-19T00:54:21.876Z]   TEST: Emits facts for current state
[task 2023-05-19T00:54:21.876Z]   SUCCESS
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z] 
[task 2023-05-19T00:54:21.876Z] SUITE: mozilla.components.feature.top.sites.presenter.DefaultTopSitesPresenterTest
[task 2023-05-19T00:54:21.876Z]   TEST: stop
[task 2023-05-19T00:54:22.076Z]   SUCCESS
[task 2023-05-19T00:54:22.076Z] 
[task 2023-05-19T00:54:22.076Z]   TEST: start
[task 2023-05-19T00:54:22.076Z]   SUCCESS
[task 2023-05-19T00:54:22.076Z] 
[task 2023-05-19T00:54:22.176Z] Exception in thread "DefaultDispatcher-worker-1 @coroutine#15" java.lang.NullPointerException
[task 2023-05-19T00:54:22.176Z] 	at mozilla.components.feature.top.sites.presenter.DefaultTopSitesPresenter$onStorageUpdated$1.invokeSuspend(DefaultTopSitesPresenter.kt:48)
[task 2023-05-19T00:54:22.176Z] 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
[task 2023-05-19T00:54:22.176Z] 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
[task 2023-05-19T00:54:22.176Z] 	Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [CoroutineId(15), "coroutine#15":StandaloneCoroutine{Cancelling}@1d6b9be2, Dispatchers.IO]
[task 2023-05-19T00:54:22.276Z] 
[task 2023-05-19T00:54:22.276Z] > Task :feature-top-sites:jacocoDebugTestReport SKIPPED
[task 2023-05-19T00:54:22.276Z] > Task :feature-top-sites:jacocoReleaseTestReport SKIPPED
[task 2023-05-19T00:54:22.276Z] > Task :feature-top-sites:test
[task 2023-05-19T00:54:22.376Z] 
[task 2023-05-19T00:54:22.376Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:54:22.376Z] 
[task 2023-05-19T00:54:22.376Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2023-05-19T00:54:22.376Z] 
[task 2023-05-19T00:54:22.376Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:54:22.376Z] 
[task 2023-05-19T00:54:22.376Z] BUILD SUCCESSFUL in 1m 21s
[task 2023-05-19T00:54:22.376Z] 800 actionable tasks: 433 executed, 159 from cache, 208 up-to-date
[task 2023-05-19T00:54:22.865Z] 
[task 2023-05-19T00:54:22.865Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:54:22.865Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:54:22.865Z] #!/bin/bash
[task 2023-05-19T00:54:22.865Z] 
[task 2023-05-19T00:54:22.865Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:54:22.865Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:54:22.865Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:54:22.865Z] 
[task 2023-05-19T00:54:22.865Z] # This is inspired by
[task 2023-05-19T00:54:22.865Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:54:22.865Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:54:22.865Z] 
[task 2023-05-19T00:54:22.865Z] set -x -e -v
[task 2023-05-19T00:54:22.865Z] ++ set -x -e -v
[task 2023-05-19T00:54:22.865Z] 
[task 2023-05-19T00:54:22.865Z] echo "running as $(id)"
[task 2023-05-19T00:54:22.865Z] +++ id
[task 2023-05-19T00:54:22.866Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:54:22.866Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:54:22.866Z] 
[task 2023-05-19T00:54:22.866Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:54:22.866Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:54:22.866Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:54:22.866Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:54:22.866Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:54:22.866Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:54:22.866Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:54:22.866Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:54:22.866Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:54:22.866Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:54:22.866Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:54:22.866Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:54:22.867Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:54:22.867Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:54:22.867Z]     pushd "$WORKSPACE"
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z]     mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:54:22.867Z]     for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:54:22.867Z]         cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:54:22.867Z]     done
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z]     tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:54:22.867Z]     popd
[task 2023-05-19T00:54:22.867Z] }
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:54:22.867Z]     # Let's find empty files or unfinished downloads
[task 2023-05-19T00:54:22.867Z]     find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z]     if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:54:22.867Z]         echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:54:22.867Z]         cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:54:22.867Z]         exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:54:22.867Z]     fi
[task 2023-05-19T00:54:22.867Z] }
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] 
[task 2023-05-19T00:54:22.867Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:54:22.867Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:54:22.867Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:54:22.867Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:54:22.867Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:54:22.868Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:54:22.868Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:54:22.992Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:54:22.992Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:54:23.326Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:54:23.326Z] ++ xz
[task 2023-05-19T00:58:07.258Z] ++ popd
[task 2023-05-19T00:58:07.258Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:58:07.258Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:58:07.258Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:58:07.258Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:58:07.285Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:58:07.285Z] 
[task 2023-05-19T00:58:07.285Z] popd
[task 2023-05-19T00:58:07.285Z] + popd
[task 2023-05-19T00:58:07.285Z] ~/checkouts
[fetches 2023-05-19T00:58:07.285Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:58:07.991Z] finished
[taskcluster 2023-05-19 00:58:08.408Z] === Task Finished ===
[taskcluster 2023-05-19 00:58:22.158Z] Successful task run with exit code: 0 completed in 506.54 seconds