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-browser-state succeeded May 19, 2023 in 19m 4s

FirefoxCI (pull_request)

External Gradle dependencies toolchain task (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: privateTabs and normalTabs extension properties
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] SUITE: mozilla.components.browser.state.state.SearchStateTest
[task 2023-05-19T00:42:23.756Z]   TEST: selectedOrDefaultSearchEngine - fallback - use first region engine
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: selectedOrDefaultSearchEngine - selects engine by user selected search engine name
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: searchEngines - combines lists
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: selectedOrDefaultSearchEngine - is null by default
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: selectedOrDefaultSearchEngine - selects engine by user selected search engine id
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: selectedOrDefaultSearchEngine - uses region default if user has made no choice
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: availableSearchEngines - combines lists
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] SUITE: mozilla.components.browser.state.state.TabPartitionTest
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a tab partition with non-empty tab group THEN get group by name will return the group
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a tab partition with non-empty tab group THEN get group by ID will return the group
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a tab partition with no tab group THEN tab partition is empty
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a tab partition with non-empty tab group THEN tab partition is not empty
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a null tab partition THEN tab partition is empty
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: GIVEN a tab partition with empty tab groups THEN tab partition is empty
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] SUITE: mozilla.components.browser.state.state.content.PermissionHighlightsStateTest
[task 2023-05-19T00:42:23.756Z]   TEST: WHEN a site has blocked both autoplay audible and inaudible THEN isAutoplayBlocking is true
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: WHEN some permissions has changed from default value THEN permissionsChanged is true
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: WHEN all permissions has not changed from default value THEN permissionsChanged is false
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: WHEN a site has blocked either autoplay audible or inaudible autoplay THEN isAutoplayBlocking is true
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z] SUITE: mozilla.components.browser.state.store.BrowserStoreExceptionTest
[task 2023-05-19T00:42:23.756Z]   TEST: RestoreTabAction - Exception is thrown if tab already exists
[task 2023-05-19T00:42:23.756Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.756Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.756Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.756Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.756Z]   SUCCESS
[task 2023-05-19T00:42:23.756Z] 
[task 2023-05-19T00:42:23.756Z]   TEST: AddTabAction - Exception is thrown if parent doesn't exist
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddTabGroupAction - Asserts that tabs exist
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddTabGroupAction - Exception is thrown when group already exists
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddMultipleTabsAction - Exception is thrown if parent id is set
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddMultipleTabsAction - Exception is thrown in tab with id already exists
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddTabAction - Asserts that tab exists when adding to group
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddTabsAction - Asserts that tabs exist when adding to group
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.854Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.854Z]   SUCCESS
[task 2023-05-19T00:42:23.854Z] 
[task 2023-05-19T00:42:23.854Z]   TEST: AddTabAction - Exception is thrown if tab already exists
[task 2023-05-19T00:42:23.954Z]     W/PackageParser: Unknown element under <manifest>: queries at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #14
[task 2023-05-19T00:42:23.954Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #55
[task 2023-05-19T00:42:23.954Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #63
[task 2023-05-19T00:42:23.954Z]     W/PackageParser: No actions in intent filter at /builds/worker/checkouts/vcs/android-components/components/browser/state/build/intermediates/apk_for_local_test/releaseUnitTest/apk-for-local-test.ap_ Binary XML file line #71
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z] SUITE: mozilla.components.browser.state.store.BrowserStoreTest
[task 2023-05-19T00:42:23.954Z]   TEST: Adding a tab
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z]   TEST: Initial state is empty by default
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z]   TEST: Dispatches init action when created
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z]   TEST: Initial state is validated and rejected if it contains duplicate tabs
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z]   TEST: Initial state is validated and rejected if selected tab does not exist
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:23.954Z]   TEST: RestoreCompleteAction updates state
[task 2023-05-19T00:42:23.954Z]   SUCCESS
[task 2023-05-19T00:42:23.954Z] 
[task 2023-05-19T00:42:24.154Z] 
[task 2023-05-19T00:42:24.154Z] > Task :browser-state:jacocoDebugTestReport SKIPPED
[task 2023-05-19T00:42:24.154Z] > Task :browser-state:jacocoReleaseTestReport SKIPPED
[task 2023-05-19T00:42:24.154Z] > Task :browser-state:test
[task 2023-05-19T00:42:24.354Z] > Task :browser-state:lintReportRelease
[task 2023-05-19T00:42:24.354Z] > Task :browser-state:lintRelease
[task 2023-05-19T00:42:24.454Z] 
[task 2023-05-19T00:42:24.454Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:42:24.454Z] 
[task 2023-05-19T00:42:24.454Z] 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:42:24.454Z] 
[task 2023-05-19T00:42:24.454Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:42:24.454Z] 
[task 2023-05-19T00:42:24.454Z] BUILD SUCCESSFUL in 1m 34s
[task 2023-05-19T00:42:24.454Z] 761 actionable tasks: 448 executed, 163 from cache, 150 up-to-date
[task 2023-05-19T00:42:24.902Z] 
[task 2023-05-19T00:42:24.902Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:42:24.902Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:42:24.902Z] #!/bin/bash
[task 2023-05-19T00:42:24.902Z] 
[task 2023-05-19T00:42:24.902Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:42:24.902Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:42:24.902Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:42:24.902Z] 
[task 2023-05-19T00:42:24.902Z] # This is inspired by
[task 2023-05-19T00:42:24.902Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:42:24.902Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:42:24.902Z] 
[task 2023-05-19T00:42:24.902Z] set -x -e -v
[task 2023-05-19T00:42:24.902Z] ++ set -x -e -v
[task 2023-05-19T00:42:24.902Z] 
[task 2023-05-19T00:42:24.902Z] echo "running as $(id)"
[task 2023-05-19T00:42:24.902Z] +++ id
[task 2023-05-19T00:42:24.904Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:42:24.904Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:42:24.904Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:42:24.904Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:42:24.904Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:42:24.904Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:42:24.904Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:42:24.904Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:42:24.904Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:42:24.904Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:42:24.904Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:42:24.904Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:42:24.904Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:42:24.904Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:42:24.904Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:42:24.904Z]     pushd "$WORKSPACE"
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z]     mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:42:24.904Z]     for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:42:24.904Z]         cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:42:24.904Z]     done
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z]     tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:42:24.904Z]     popd
[task 2023-05-19T00:42:24.904Z] }
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:42:24.904Z]     # Let's find empty files or unfinished downloads
[task 2023-05-19T00:42:24.904Z]     find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z]     if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:42:24.904Z]         echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:42:24.904Z]         cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:42:24.904Z]         exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:42:24.904Z]     fi
[task 2023-05-19T00:42:24.904Z] }
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] 
[task 2023-05-19T00:42:24.904Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:42:24.904Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:42:24.904Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:42:24.904Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:42:24.904Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:42:24.905Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:42:24.905Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:42:25.036Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:42:25.036Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:42:25.328Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:42:25.328Z] ++ xz
[task 2023-05-19T00:45:44.841Z] ++ popd
[task 2023-05-19T00:45:44.841Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:45:44.841Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:45:44.841Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:45:44.841Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:45:44.866Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:45:44.866Z] 
[task 2023-05-19T00:45:44.866Z] popd
[task 2023-05-19T00:45:44.866Z] + popd
[task 2023-05-19T00:45:44.866Z] ~/checkouts
[fetches 2023-05-19T00:45:44.866Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:45:45.569Z] finished
[taskcluster 2023-05-19 00:45:45.946Z] === Task Finished ===
[taskcluster 2023-05-19 00:45:59.824Z] Successful task run with exit code: 0 completed in 495.709 seconds