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-toolbar succeeded May 19, 2023 in 12m 33s

FirefoxCI (pull_request)

External Gradle dependencies toolchain task (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2023-05-19T00:35:34.146Z] 
[task 2023-05-19T00:35:34.146Z]   TEST: displaying different dot notification states
[task 2023-05-19T00:35:34.146Z]   SUCCESS
[task 2023-05-19T00:35:34.146Z] 
[task 2023-05-19T00:35:34.146Z]   TEST: SecurityInfoState change updates toolbar
[task 2023-05-19T00:35:34.146Z]   SUCCESS
[task 2023-05-19T00:35:34.146Z] 
[task 2023-05-19T00:35:34.146Z]   TEST: Toolbar displays empty state without tabs
[task 2023-05-19T00:35:34.146Z]   SUCCESS
[task 2023-05-19T00:35:34.146Z] 
[task 2023-05-19T00:35:34.146Z]   TEST: start with no custom tab id registers on store and renders selected tab
[task 2023-05-19T00:35:34.146Z]   SUCCESS
[task 2023-05-19T00:35:34.146Z] 
[task 2023-05-19T00:35:34.146Z]   TEST: GIVEN search terms should not be shown in display mode WHEN rendering a state with search terms set THEN toolbar url is the tab url
[task 2023-05-19T00:35:34.246Z]   SUCCESS
[task 2023-05-19T00:35:34.246Z] 
[task 2023-05-19T00:35:34.246Z] 
[task 2023-05-19T00:35:34.246Z] SUITE: mozilla.components.feature.toolbar.WebExtensionToolbarFeatureTest
[task 2023-05-19T00:35:34.246Z]   TEST: actions can be overridden per tab
[task 2023-05-19T00:35:35.146Z]   SUCCESS
[task 2023-05-19T00:35:35.146Z] 
[task 2023-05-19T00:35:35.146Z]   TEST: actions can are sorted per extension name
[task 2023-05-19T00:35:35.146Z]   SUCCESS
[task 2023-05-19T00:35:35.146Z] 
[task 2023-05-19T00:35:35.146Z]   TEST: render web extension actions from browser state
[task 2023-05-19T00:35:35.246Z]   SUCCESS
[task 2023-05-19T00:35:35.246Z] 
[task 2023-05-19T00:35:35.246Z]   TEST: does not render actions from disabled extensions
[task 2023-05-19T00:35:35.246Z]   SUCCESS
[task 2023-05-19T00:35:35.246Z] 
[task 2023-05-19T00:35:35.246Z]   TEST: disabled page actions are not rendered
[task 2023-05-19T00:35:35.246Z]   SUCCESS
[task 2023-05-19T00:35:35.246Z] 
[task 2023-05-19T00:35:35.246Z]   TEST: renderWebExtensionActions depends on allowedInPrivateBrowsing and whether the current tab is private
[task 2023-05-19T00:35:35.246Z]   SUCCESS
[task 2023-05-19T00:35:35.246Z] 
[task 2023-05-19T00:35:35.246Z]   TEST: stale actions (from uninstalled or disabled extensions) are removed when feature is restarted
[task 2023-05-19T00:35:35.346Z]   SUCCESS
[task 2023-05-19T00:35:35.346Z] 
[task 2023-05-19T00:35:35.346Z] 
[task 2023-05-19T00:35:35.346Z] SUITE: mozilla.components.feature.toolbar.WebExtensionToolbarTest
[task 2023-05-19T00:35:35.346Z]   TEST: fallbackToDefaultIcon
[task 2023-05-19T00:35:35.346Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:35.346Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:35.346Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:35.346Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:36.046Z]     E [mozac-webextensions] Failed to load browser action icon, falling back to default.
[task 2023-05-19T00:35:36.046Z]     java.lang.IllegalArgumentException
[task 2023-05-19T00:35:36.046Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest$fallbackToDefaultIcon$browserAction$1.invokeSuspend(WebExtensionToolbarTest.kt:89)
[task 2023-05-19T00:35:36.046Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest$fallbackToDefaultIcon$browserAction$1.invoke(WebExtensionToolbarTest.kt)
[task 2023-05-19T00:35:36.046Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest$fallbackToDefaultIcon$browserAction$1.invoke(WebExtensionToolbarTest.kt)
[task 2023-05-19T00:35:36.046Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarAction$bind$1.invokeSuspend(WebExtensionToolbarAction.kt:72)
[task 2023-05-19T00:35:36.046Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:35:36.046Z]     at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:367)
[task 2023-05-19T00:35:36.046Z]     at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
[task 2023-05-19T00:35:36.046Z]     at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25)
[task 2023-05-19T00:35:36.046Z]     at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:110)
[task 2023-05-19T00:35:36.146Z]     at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
[task 2023-05-19T00:35:36.146Z]     at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
[task 2023-05-19T00:35:36.146Z]     at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
[task 2023-05-19T00:35:36.146Z]     at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
[task 2023-05-19T00:35:36.146Z]     at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
[task 2023-05-19T00:35:36.146Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarAction.bind(WebExtensionToolbarAction.kt:70)
[task 2023-05-19T00:35:36.146Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest.fallbackToDefaultIcon(WebExtensionToolbarTest.kt:97)
[task 2023-05-19T00:35:36.146Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2023-05-19T00:35:36.146Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[task 2023-05-19T00:35:36.146Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2023-05-19T00:35:36.146Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[task 2023-05-19T00:35:36.146Z]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
[task 2023-05-19T00:35:36.146Z]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2023-05-19T00:35:36.146Z]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
[task 2023-05-19T00:35:36.146Z]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2023-05-19T00:35:36.146Z]     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
[task 2023-05-19T00:35:36.146Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2023-05-19T00:35:36.146Z]     at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
[task 2023-05-19T00:35:36.146Z]     at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
[task 2023-05-19T00:35:36.146Z]     at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
[task 2023-05-19T00:35:36.146Z]     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[task 2023-05-19T00:35:36.146Z]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[task 2023-05-19T00:35:36.146Z]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[task 2023-05-19T00:35:36.146Z]     at java.base/java.lang.Thread.run(Unknown Source)
[task 2023-05-19T00:35:36.146Z]   SUCCESS
[task 2023-05-19T00:35:36.146Z] 
[task 2023-05-19T00:35:36.146Z]   TEST: bind
[task 2023-05-19T00:35:36.146Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:36.146Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:36.146Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:36.146Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:36.446Z]   SUCCESS
[task 2023-05-19T00:35:36.446Z] 
[task 2023-05-19T00:35:36.446Z]   TEST: cancelLoadIconWhenViewIsDetached
[task 2023-05-19T00:35:36.446Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:36.446Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:36.446Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:36.446Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:36.846Z]     Invalid ID 0x00000000.
[task 2023-05-19T00:35:36.946Z]     E [mozac-webextensions] Failed to load browser action icon, falling back to default.
[task 2023-05-19T00:35:36.946Z]     kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job="coroutine#41":StandaloneCoroutine{Cancelling}@469f9790
[task 2023-05-19T00:35:36.946Z]     at ���(Coroutine boundary.�(�)
[task 2023-05-19T00:35:36.946Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest$cancelLoadIconWhenViewIsDetached$browserAction$1.invokeSuspend(WebExtensionToolbarTest.kt:151)
[task 2023-05-19T00:35:36.946Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarAction$bind$1.invokeSuspend(WebExtensionToolbarAction.kt:72)
[task 2023-05-19T00:35:36.946Z]     Caused by: kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job="coroutine#41":StandaloneCoroutine{Cancelling}@469f9790
[task 2023-05-19T00:35:36.946Z]     at kotlinx.coroutines.JobSupport.cancel(JobSupport.kt:1579)
[task 2023-05-19T00:35:36.946Z]     at kotlinx.coroutines.Job$DefaultImpls.cancel$default(Job.kt:183)
[task 2023-05-19T00:35:36.946Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarAction$createView$3.onViewDetachedFromWindow(WebExtensionToolbarAction.kt:56)
[task 2023-05-19T00:35:36.946Z]     at mozilla.components.feature.toolbar.WebExtensionToolbarTest.cancelLoadIconWhenViewIsDetached(WebExtensionToolbarTest.kt:175)
[task 2023-05-19T00:35:36.946Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2023-05-19T00:35:36.946Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[task 2023-05-19T00:35:36.946Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2023-05-19T00:35:36.946Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[task 2023-05-19T00:35:36.946Z]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
[task 2023-05-19T00:35:36.946Z]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2023-05-19T00:35:36.946Z]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
[task 2023-05-19T00:35:36.946Z]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[task 2023-05-19T00:35:36.946Z]     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
[task 2023-05-19T00:35:36.946Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2023-05-19T00:35:36.946Z]     at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:589)
[task 2023-05-19T00:35:36.946Z]     at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
[task 2023-05-19T00:35:36.946Z]     at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
[task 2023-05-19T00:35:36.946Z]     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[task 2023-05-19T00:35:36.946Z]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[task 2023-05-19T00:35:36.946Z]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[task 2023-05-19T00:35:36.946Z]     at java.base/java.lang.Thread.run(Unknown Source)
[task 2023-05-19T00:35:36.946Z]   SUCCESS
[task 2023-05-19T00:35:36.946Z] 
[task 2023-05-19T00:35:36.946Z]   TEST: createView
[task 2023-05-19T00:35:36.946Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:36.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:36.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:36.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:37.046Z]     Invalid ID 0x00000000.
[task 2023-05-19T00:35:37.046Z]   SUCCESS
[task 2023-05-19T00:35:37.046Z] 
[task 2023-05-19T00:35:37.046Z] 
[task 2023-05-19T00:35:37.046Z] SUITE: mozilla.components.feature.toolbar.internal.URLRendererTest
[task 2023-05-19T00:35:37.046Z]   TEST: Render with configuration
[task 2023-05-19T00:35:37.046Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:37.046Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:37.046Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:37.046Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:37.846Z]   SUCCESS
[task 2023-05-19T00:35:37.846Z] 
[task 2023-05-19T00:35:37.846Z]   TEST: Lifecycle methods start and stop job
[task 2023-05-19T00:35:37.946Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:35:37.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #56
[task 2023-05-19T00:35:37.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #64
[task 2023-05-19T00:35:37.946Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/feature/toolbar/build/intermediates/apk_for_local_test/debugUnitTest/apk-for-local-test.ap_ Binary XML file line #72
[task 2023-05-19T00:35:38.046Z]   SUCCESS
[task 2023-05-19T00:35:38.046Z] 
[task 2023-05-19T00:35:38.246Z] 
[task 2023-05-19T00:35:38.246Z] > Task :feature-toolbar:jacocoDebugTestReport SKIPPED
[task 2023-05-19T00:35:38.246Z] > Task :feature-toolbar:jacocoReleaseTestReport SKIPPED
[task 2023-05-19T00:35:38.246Z] > Task :feature-toolbar:test
[task 2023-05-19T00:35:38.446Z] 
[task 2023-05-19T00:35:38.446Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:35:38.446Z] 
[task 2023-05-19T00:35:38.446Z] 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:35:38.446Z] 
[task 2023-05-19T00:35:38.446Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:35:38.446Z] 
[task 2023-05-19T00:35:38.446Z] BUILD SUCCESSFUL in 1m 53s
[task 2023-05-19T00:35:38.446Z] 906 actionable tasks: 550 executed, 206 from cache, 150 up-to-date
[task 2023-05-19T00:35:38.921Z] 
[task 2023-05-19T00:35:38.921Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:35:38.921Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:35:38.921Z] #!/bin/bash
[task 2023-05-19T00:35:38.921Z] 
[task 2023-05-19T00:35:38.921Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:35:38.921Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:35:38.921Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:35:38.921Z] 
[task 2023-05-19T00:35:38.921Z] # This is inspired by
[task 2023-05-19T00:35:38.921Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:35:38.921Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:35:38.921Z] 
[task 2023-05-19T00:35:38.921Z] set -x -e -v
[task 2023-05-19T00:35:38.921Z] ++ set -x -e -v
[task 2023-05-19T00:35:38.921Z] 
[task 2023-05-19T00:35:38.921Z] echo "running as $(id)"
[task 2023-05-19T00:35:38.921Z] +++ id
[task 2023-05-19T00:35:38.923Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:35:38.923Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:35:38.923Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:35:38.923Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:35:38.923Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:35:38.923Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:35:38.923Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:35:38.923Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:35:38.923Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:35:38.923Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:35:38.923Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:35:38.923Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:35:38.923Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:35:38.923Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:35:38.923Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:35:38.923Z]     pushd "$WORKSPACE"
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z]     mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:35:38.923Z]     for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:35:38.923Z]         cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:35:38.923Z]     done
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z]     tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:35:38.923Z]     popd
[task 2023-05-19T00:35:38.923Z] }
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:35:38.923Z]     # Let's find empty files or unfinished downloads
[task 2023-05-19T00:35:38.923Z]     find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z]     if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:35:38.923Z]         echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:35:38.923Z]         cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:35:38.923Z]         exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:35:38.923Z]     fi
[task 2023-05-19T00:35:38.923Z] }
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] 
[task 2023-05-19T00:35:38.923Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:35:38.923Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:35:38.923Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:35:38.923Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:35:38.923Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:35:38.924Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:35:38.924Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:35:39.111Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:35:39.111Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:35:39.512Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:35:39.512Z] ++ xz
[task 2023-05-19T00:39:47.686Z] ++ popd
[task 2023-05-19T00:39:47.686Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:39:47.686Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:39:47.686Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:39:47.686Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:39:47.726Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:39:47.726Z] 
[task 2023-05-19T00:39:47.726Z] popd
[task 2023-05-19T00:39:47.726Z] + popd
[task 2023-05-19T00:39:47.726Z] ~/checkouts
[fetches 2023-05-19T00:39:47.726Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:39:48.613Z] finished
[taskcluster 2023-05-19 00:39:49.171Z] === Task Finished ===
[taskcluster 2023-05-19 00:39:55.108Z] Successful task run with exit code: 0 completed in 627.515 seconds