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-support-webextensions succeeded May 19, 2023 in 10m 42s

FirefoxCI (pull_request)

External Gradle dependencies toolchain task (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
[task 2023-05-19T00:33:49.330Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:49.330Z]     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[task 2023-05-19T00:33:49.330Z]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[task 2023-05-19T00:33:49.330Z]     at java.base/java.lang.Thread.run(Thread.java:829)
[task 2023-05-19T00:33:49.330Z]     Suppressed: java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.missing(MainDispatchers.kt:118)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.isDispatchNeeded(MainDispatchers.kt:96)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher.isDispatchNeeded(TestMainDispatcher.kt:31)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:158)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.CancellableContinuationImpl.completeResume(CancellableContinuationImpl.kt:513)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.channels.AbstractChannel$ReceiveElement.completeResumeReceive(AbstractChannel.kt:908)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.channels.ArrayChannel.offerInternal(ArrayChannel.kt:83)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.channels.AbstractSendChannel.send(AbstractChannel.kt:134)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.channels.ChannelCoroutine.send(ChannelCoroutine.kt)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1$1.invokeSuspend(StoreExtensions.kt:178)
[task 2023-05-19T00:33:49.330Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1.invoke(StoreExtensions.kt:176)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.ext.StoreExtensionsKt$flow$1$subscription$1.invoke(StoreExtensions.kt:175)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.Store$Subscription.dispatch$lib_state_debug(Store.kt:157)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.Store.transitionTo$lib_state_debug(Store.kt:110)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$chain$1.invoke(ReducerChainBuilder.kt:52)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$chain$1.invoke(ReducerChainBuilder.kt:50)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$threadCheck$1.invoke(ReducerChainBuilder.kt:57)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$threadCheck$1.invoke(ReducerChainBuilder.kt:55)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$1$1.invoke(ReducerChainBuilder.kt:62)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.internal.ReducerChainBuilder$build$1$1.invoke(ReducerChainBuilder.kt:62)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.lib.state.Store$dispatch$1.invokeSuspend(Store.kt:96)
[task 2023-05-19T00:33:49.330Z]     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[task 2023-05-19T00:33:49.330Z]     ... 4 more
[task 2023-05-19T00:33:49.330Z]     Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See https://developer.android.com/r/studio-ui/build/not-mocked for details.
[task 2023-05-19T00:33:49.330Z]     at android.os.Looper.getMainLooper(Looper.java)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.android.AndroidDispatcherFactory.createDispatcher(HandlerDispatcher.kt:55)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MainDispatchersKt.tryCreateDispatcher(MainDispatchers.kt:57)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.internal.TestMainDispatcherFactory.createDispatcher(TestMainDispatcherJvm.kt:15)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MainDispatchersKt.tryCreateDispatcher(MainDispatchers.kt:57)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MainDispatcherLoader.loadMainDispatcher(MainDispatchers.kt:38)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.internal.MainDispatcherLoader.<clinit>(MainDispatchers.kt:22)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.Dispatchers.getMain(Dispatchers.kt:57)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher$Companion.getCurrentTestDispatcher$kotlinx_coroutines_test(TestMainDispatcher.kt:51)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.internal.TestMainDispatcher$Companion.getCurrentTestScheduler$kotlinx_coroutines_test(TestMainDispatcher.kt:54)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.TestCoroutineDispatchersKt.UnconfinedTestDispatcher(TestCoroutineDispatchers.kt:87)
[task 2023-05-19T00:33:49.330Z]     at kotlinx.coroutines.test.TestCoroutineDispatchersKt.UnconfinedTestDispatcher$default(TestCoroutineDispatchers.kt:83)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.support.test.rule.MainCoroutineRule.<init>(MainCoroutineRule.kt:38)
[task 2023-05-19T00:33:49.330Z]     at mozilla.components.support.webextensions.WebExtensionPopupFeatureTest.<init>(WebExtensionPopupFeatureTest.kt:24)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[task 2023-05-19T00:33:49.330Z]     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:250)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:260)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner$2.runReflectiveCall(BlockJUnit4ClassRunner.java:309)
[task 2023-05-19T00:33:49.330Z]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:306)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2023-05-19T00:33:49.330Z]     at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:57)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[task 2023-05-19T00:33:49.330Z]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[task 2023-05-19T00:33:49.330Z]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[task 2023-05-19T00:33:49.330Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
[task 2023-05-19T00:33:49.331Z]     at com.sun.proxy.$Proxy5.processTestClass(Unknown Source)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
[task 2023-05-19T00:33:49.331Z]     at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
[task 2023-05-19T00:33:49.331Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
[task 2023-05-19T00:33:49.331Z]     at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
[task 2023-05-19T00:33:49.331Z]     Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [mozilla.components.lib.state.Store$special$$inlined$CoroutineExceptionHandler$1@3b6508c8, CoroutineId(120), "coroutine#120":StandaloneCoroutine{Cancelling}@6798c5c, java.util.concurrent.Executors$FinalizableDelegatedExecutorService@4b7a1da4]
[task 2023-05-19T00:33:49.331Z]     Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See https://developer.android.com/r/studio-ui/build/not-mocked for details.
[task 2023-05-19T00:33:49.331Z]     at android.os.Looper.getMainLooper(Looper.java)
[task 2023-05-19T00:33:49.331Z]     at mozilla.components.lib.state.Store$special$$inlined$CoroutineExceptionHandler$1.handleException(CoroutineExceptionHandler.kt:111)
[task 2023-05-19T00:33:49.331Z]     at kotlinx.coroutines.CoroutineExceptionHandlerKt.handleCoroutineException(CoroutineExceptionHandler.kt:25)
[task 2023-05-19T00:33:49.331Z]     ... 11 more
[task 2023-05-19T00:33:49.331Z]   SUCCESS
[task 2023-05-19T00:33:49.331Z] 
[task 2023-05-19T00:33:49.331Z]   TEST: reacts to browser action being defined by dispatching to the store
[task 2023-05-19T00:33:49.331Z]   SUCCESS
[task 2023-05-19T00:33:49.331Z] 
[task 2023-05-19T00:33:49.331Z]   TEST: invokes onExtensionsLoaded callback
[task 2023-05-19T00:33:49.331Z]   SUCCESS
[task 2023-05-19T00:33:49.331Z] 
[task 2023-05-19T00:33:49.331Z]   TEST: reacts to action popup being toggled by selecting tab as needed
[task 2023-05-19T00:33:49.331Z]   SUCCESS
[task 2023-05-19T00:33:49.331Z] 
[task 2023-05-19T00:33:49.331Z]   TEST: invokes onUpdatePermissionRequest callback
[task 2023-05-19T00:33:49.528Z]   SUCCESS
[task 2023-05-19T00:33:49.528Z] 
[task 2023-05-19T00:33:49.528Z]   TEST: reacts to page action being defined by dispatching to the store
[task 2023-05-19T00:33:49.528Z]   SUCCESS
[task 2023-05-19T00:33:49.528Z] 
[task 2023-05-19T00:33:49.528Z]   TEST: closes tabs from unsupported extensions
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: reacts to extension list being updated in the engine
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: reacts to extension being enabled
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: marks extensions as updated
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: reacts to extension being disabled
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: sets web extension delegate on engine
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: allows overriding onNewTab behaviour
[task 2023-05-19T00:33:49.628Z]   SUCCESS
[task 2023-05-19T00:33:49.628Z] 
[task 2023-05-19T00:33:49.628Z]   TEST: queries engine for installed extensions and adds state to the store
[task 2023-05-19T00:33:49.728Z]   SUCCESS
[task 2023-05-19T00:33:49.728Z] 
[task 2023-05-19T00:33:49.728Z]   TEST: reacts to install permission request
[task 2023-05-19T00:33:49.728Z]   SUCCESS
[task 2023-05-19T00:33:49.728Z] 
[task 2023-05-19T00:33:49.928Z] 
[task 2023-05-19T00:33:49.928Z] > Task :support-webextensions:jacocoDebugTestReport SKIPPED
[task 2023-05-19T00:33:49.928Z] > Task :support-webextensions:jacocoReleaseTestReport SKIPPED
[task 2023-05-19T00:33:49.928Z] > Task :support-webextensions:test
[task 2023-05-19T00:33:52.428Z] > Task :support-webextensions:lintReportRelease
[task 2023-05-19T00:33:52.428Z] > Task :support-webextensions:lintRelease
[task 2023-05-19T00:33:52.528Z] 
[task 2023-05-19T00:33:52.528Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:33:52.528Z] 
[task 2023-05-19T00:33:52.528Z] 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:33:52.528Z] 
[task 2023-05-19T00:33:52.528Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:33:52.528Z] 
[task 2023-05-19T00:33:52.528Z] BUILD SUCCESSFUL in 1m 5s
[task 2023-05-19T00:33:52.528Z] 808 actionable tasks: 481 executed, 177 from cache, 150 up-to-date
[task 2023-05-19T00:33:52.994Z] 
[task 2023-05-19T00:33:52.994Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:33:52.994Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:33:52.994Z] #!/bin/bash
[task 2023-05-19T00:33:52.994Z] 
[task 2023-05-19T00:33:52.994Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:33:52.994Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:33:52.994Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:33:52.994Z] 
[task 2023-05-19T00:33:52.994Z] # This is inspired by
[task 2023-05-19T00:33:52.994Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:33:52.994Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:33:52.994Z] 
[task 2023-05-19T00:33:52.994Z] set -x -e -v
[task 2023-05-19T00:33:52.994Z] ++ set -x -e -v
[task 2023-05-19T00:33:52.994Z] 
[task 2023-05-19T00:33:52.994Z] echo "running as $(id)"
[task 2023-05-19T00:33:52.994Z] +++ id
[task 2023-05-19T00:33:52.996Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:33:52.996Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:33:52.996Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:33:52.996Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:33:52.996Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:33:52.996Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:33:52.996Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:33:52.996Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:33:52.996Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:33:52.996Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:33:52.996Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:33:52.996Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:33:52.996Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:33:52.996Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:33:52.996Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:33:52.996Z]     pushd "$WORKSPACE"
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z]     mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:33:52.996Z]     for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:33:52.996Z]         cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:33:52.996Z]     done
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z]     tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:33:52.996Z]     popd
[task 2023-05-19T00:33:52.996Z] }
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:33:52.996Z]     # Let's find empty files or unfinished downloads
[task 2023-05-19T00:33:52.996Z]     find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z]     if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:33:52.996Z]         echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:33:52.996Z]         cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:33:52.996Z]         exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:33:52.996Z]     fi
[task 2023-05-19T00:33:52.996Z] }
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] 
[task 2023-05-19T00:33:52.996Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:33:52.996Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:33:52.996Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:33:52.996Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:33:52.996Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:33:52.997Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:33:52.997Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:33:53.132Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:33:53.132Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:33:53.429Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:33:53.429Z] ++ xz
[task 2023-05-19T00:37:39.482Z] ++ popd
[task 2023-05-19T00:37:39.482Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:37:39.482Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:37:39.482Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:37:39.482Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:37:39.507Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:37:39.507Z] 
[task 2023-05-19T00:37:39.507Z] popd
[task 2023-05-19T00:37:39.507Z] + popd
[task 2023-05-19T00:37:39.507Z] ~/checkouts
[fetches 2023-05-19T00:37:39.507Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:37:40.204Z] finished
[taskcluster 2023-05-19 00:37:40.645Z] === Task Finished ===
[taskcluster 2023-05-19 00:37:54.137Z] Successful task run with exit code: 0 completed in 538.151 seconds