This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Update to A-S 124.20240203050301 on main #5439
Merged
firefoxci-taskcluster / lint-detekt-android-components
succeeded
Feb 3, 2024 in 3m 38s
FirefoxCI (push)
Run detekt over all modules (Treeherder push)
Details
View task in Taskcluster
View logs in Taskcluster
Detekt Results Android-Components
(404 if compilation failed)
[taskcluster 2024-02-03 16:36:36.888Z] Task ID: VnzFpWUFQlGQpQmPaYEm7g
[taskcluster 2024-02-03 16:36:36.888Z] Worker ID: 7372354389410043496
[taskcluster 2024-02-03 16:36:36.888Z] Worker Group: us-central1
[taskcluster 2024-02-03 16:36:36.888Z] Worker Node Type: projects/970387039909/machineTypes/n2-standard-4
[taskcluster 2024-02-03 16:36:36.888Z] Worker Pool: mobile-3/b-linux-gcp
[taskcluster 2024-02-03 16:36:36.888Z] Worker Version: 38.0.5
[taskcluster 2024-02-03 16:36:36.888Z] Public IP: 104.198.165.106
[taskcluster 2024-02-03 16:36:36.888Z] Hostname: mobile-3-b-linux-gcp-fk7-y7kotdavy0-vftg0iq
[taskcluster 2024-02-03 16:36:37.254Z] Image 'public/image.tar.zst' from task 'Z9VHoD_CQdiql5d-ZW5fjg' loaded. Using image ID sha256:e47a60f7efceebf5ce8d806041ce000d40626292c962e5fd0c3d92cad20a1c38.
[taskcluster 2024-02-03 16:36:37.301Z] === Task Starting ===
[setup 2024-02-03T16:36:37.585Z] run-task started in /builds/worker
[setup 2024-02-03T16:36:37.585Z] Invoked by command: --mobile-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx cd android-components && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories detekt githubLintDetektDetails
[setup 2024-02-03T16:36:37.585Z] Python version: 3.10.12
[volume 2024-02-03T16:36:37.588Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-02-03T16:36:37.588Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-02-03T16:36:37.588Z] running as worker:worker
[vcs 2024-02-03T16:36:37.588Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-02-03T16:36:37.591Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/firefox-android', '/builds/worker/checkouts/vcs']
[vcs 2024-02-03T16:36:37.593Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-02-03T16:36:57.739Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-mobile/firefox-android', 'relbot/update-as/ac-124']
[vcs 2024-02-03T16:36:58.013Z] From https://github.com/mozilla-mobile/firefox-android
[vcs 2024-02-03T16:36:58.013Z] * branch relbot/update-as/ac-124 -> FETCH_HEAD
[vcs 2024-02-03T16:36:58.020Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-mobile/firefox-android', 'relbot/update-as/ac-124']
[vcs 2024-02-03T16:36:58.231Z] From https://github.com/mozilla-mobile/firefox-android
[vcs 2024-02-03T16:36:58.231Z] * branch relbot/update-as/ac-124 -> FETCH_HEAD
[vcs 2024-02-03T16:36:58.235Z] executing ['git', 'checkout', '-f', '-B', 'relbot/update-as/ac-124', '9db46b66e7c86a1188c975832e62e83749912b2b']
[vcs 2024-02-03T16:36:59.028Z] Switched to a new branch 'relbot/update-as/ac-124'
[vcs 2024-02-03T16:36:59.030Z] cleaning git checkout...
[vcs 2024-02-03T16:36:59.030Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-02-03T16:36:59.125Z] removing []
[vcs 2024-02-03T16:36:59.125Z] successfully cleaned git checkout!
[vcs 2024-02-03T16:36:59.127Z] TinderboxPrint:<a href='https://github.com/mozilla-mobile/firefox-android/commit/9db46b66e7c86a1188c975832e62e83749912b2b' title='Built from firefox-android commit 9db46b66e7c86a1188c975832e62e83749912b2b'>9db46b66e7c86a1188c975832e62e83749912b2b</a>
[setup 2024-02-03T16:36:59.127Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-02-03T16:36:59.127Z] fetching artifacts
[fetches 2024-02-03T16:36:59.128Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
attempt 1/5
Downloading http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz to /builds/worker/fetches/android-sdk-linux.tar.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/egT-u4FDSDCSV2PY1bkhVw/artifacts/public/build/external-gradle-dependencies.tar.xz to /builds/worker/fetches/external-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/egT-u4FDSDCSV2PY1bkhVw/artifacts/public/build/external-gradle-dependencies.tar.xz
/usr/local/bin/fetch-content:192: DeprecationWarning: cafile, capath and cadefault are deprecated, use a custom context instead.
with urllib.request.urlopen(
http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz resolved to 113933512 bytes with sha256 ebd91bca233ea78ba554a4716cac78b9112ee090f52af8d0d9b5549f12e7367d in 1.287s
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/egT-u4FDSDCSV2PY1bkhVw/artifacts/public/build/external-gradle-dependencies.tar.xz resolved to 681174384 bytes with sha256 9ec7c164f8dd2502c634f54d1ee955aaf87382e8aec26deae5f84e520655ff07 in 8.195s
Extracting /builds/worker/fetches/external-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 8.360s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/external-gradle-dependencies.tar.xz extracted in 37.068s
Removing /builds/worker/fetches/external-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 45.32980531800001, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-02-03T16:37:44.545Z] finished fetching artifacts
[task 2024-02-03T16:37:44.545Z] executing ['bash', '-cx', 'cd android-components && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories detekt githubLintDetektDetails']
[task 2024-02-03T16:37:44.547Z] + cd android-components
[task 2024-02-03T16:37:44.547Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories detekt githubLintDetektDetails
[task 2024-02-03T16:37:44.626Z] Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip
[task 2024-02-03T16:37:46.332Z] ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
[task 2024-02-03T16:37:47.661Z]
[task 2024-02-03T16:37:47.663Z] Welcome to Gradle 8.5!
[task 2024-02-03T16:37:47.664Z]
[task 2024-02-03T16:37:47.664Z] Here are the highlights of this release:
[task 2024-02-03T16:37:47.665Z] - Support for running on Java 21
[task 2024-02-03T16:37:47.666Z] - Faster first use with Kotlin DSL
[task 2024-02-03T16:37:47.666Z] - Improved error and warning messages
[task 2024-02-03T16:37:47.667Z]
[task 2024-02-03T16:37:47.668Z] For more details see https://docs.gradle.org/8.5/release-notes.html
[task 2024-02-03T16:37:47.669Z]
[task 2024-02-03T16:37:47.761Z] To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.5/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2024-02-03T16:37:48.960Z] Daemon will be stopped at the end of the build
[task 2024-02-03T16:37:49.260Z] Configuration on demand is an incubating feature.
[task 2024-02-03T16:38:05.961Z]
[task 2024-02-03T16:38:05.963Z] > Configure project :dependencies
[task 2024-02-03T16:38:05.963Z] This version of Gradle expects version '4.2.1' of the `kotlin-dsl` plugin but version '4.1.2' has been applied to project ':dependencies'. Let Gradle control the version of `kotlin-dsl` by removing any explicit `kotlin-dsl` version constraints from your build logic.
[task 2024-02-03T16:38:07.661Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-03T16:38:07.661Z] The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.9.20` that might work differently than in the requested version `1.9.10`.
[task 2024-02-03T16:38:24.460Z]
[task 2024-02-03T16:38:24.460Z] > Task :dependencies:pluginDescriptors
[task 2024-02-03T16:38:24.461Z] > Task :dependencies:processResources
[task 2024-02-03T16:38:31.261Z] > Task :dependencies:compileKotlin
[task 2024-02-03T16:38:31.262Z] > Task :dependencies:compileJava NO-SOURCE
[task 2024-02-03T16:38:31.264Z] > Task :dependencies:classes
[task 2024-02-03T16:38:31.265Z] > Task :dependencies:jar
[task 2024-02-03T16:38:31.562Z]
[task 2024-02-03T16:38:31.564Z] > Configure project :github
[task 2024-02-03T16:38:31.565Z] This version of Gradle expects version '4.2.1' of the `kotlin-dsl` plugin but version '4.1.2' has been applied to project ':github'. Let Gradle control the version of `kotlin-dsl` by removing any explicit `kotlin-dsl` version constraints from your build logic.
[task 2024-02-03T16:38:31.566Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-03T16:38:31.567Z] The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.9.20` that might work differently than in the requested version `1.9.10`.
[task 2024-02-03T16:38:34.260Z]
[task 2024-02-03T16:38:34.261Z] > Task :github:pluginDescriptors
[task 2024-02-03T16:38:34.261Z] > Task :github:processResources
[task 2024-02-03T16:38:40.461Z] > Task :github:compileKotlin
[task 2024-02-03T16:38:40.462Z] > Task :github:compileJava NO-SOURCE
[task 2024-02-03T16:38:40.462Z] > Task :github:classes
[task 2024-02-03T16:38:40.462Z] > Task :github:jar
[task 2024-02-03T16:38:41.360Z] Local configuration: absent local.properties; proceeding as normal.
[task 2024-02-03T16:38:42.960Z]
[task 2024-02-03T16:38:42.960Z] > Configure project :publicsuffixlist
[task 2024-02-03T16:38:42.960Z] This version of Gradle expects version '4.2.1' of the `kotlin-dsl` plugin but version '4.1.2' has been applied to project ':publicsuffixlist'. Let Gradle control the version of `kotlin-dsl` by removing any explicit `kotlin-dsl` version constraints from your build logic.
[task 2024-02-03T16:38:42.961Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-03T16:38:42.961Z] The `embedded-kotlin` and `kotlin-dsl` plugins rely on features of Kotlin `1.9.20` that might work differently than in the requested version `1.9.10`.
[task 2024-02-03T16:39:00.761Z]
[task 2024-02-03T16:39:00.762Z] > Configure project :browser-engine-gecko
[task 2024-02-03T16:39:00.763Z] Requires glean_parser 11.0
[task 2024-02-03T16:39:00.764Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/geckoview.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-03T16:39:00.765Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/geckoview.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/build/generated/source/nimbus/release/kotlin]
[task 2024-02-03T16:39:08.960Z]
[task 2024-02-03T16:39:08.961Z] > Configure project :feature-fxsuggest
[task 2024-02-03T16:39:08.961Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/fxsuggest.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-03T16:39:08.962Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/fxsuggest.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/build/generated/source/nimbus/release/kotlin]
[task 2024-02-03T16:39:14.860Z]
[task 2024-02-03T16:39:14.862Z] > Configure project :lib-crash
[task 2024-02-03T16:39:14.863Z] Requires glean_parser 11.0
[task 2024-02-03T16:39:20.260Z]
[task 2024-02-03T16:39:20.261Z] > Task :publicsuffixlist:pluginDescriptors
[task 2024-02-03T16:39:20.261Z] > Task :publicsuffixlist:processResources
[task 2024-02-03T16:39:23.061Z] > Task :publicsuffixlist:compileKotlin
[task 2024-02-03T16:39:23.061Z] > Task :publicsuffixlist:compileJava NO-SOURCE
[task 2024-02-03T16:39:23.061Z] > Task :publicsuffixlist:classes
[task 2024-02-03T16:39:23.061Z] > Task :publicsuffixlist:jar
[task 2024-02-03T16:39:25.060Z]
[task 2024-02-03T16:39:25.061Z] > Configure project :samples-glean
[task 2024-02-03T16:39:25.061Z] Requires glean_parser 11.0
[task 2024-02-03T16:39:25.260Z]
[task 2024-02-03T16:39:25.260Z] > Configure project :samples-glean-library
[task 2024-02-03T16:39:25.260Z] Requires glean_parser 11.0
[task 2024-02-03T16:39:26.660Z]
[task 2024-02-03T16:39:26.661Z] > Configure project :service-nimbus
[task 2024-02-03T16:39:26.661Z] Requires glean_parser 11.0
[task 2024-02-03T16:39:26.661Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/messaging.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-03T16:39:26.661Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/messaging.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/build/generated/source/nimbus/release/kotlin]
[task 2024-02-03T16:39:30.860Z] HTML report location set on detekt {} extension will be ignored for detekt task. See https://detekt.dev/gradle.html#reports
[task 2024-02-03T16:39:31.261Z]
[task 2024-02-03T16:39:31.261Z] > Task :listRepositories
[task 2024-02-03T16:39:31.261Z] Repositories:
[task 2024-02-03T16:39:31.261Z] Name: Google; url: file:/builds/worker/fetches/external-gradle-dependencies/google/
[task 2024-02-03T16:39:31.261Z] Name: MavenCentral; url: file:/builds/worker/fetches/external-gradle-dependencies/central/
[task 2024-02-03T16:39:31.261Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-02-03T16:39:39.960Z]
[task 2024-02-03T16:39:39.961Z] > Task :tooling-detekt:processResources
[task 2024-02-03T16:39:39.961Z] > Task :githubLintDetektDetails
[task 2024-02-03T16:39:46.460Z] > Task :tooling-detekt:compileKotlin
[task 2024-02-03T16:39:46.460Z] > Task :tooling-detekt:compileJava NO-SOURCE
[task 2024-02-03T16:39:46.461Z] > Task :tooling-detekt:classes
[task 2024-02-03T16:39:46.461Z] > Task :tooling-detekt:jar
[task 2024-02-03T16:39:46.461Z] > Task :tooling-detekt:assemble
[task 2024-02-03T16:40:12.961Z]
[task 2024-02-03T16:40:12.963Z] > Task :detekt
[task 2024-02-03T16:40:12.963Z] Complexity Report:
[task 2024-02-03T16:40:12.963Z] - 136,636 lines of code (loc)
[task 2024-02-03T16:40:12.963Z] - 87,225 source lines of code (sloc)
[task 2024-02-03T16:40:12.963Z] - 60,799 logical lines of code (lloc)
[task 2024-02-03T16:40:12.964Z] - 32,118 comment lines of code (cloc)
[task 2024-02-03T16:40:12.964Z] - 13,683 cyclomatic complexity (mcc)
[task 2024-02-03T16:40:12.965Z] - 6,435 cognitive complexity
[task 2024-02-03T16:40:12.965Z] - 0 number of total code smells
[task 2024-02-03T16:40:12.965Z] - 36% comment source ratio
[task 2024-02-03T16:40:12.965Z] - 225 mcc per 1,000 lloc
[task 2024-02-03T16:40:12.965Z] - 0 code smells per 1,000 lloc
[task 2024-02-03T16:40:12.966Z]
[task 2024-02-03T16:40:12.966Z] Project Statistics:
[task 2024-02-03T16:40:12.966Z] - number of properties: 7233
[task 2024-02-03T16:40:12.966Z] - number of functions: 6503
[task 2024-02-03T16:40:12.966Z] - number of classes: 2567
[task 2024-02-03T16:40:12.966Z] - number of packages: 411
[task 2024-02-03T16:40:12.967Z] - number of kt files: 1219
[task 2024-02-03T16:40:12.967Z]
[task 2024-02-03T16:40:12.967Z] Successfully generated SARIF: a standard format for the output of static analysis tools at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.sarif
[task 2024-02-03T16:40:12.967Z] Successfully generated Checkstyle XML report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.xml
[task 2024-02-03T16:40:12.967Z] Successfully generated plain text report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.txt
[task 2024-02-03T16:40:12.967Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.html
[task 2024-02-03T16:40:12.967Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.md
[task 2024-02-03T16:40:12.968Z]
[task 2024-02-03T16:40:12.968Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-02-03T16:40:12.968Z]
[task 2024-02-03T16:40:12.968Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2024-02-03T16:40:12.968Z]
[task 2024-02-03T16:40:12.969Z] For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2024-02-03T16:40:12.969Z]
[task 2024-02-03T16:40:12.969Z] BUILD SUCCESSFUL in 2m 28s
[task 2024-02-03T16:40:12.969Z] 18 actionable tasks: 18 executed
[fetches 2024-02-03T16:40:13.380Z] removing /builds/worker/fetches
[fetches 2024-02-03T16:40:13.836Z] finished
[taskcluster 2024-02-03 16:40:14.083Z] === Task Finished ===
[taskcluster 2024-02-03 16:40:15.004Z] Successful task run with exit code: 0 completed in 218.118 seconds
Loading