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-lint-components succeeded May 19, 2023 in 23m 18s

FirefoxCI (pull_request)

External Gradle dependencies toolchain task (Treeherder push)

Details

View task in Taskcluster
View logs in Taskcluster


[task 2023-05-19T00:43:56.242Z] > Task :samples-firefox-accounts:lintReportDebug
[task 2023-05-19T00:43:56.242Z] > Task :samples-firefox-accounts:lintDebug
[task 2023-05-19T00:43:56.242Z] > Task :samples-firefox-accounts:lint
[task 2023-05-19T00:43:56.242Z] > Task :lib-state:lintReportDebug
[task 2023-05-19T00:43:56.242Z] > Task :lib-state:lintDebug
[task 2023-05-19T00:43:56.242Z] > Task :lib-state:lint
[task 2023-05-19T00:43:56.442Z] > Task :samples-compose-browser:lintAnalyzeDebug
[task 2023-05-19T00:43:56.542Z] > Task :samples-glean:lintAnalyzeDebug
[task 2023-05-19T00:43:56.642Z] > Task :samples-glean:lintReportDebug
[task 2023-05-19T00:43:56.642Z] > Task :samples-glean:lintDebug
[task 2023-05-19T00:43:56.642Z] > Task :samples-glean:lint
[task 2023-05-19T00:43:56.742Z] 
[task 2023-05-19T00:43:56.742Z] > Task :samples-compose-browser:lintReportDebug
[task 2023-05-19T00:43:56.742Z] Wrote HTML report to file:///builds/worker/checkouts/vcs/android-components/samples/compose-browser/build/reports/lint-results-debug.html
[task 2023-05-19T00:43:56.742Z] 
[task 2023-05-19T00:43:56.742Z] > Task :samples-compose-browser:lintDebug
[task 2023-05-19T00:43:56.742Z] > Task :samples-compose-browser:lint
[task 2023-05-19T00:43:57.842Z] > Task :samples-sync-logins:lintAnalyzeDebug
[task 2023-05-19T00:43:57.842Z] > Task :lib-crash:lintAnalyzeDebug
[task 2023-05-19T00:43:57.942Z] > Task :samples-sync-logins:lintReportDebug
[task 2023-05-19T00:43:57.942Z] > Task :samples-sync-logins:lintDebug
[task 2023-05-19T00:43:57.942Z] > Task :samples-sync-logins:lint
[task 2023-05-19T00:43:57.942Z] > Task :lib-crash:lintReportDebug
[task 2023-05-19T00:43:57.942Z] > Task :lib-crash:lintDebug
[task 2023-05-19T00:43:57.942Z] > Task :lib-crash:lint
[task 2023-05-19T00:43:58.142Z] > Task :samples-sync:lintAnalyzeDebug
[task 2023-05-19T00:43:58.242Z] > Task :samples-sync:lintReportDebug
[task 2023-05-19T00:43:58.242Z] > Task :samples-sync:lintDebug
[task 2023-05-19T00:43:58.242Z] > Task :samples-sync:lint
[task 2023-05-19T00:43:58.742Z] > Task :service-contile:lintAnalyzeDebug
[task 2023-05-19T00:43:58.842Z] > Task :samples-toolbar:lintAnalyzeDebug
[task 2023-05-19T00:43:58.842Z] > Task :service-contile:lintReportDebug
[task 2023-05-19T00:43:58.842Z] > Task :service-contile:lintDebug
[task 2023-05-19T00:43:58.842Z] > Task :service-contile:lint
[task 2023-05-19T00:43:58.942Z] > Task :service-digitalassetlinks:lintAnalyzeDebug
[task 2023-05-19T00:43:58.942Z] 
[task 2023-05-19T00:43:58.942Z] > Task :samples-toolbar:lintReportDebug
[task 2023-05-19T00:43:58.942Z] Wrote HTML report to file:///builds/worker/checkouts/vcs/android-components/samples/toolbar/build/reports/lint-results-debug.html
[task 2023-05-19T00:43:58.942Z] 
[task 2023-05-19T00:43:58.942Z] > Task :samples-toolbar:lintDebug
[task 2023-05-19T00:43:58.942Z] > Task :samples-toolbar:lint
[task 2023-05-19T00:43:59.042Z] > Task :service-glean:lintAnalyzeDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-digitalassetlinks:lintReportDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-digitalassetlinks:lintDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-digitalassetlinks:lint
[task 2023-05-19T00:43:59.042Z] > Task :service-location:lintAnalyzeDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-glean:lintReportDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-glean:lintDebug
[task 2023-05-19T00:43:59.042Z] > Task :service-glean:lint
[task 2023-05-19T00:43:59.142Z] > Task :service-location:lintReportDebug
[task 2023-05-19T00:43:59.142Z] > Task :service-location:lintDebug
[task 2023-05-19T00:43:59.142Z] > Task :service-location:lint
[task 2023-05-19T00:43:59.842Z] > Task :support-android-test:lintAnalyzeDebug
[task 2023-05-19T00:43:59.942Z] > Task :support-android-test:lintReportDebug
[task 2023-05-19T00:43:59.942Z] > Task :support-android-test:lintDebug
[task 2023-05-19T00:43:59.942Z] > Task :support-android-test:lint SKIPPED
[task 2023-05-19T00:44:00.142Z] > Task :service-sync-logins:lintAnalyzeDebug
[task 2023-05-19T00:44:00.342Z] > Task :service-sync-logins:lintReportDebug
[task 2023-05-19T00:44:00.342Z] > Task :service-sync-logins:lintDebug
[task 2023-05-19T00:44:00.342Z] > Task :service-sync-logins:lint
[task 2023-05-19T00:44:00.942Z] > Task :support-images:lintAnalyzeDebug
[task 2023-05-19T00:44:00.942Z] > Task :service-sync-autofill:lintAnalyzeDebug
[task 2023-05-19T00:44:01.042Z] > Task :support-images:lintReportDebug
[task 2023-05-19T00:44:01.042Z] > Task :support-images:lintDebug
[task 2023-05-19T00:44:01.042Z] > Task :support-images:lint
[task 2023-05-19T00:44:01.042Z] > Task :service-sync-autofill:lintReportDebug
[task 2023-05-19T00:44:01.042Z] > Task :service-sync-autofill:lintDebug
[task 2023-05-19T00:44:01.042Z] > Task :service-sync-autofill:lint
[task 2023-05-19T00:44:01.642Z] > Task :service-nimbus:lintAnalyzeDebug
[task 2023-05-19T00:44:01.842Z] > Task :support-rustlog:lintAnalyzeDebug
[task 2023-05-19T00:44:01.842Z] > Task :service-nimbus:lintReportDebug
[task 2023-05-19T00:44:01.842Z] > Task :service-nimbus:lintDebug
[task 2023-05-19T00:44:01.842Z] > Task :service-nimbus:lint
[task 2023-05-19T00:44:01.842Z] > Task :support-rustlog:lintReportDebug
[task 2023-05-19T00:44:01.842Z] > Task :support-rustlog:lintDebug
[task 2023-05-19T00:44:01.842Z] > Task :support-rustlog:lint
[task 2023-05-19T00:44:02.142Z] > Task :support-locale:lintAnalyzeDebug
[task 2023-05-19T00:44:02.342Z] > Task :support-locale:lintReportDebug
[task 2023-05-19T00:44:02.342Z] > Task :support-locale:lintDebug
[task 2023-05-19T00:44:02.342Z] > Task :support-locale:lint
[task 2023-05-19T00:44:02.442Z] > Task :samples-browser:lintAnalyzeGeckoDebug
[task 2023-05-19T00:44:02.842Z] 
[task 2023-05-19T00:44:02.842Z] > Task :samples-browser:lintReportGeckoDebug
[task 2023-05-19T00:44:02.842Z] Wrote HTML report to file:///builds/worker/checkouts/vcs/android-components/samples/browser/build/reports/lint-results-geckoDebug.html
[task 2023-05-19T00:44:02.842Z] 
[task 2023-05-19T00:44:02.842Z] > Task :samples-browser:lintGeckoDebug
[task 2023-05-19T00:44:02.842Z] > Task :samples-browser:lint
[task 2023-05-19T00:44:03.242Z] > Task :support-test-fakes:lintAnalyzeDebug
[task 2023-05-19T00:44:03.342Z] > Task :support-test-fakes:lintReportDebug
[task 2023-05-19T00:44:03.342Z] > Task :support-test-fakes:lintDebug
[task 2023-05-19T00:44:03.342Z] > Task :support-test-fakes:lint
[task 2023-05-19T00:44:03.842Z] > Task :support-sync-telemetry:lintAnalyzeDebug
[task 2023-05-19T00:44:03.942Z] > Task :support-sync-telemetry:lintReportDebug
[task 2023-05-19T00:44:03.942Z] > Task :support-sync-telemetry:lintDebug
[task 2023-05-19T00:44:03.942Z] > Task :support-sync-telemetry:lint
[task 2023-05-19T00:44:04.142Z] 
[task 2023-05-19T00:44:04.142Z] > Task :support-test-libstate:lintAnalyzeDebug
[task 2023-05-19T00:44:04.142Z] Warning: Configuration file /builds/worker/checkouts/vcs/android-components/components/support/test-libstate/lint.xml does not exist
[task 2023-05-19T00:44:04.542Z] 
[task 2023-05-19T00:44:04.542Z] > Task :support-base:lintAnalyzeDebug
[task 2023-05-19T00:44:04.642Z] > Task :support-base:lintReportDebug
[task 2023-05-19T00:44:04.642Z] > Task :support-base:lintDebug
[task 2023-05-19T00:44:04.642Z] > Task :support-base:lint
[task 2023-05-19T00:44:04.942Z] > Task :support-test-libstate:lintReportDebug
[task 2023-05-19T00:44:04.942Z] > Task :support-test-libstate:lintDebug
[task 2023-05-19T00:44:04.942Z] > Task :support-test-libstate:lint SKIPPED
[task 2023-05-19T00:44:05.342Z] > Task :service-pocket:lintAnalyzeDebug
[task 2023-05-19T00:44:05.442Z] > Task :service-pocket:lintReportDebug
[task 2023-05-19T00:44:05.442Z] > Task :service-pocket:lintDebug
[task 2023-05-19T00:44:05.442Z] > Task :service-pocket:lint
[task 2023-05-19T00:44:05.542Z] > Task :ui-colors:lintAnalyzeDebug
[task 2023-05-19T00:44:05.642Z] > Task :ui-colors:lintReportDebug
[task 2023-05-19T00:44:05.642Z] > Task :ui-colors:lintDebug
[task 2023-05-19T00:44:05.642Z] > Task :ui-colors:lint
[task 2023-05-19T00:44:05.642Z] > Task :support-test:lintAnalyzeDebug
[task 2023-05-19T00:44:05.742Z] 
[task 2023-05-19T00:44:05.742Z] > Task :support-test:lintReportDebug
[task 2023-05-19T00:44:05.742Z] Wrote HTML report to file:///builds/worker/checkouts/vcs/android-components/components/support/test/build/reports/lint-results-debug.html
[task 2023-05-19T00:44:05.742Z] 
[task 2023-05-19T00:44:05.742Z] > Task :support-test:lintDebug
[task 2023-05-19T00:44:05.742Z] > Task :support-test:lint SKIPPED
[task 2023-05-19T00:44:05.942Z] > Task :service-firefox-accounts:lintAnalyzeDebug
[task 2023-05-19T00:44:06.042Z] > Task :service-firefox-accounts:lintReportDebug
[task 2023-05-19T00:44:06.042Z] > Task :service-firefox-accounts:lintDebug
[task 2023-05-19T00:44:06.042Z] > Task :service-firefox-accounts:lint
[task 2023-05-19T00:44:06.442Z] > Task :ui-autocomplete:lintAnalyzeDebug
[task 2023-05-19T00:44:06.542Z] > Task :ui-tabcounter:lintAnalyzeDebug
[task 2023-05-19T00:44:06.542Z] > Task :ui-autocomplete:lintReportDebug
[task 2023-05-19T00:44:06.542Z] > Task :ui-autocomplete:lintDebug
[task 2023-05-19T00:44:06.542Z] > Task :ui-autocomplete:lint
[task 2023-05-19T00:44:06.642Z] > Task :ui-tabcounter:lintReportDebug
[task 2023-05-19T00:44:06.642Z] > Task :ui-tabcounter:lintDebug
[task 2023-05-19T00:44:06.642Z] > Task :ui-tabcounter:lint
[task 2023-05-19T00:44:06.842Z] > Task :support-webextensions:lintAnalyzeDebug
[task 2023-05-19T00:44:06.942Z] > Task :support-webextensions:lintReportDebug
[task 2023-05-19T00:44:06.942Z] > Task :support-webextensions:lintDebug
[task 2023-05-19T00:44:06.942Z] > Task :support-webextensions:lint
[task 2023-05-19T00:44:07.042Z] > Task :support-ktx:lintAnalyzeDebug
[task 2023-05-19T00:44:07.242Z] > Task :support-ktx:lintReportDebug
[task 2023-05-19T00:44:07.242Z] > Task :support-ktx:lintDebug
[task 2023-05-19T00:44:07.242Z] > Task :support-ktx:lint
[task 2023-05-19T00:44:07.642Z] > Task :support-utils:lintAnalyzeDebug
[task 2023-05-19T00:44:07.642Z] > Task :support-utils:lintReportDebug
[task 2023-05-19T00:44:07.642Z] > Task :support-utils:lintDebug
[task 2023-05-19T00:44:07.642Z] > Task :support-utils:lint
[task 2023-05-19T00:44:07.742Z] > Task :ui-widgets:lintAnalyzeDebug
[task 2023-05-19T00:44:07.842Z] > Task :ui-widgets:lintReportDebug
[task 2023-05-19T00:44:07.842Z] > Task :ui-widgets:lintDebug
[task 2023-05-19T00:44:07.842Z] > Task :ui-widgets:lint
[task 2023-05-19T00:44:07.942Z] 
[task 2023-05-19T00:44:07.942Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[task 2023-05-19T00:44:07.942Z] 
[task 2023-05-19T00:44:07.942Z] 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:44:07.942Z] 
[task 2023-05-19T00:44:07.942Z] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[task 2023-05-19T00:44:07.942Z] 
[task 2023-05-19T00:44:07.942Z] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[task 2023-05-19T00:44:07.942Z] Please consult deprecation warnings for more details.
[task 2023-05-19T00:44:07.942Z] 
[task 2023-05-19T00:44:07.942Z] BUILD SUCCESSFUL in 2m 36s
[task 2023-05-19T00:44:07.942Z] 3920 actionable tasks: 3012 executed, 797 from cache, 111 up-to-date
[task 2023-05-19T00:44:07.942Z] Gradle was unable to watch the file system for changes. The inotify watches limit is too low.
[task 2023-05-19T00:44:08.464Z] 
[task 2023-05-19T00:44:08.464Z] . "$REPO_ROOT_DIR/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh"
[task 2023-05-19T00:44:08.464Z] + . /builds/worker/checkouts/vcs/taskcluster/scripts/toolchain/external-gradle-dependencies/after.sh
[task 2023-05-19T00:44:08.464Z] #!/bin/bash
[task 2023-05-19T00:44:08.464Z] 
[task 2023-05-19T00:44:08.464Z] # This Source Code Form is subject to the terms of the Mozilla Public
[task 2023-05-19T00:44:08.464Z] # License, v. 2.0. If a copy of the MPL was not distributed with this
[task 2023-05-19T00:44:08.464Z] # file, You can obtain one at http://mozilla.org/MPL/2.0/.
[task 2023-05-19T00:44:08.464Z] 
[task 2023-05-19T00:44:08.464Z] # This is inspired by
[task 2023-05-19T00:44:08.464Z] # https://searchfox.org/mozilla-central/rev/2cd2d511c0d94a34fb7fa3b746f54170ee759e35/taskcluster/scripts/misc/android-gradle-dependencies/after.sh.
[task 2023-05-19T00:44:08.464Z] # gradle-plugins was removed because it's not used in this project.
[task 2023-05-19T00:44:08.464Z] 
[task 2023-05-19T00:44:08.464Z] set -x -e -v
[task 2023-05-19T00:44:08.464Z] ++ set -x -e -v
[task 2023-05-19T00:44:08.464Z] 
[task 2023-05-19T00:44:08.464Z] echo "running as $(id)"
[task 2023-05-19T00:44:08.464Z] +++ id
[task 2023-05-19T00:44:08.466Z] ++ echo 'running as uid=1000(worker) gid=1000(worker) groups=1000(worker)'
[task 2023-05-19T00:44:08.466Z] running as uid=1000(worker) gid=1000(worker) groups=1000(worker)
[task 2023-05-19T00:44:08.466Z] 
[task 2023-05-19T00:44:08.466Z] : WORKSPACE "${WORKSPACE:=/builds/worker/workspace}"
[task 2023-05-19T00:44:08.466Z] ++ : WORKSPACE /builds/worker/workspace
[task 2023-05-19T00:44:08.466Z] ARTIFACTS_TARGET_DIR='/builds/worker/artifacts'
[task 2023-05-19T00:44:08.466Z] ++ ARTIFACTS_TARGET_DIR=/builds/worker/artifacts
[task 2023-05-19T00:44:08.467Z] EXTERNAL_DEPS='external-gradle-dependencies'
[task 2023-05-19T00:44:08.467Z] ++ EXTERNAL_DEPS=external-gradle-dependencies
[task 2023-05-19T00:44:08.467Z] NEXUS_STORAGE_DIR="$NEXUS_WORK/storage"
[task 2023-05-19T00:44:08.467Z] ++ NEXUS_STORAGE_DIR=/builds/worker/workspace/nexus/storage
[task 2023-05-19T00:44:08.467Z] NEXUS_DIRS="$NEXUS_STORAGE_DIR/google $NEXUS_STORAGE_DIR/central"
[task 2023-05-19T00:44:08.467Z] ++ NEXUS_DIRS='/builds/worker/workspace/nexus/storage/google /builds/worker/workspace/nexus/storage/central'
[task 2023-05-19T00:44:08.467Z] BAD_DOWNLOADS_FILE="$WORKSPACE/bad_downloads.txt"
[task 2023-05-19T00:44:08.467Z] ++ BAD_DOWNLOADS_FILE=/builds/worker/workspace/bad_downloads.txt
[task 2023-05-19T00:44:08.467Z] BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:44:08.467Z] ++ BAD_DOWNLOADS_EXIT_CODE=17
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] function _package_artifacts_downloaded_by_nexus() {
[task 2023-05-19T00:44:08.467Z]     pushd "$WORKSPACE"
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z]     mkdir -p "$WORKSPACE/$EXTERNAL_DEPS" "$ARTIFACTS_TARGET_DIR"
[task 2023-05-19T00:44:08.467Z]     for nexus_dir in $NEXUS_DIRS; do
[task 2023-05-19T00:44:08.467Z]         cp -R "$nexus_dir" "$EXTERNAL_DEPS"
[task 2023-05-19T00:44:08.467Z]     done
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z]     tar cf - "$EXTERNAL_DEPS" | xz > "$ARTIFACTS_TARGET_DIR/$EXTERNAL_DEPS.tar.xz"
[task 2023-05-19T00:44:08.467Z]     popd
[task 2023-05-19T00:44:08.467Z] }
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] function _ensure_artifacts_are_sane() {
[task 2023-05-19T00:44:08.467Z]     # Let's find empty files or unfinished downloads
[task 2023-05-19T00:44:08.467Z]     find "$WORKSPACE/$EXTERNAL_DEPS" -size 0 -o -name '*.part' > "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z]     if [ -s "$BAD_DOWNLOADS_FILE" ]; then
[task 2023-05-19T00:44:08.467Z]         echo "ERROR: Some artifacts were not correctly downloaded! Please look at:"
[task 2023-05-19T00:44:08.467Z]         cat "$BAD_DOWNLOADS_FILE"
[task 2023-05-19T00:44:08.467Z]         exit $BAD_DOWNLOADS_EXIT_CODE
[task 2023-05-19T00:44:08.467Z]     fi
[task 2023-05-19T00:44:08.467Z] }
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] 
[task 2023-05-19T00:44:08.467Z] _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:44:08.467Z] ++ _package_artifacts_downloaded_by_nexus
[task 2023-05-19T00:44:08.467Z] ++ pushd /builds/worker/workspace
[task 2023-05-19T00:44:08.467Z] ~/workspace ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:44:08.467Z] ++ mkdir -p /builds/worker/workspace/external-gradle-dependencies /builds/worker/artifacts
[task 2023-05-19T00:44:08.468Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:44:08.468Z] ++ cp -R /builds/worker/workspace/nexus/storage/google external-gradle-dependencies
[task 2023-05-19T00:44:08.714Z] ++ for nexus_dir in $NEXUS_DIRS
[task 2023-05-19T00:44:08.714Z] ++ cp -R /builds/worker/workspace/nexus/storage/central external-gradle-dependencies
[task 2023-05-19T00:44:09.308Z] ++ tar cf - external-gradle-dependencies
[task 2023-05-19T00:44:09.308Z] ++ xz
[task 2023-05-19T00:50:11.860Z] ++ popd
[task 2023-05-19T00:50:11.860Z] ~/checkouts/vcs/android-components ~/checkouts
[task 2023-05-19T00:50:11.860Z] _ensure_artifacts_are_sane
[task 2023-05-19T00:50:11.860Z] ++ _ensure_artifacts_are_sane
[task 2023-05-19T00:50:11.860Z] ++ find /builds/worker/workspace/external-gradle-dependencies -size 0 -o -name '*.part'
[task 2023-05-19T00:50:11.925Z] ++ '[' -s /builds/worker/workspace/bad_downloads.txt ']'
[task 2023-05-19T00:50:11.925Z] 
[task 2023-05-19T00:50:11.925Z] popd
[task 2023-05-19T00:50:11.925Z] + popd
[task 2023-05-19T00:50:11.925Z] ~/checkouts
[fetches 2023-05-19T00:50:11.925Z] removing /builds/worker/fetches
[fetches 2023-05-19T00:50:12.874Z] finished
[taskcluster 2023-05-19 00:50:13.520Z] === Task Finished ===
[taskcluster 2023-05-19 00:50:22.064Z] Successful task run with exit code: 0 completed in 775.835 seconds