This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Bug 1877847 - Remove Suggest error reporting #5390
Merged
firefoxci-taskcluster / lint-detekt-android-components
succeeded
Feb 2, 2024 in 3m 42s
FirefoxCI (pull_request)
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-02 15:53:27.306Z] Task ID: UtfLvrMeRqakvApmYoTx8g
[taskcluster 2024-02-02 15:53:27.306Z] Worker ID: 4164105323576079114
[taskcluster 2024-02-02 15:53:27.306Z] Worker Group: us-west1
[taskcluster 2024-02-02 15:53:27.306Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-02-02 15:53:27.306Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-02-02 15:53:27.306Z] Worker Version: 38.0.5
[taskcluster 2024-02-02 15:53:27.306Z] Public IP: 35.233.246.91
[taskcluster 2024-02-02 15:53:27.306Z] Hostname: mobile-1-b-linux-gcp-m4yjsm89sa6ulinypjffxq
[taskcluster 2024-02-02 15:53:27.648Z] Image 'public/image.tar.zst' from task 'Z9VHoD_CQdiql5d-ZW5fjg' loaded. Using image ID sha256:e47a60f7efceebf5ce8d806041ce000d40626292c962e5fd0c3d92cad20a1c38.
[taskcluster 2024-02-02 15:53:27.658Z] === Task Starting ===
[setup 2024-02-02T15:53:27.890Z] run-task started in /builds/worker
[setup 2024-02-02T15:53:27.890Z] 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-02T15:53:27.890Z] Python version: 3.10.12
[volume 2024-02-02T15:53:27.892Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-02-02T15:53:27.892Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-02-02T15:53:27.892Z] running as worker:worker
[vcs 2024-02-02T15:53:27.892Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-02-02T15:53:27.895Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/firefox-android', '/builds/worker/checkouts/vcs']
[vcs 2024-02-02T15:53:27.897Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-02-02T15:53:55.663Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/bendk/firefox-android', 'bug-1877847']
[vcs 2024-02-02T15:53:56.139Z] From https://github.com/bendk/firefox-android
[vcs 2024-02-02T15:53:56.140Z] * branch bug-1877847 -> FETCH_HEAD
[vcs 2024-02-02T15:53:56.142Z] executing ['git', 'checkout', '-f', '-B', 'bug-1877847', 'c7338f7a7dab7d5c08bea34882db895ba743a5f8']
[vcs 2024-02-02T15:53:56.863Z] Switched to a new branch 'bug-1877847'
[vcs 2024-02-02T15:53:56.864Z] cleaning git checkout...
[vcs 2024-02-02T15:53:56.864Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-02-02T15:53:56.927Z] removing []
[vcs 2024-02-02T15:53:56.927Z] successfully cleaned git checkout!
[vcs 2024-02-02T15:53:56.929Z] TinderboxPrint:<a href='https://github.com/bendk/firefox-android/commit/c7338f7a7dab7d5c08bea34882db895ba743a5f8' title='Built from firefox-android commit c7338f7a7dab7d5c08bea34882db895ba743a5f8'>c7338f7a7dab7d5c08bea34882db895ba743a5f8</a>
[setup 2024-02-02T15:53:56.929Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-02-02T15:53:56.929Z] fetching artifacts
[fetches 2024-02-02T15:53:56.929Z] 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.xzDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LNrUMr_bRk6LGXWcbOxh8w/artifacts/public/build/external-gradle-dependencies.tar.xz to /builds/worker/fetches/external-gradle-dependencies.tar.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LNrUMr_bRk6LGXWcbOxh8w/artifacts/public/build/external-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.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.218s
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 7.752s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LNrUMr_bRk6LGXWcbOxh8w/artifacts/public/build/external-gradle-dependencies.tar.xz resolved to 683233116 bytes with sha256 06099668b49f36c5c9f1e12c16754ef67a8ff908c2f7cc96889d7af32bc6be92 in 26.039s
Extracting /builds/worker/fetches/external-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/external-gradle-dependencies.tar.xz extracted in 35.738s
Removing /builds/worker/fetches/external-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 61.835204738000016, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-02-02T15:54:58.841Z] finished fetching artifacts
[task 2024-02-02T15:54:58.841Z] 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-02T15:54:58.843Z] + cd android-components
[task 2024-02-02T15:54:58.843Z] + ./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-02T15:54:58.920Z] Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip
[task 2024-02-02T15:55:00.492Z] ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
[task 2024-02-02T15:55:01.635Z]
[task 2024-02-02T15:55:01.636Z] Welcome to Gradle 8.5!
[task 2024-02-02T15:55:01.636Z]
[task 2024-02-02T15:55:01.636Z] Here are the highlights of this release:
[task 2024-02-02T15:55:01.637Z] - Support for running on Java 21
[task 2024-02-02T15:55:01.638Z] - Faster first use with Kotlin DSL
[task 2024-02-02T15:55:01.639Z] - Improved error and warning messages
[task 2024-02-02T15:55:01.639Z]
[task 2024-02-02T15:55:01.640Z] For more details see https://docs.gradle.org/8.5/release-notes.html
[task 2024-02-02T15:55:01.640Z]
[task 2024-02-02T15:55:01.734Z] 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-02T15:55:02.634Z] Daemon will be stopped at the end of the build
[task 2024-02-02T15:55:02.934Z] Configuration on demand is an incubating feature.
[task 2024-02-02T15:55:16.434Z]
[task 2024-02-02T15:55:16.438Z] > Configure project :dependencies
[task 2024-02-02T15:55:16.438Z] 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-02T15:55:17.734Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-02T15:55:17.736Z] 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-02T15:55:31.634Z]
[task 2024-02-02T15:55:31.634Z] > Task :dependencies:pluginDescriptors
[task 2024-02-02T15:55:31.634Z] > Task :dependencies:processResources
[task 2024-02-02T15:55:37.434Z] > Task :dependencies:compileKotlin
[task 2024-02-02T15:55:37.434Z] > Task :dependencies:compileJava NO-SOURCE
[task 2024-02-02T15:55:37.434Z] > Task :dependencies:classes
[task 2024-02-02T15:55:37.434Z] > Task :dependencies:jar
[task 2024-02-02T15:55:37.634Z]
[task 2024-02-02T15:55:37.634Z] > Configure project :github
[task 2024-02-02T15:55:37.634Z] 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-02T15:55:37.634Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-02T15:55:37.634Z] 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-02T15:55:39.934Z]
[task 2024-02-02T15:55:39.934Z] > Task :github:pluginDescriptors
[task 2024-02-02T15:55:39.937Z] > Task :github:processResources
[task 2024-02-02T15:55:45.134Z] > Task :github:compileKotlin
[task 2024-02-02T15:55:45.134Z] > Task :github:compileJava NO-SOURCE
[task 2024-02-02T15:55:45.134Z] > Task :github:classes
[task 2024-02-02T15:55:45.234Z] > Task :github:jar
[task 2024-02-02T15:55:45.834Z] Local configuration: absent local.properties; proceeding as normal.
[task 2024-02-02T15:55:47.334Z]
[task 2024-02-02T15:55:47.334Z] > Configure project :publicsuffixlist
[task 2024-02-02T15:55:47.334Z] 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-02T15:55:47.334Z] WARNING: Unsupported Kotlin plugin version.
[task 2024-02-02T15:55:47.334Z] 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-02T15:56:01.634Z]
[task 2024-02-02T15:56:01.634Z] > Configure project :browser-engine-gecko
[task 2024-02-02T15:56:01.635Z] Requires glean_parser 11.0
[task 2024-02-02T15:56:01.635Z] [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-02T15:56:01.635Z] [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-02T15:56:08.334Z]
[task 2024-02-02T15:56:08.337Z] > Configure project :feature-fxsuggest
[task 2024-02-02T15:56:08.338Z] [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-02T15:56:08.338Z] [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-02T15:56:13.634Z]
[task 2024-02-02T15:56:13.634Z] > Configure project :lib-crash
[task 2024-02-02T15:56:13.634Z] Requires glean_parser 11.0
[task 2024-02-02T15:56:18.134Z]
[task 2024-02-02T15:56:18.134Z] > Task :publicsuffixlist:pluginDescriptors
[task 2024-02-02T15:56:18.135Z] > Task :publicsuffixlist:processResources
[task 2024-02-02T15:56:20.334Z] > Task :publicsuffixlist:compileKotlin
[task 2024-02-02T15:56:20.334Z] > Task :publicsuffixlist:compileJava NO-SOURCE
[task 2024-02-02T15:56:20.334Z] > Task :publicsuffixlist:classes
[task 2024-02-02T15:56:20.334Z] > Task :publicsuffixlist:jar
[task 2024-02-02T15:56:22.134Z]
[task 2024-02-02T15:56:22.135Z] > Configure project :samples-glean
[task 2024-02-02T15:56:22.136Z] Requires glean_parser 11.0
[task 2024-02-02T15:56:22.334Z]
[task 2024-02-02T15:56:22.336Z] > Configure project :samples-glean-library
[task 2024-02-02T15:56:22.337Z] Requires glean_parser 11.0
[task 2024-02-02T15:56:23.434Z]
[task 2024-02-02T15:56:23.434Z] > Configure project :service-nimbus
[task 2024-02-02T15:56:23.434Z] Requires glean_parser 11.0
[task 2024-02-02T15:56:23.434Z] [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-02T15:56:23.434Z] [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-02T15:56:26.734Z] HTML report location set on detekt {} extension will be ignored for detekt task. See https://detekt.dev/gradle.html#reports
[task 2024-02-02T15:56:27.034Z]
[task 2024-02-02T15:56:27.043Z] > Task :listRepositories
[task 2024-02-02T15:56:27.044Z] Repositories:
[task 2024-02-02T15:56:27.044Z] Name: Google; url: file:/builds/worker/fetches/external-gradle-dependencies/google/
[task 2024-02-02T15:56:27.044Z] Name: MavenCentral; url: file:/builds/worker/fetches/external-gradle-dependencies/central/
[task 2024-02-02T15:56:27.044Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-02-02T15:56:33.934Z]
[task 2024-02-02T15:56:33.934Z] > Task :tooling-detekt:processResources
[task 2024-02-02T15:56:33.934Z] > Task :githubLintDetektDetails
[task 2024-02-02T15:56:39.634Z] > Task :tooling-detekt:compileKotlin
[task 2024-02-02T15:56:39.644Z] > Task :tooling-detekt:compileJava NO-SOURCE
[task 2024-02-02T15:56:39.644Z] > Task :tooling-detekt:classes
[task 2024-02-02T15:56:39.644Z] > Task :tooling-detekt:jar
[task 2024-02-02T15:56:39.644Z] > Task :tooling-detekt:assemble
[task 2024-02-02T15:57:02.234Z]
[task 2024-02-02T15:57:02.234Z] > Task :detekt
[task 2024-02-02T15:57:02.236Z] Complexity Report:
[task 2024-02-02T15:57:02.236Z] - 136,636 lines of code (loc)
[task 2024-02-02T15:57:02.236Z] - 87,225 source lines of code (sloc)
[task 2024-02-02T15:57:02.236Z] - 60,799 logical lines of code (lloc)
[task 2024-02-02T15:57:02.236Z] - 32,118 comment lines of code (cloc)
[task 2024-02-02T15:57:02.236Z] - 13,683 cyclomatic complexity (mcc)
[task 2024-02-02T15:57:02.236Z] - 6,435 cognitive complexity
[task 2024-02-02T15:57:02.236Z] - 0 number of total code smells
[task 2024-02-02T15:57:02.236Z] - 36% comment source ratio
[task 2024-02-02T15:57:02.236Z] - 225 mcc per 1,000 lloc
[task 2024-02-02T15:57:02.236Z] - 0 code smells per 1,000 lloc
[task 2024-02-02T15:57:02.236Z]
[task 2024-02-02T15:57:02.236Z] Project Statistics:
[task 2024-02-02T15:57:02.236Z] - number of properties: 7233
[task 2024-02-02T15:57:02.236Z] - number of functions: 6503
[task 2024-02-02T15:57:02.236Z] - number of classes: 2567
[task 2024-02-02T15:57:02.236Z] - number of packages: 411
[task 2024-02-02T15:57:02.236Z] - number of kt files: 1219
[task 2024-02-02T15:57:02.236Z]
[task 2024-02-02T15:57:02.236Z] 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-02T15:57:02.236Z] Successfully generated Checkstyle XML report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.xml
[task 2024-02-02T15:57:02.236Z] Successfully generated plain text report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.txt
[task 2024-02-02T15:57:02.236Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.html
[task 2024-02-02T15:57:02.236Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/android-components/build/reports/detekt/detekt.md
[task 2024-02-02T15:57:02.301Z]
[task 2024-02-02T15:57:02.302Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-02-02T15:57:02.303Z]
[task 2024-02-02T15:57:02.303Z] 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-02T15:57:02.303Z]
[task 2024-02-02T15:57:02.303Z] 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-02T15:57:02.303Z]
[task 2024-02-02T15:57:02.303Z] BUILD SUCCESSFUL in 2m 3s
[task 2024-02-02T15:57:02.303Z] 18 actionable tasks: 18 executed
[fetches 2024-02-02T15:57:02.637Z] removing /builds/worker/fetches
[fetches 2024-02-02T15:57:02.994Z] finished
[taskcluster 2024-02-02 15:57:03.235Z] === Task Finished ===
[taskcluster 2024-02-02 15:57:04.164Z] Successful task run with exit code: 0 completed in 216.859 seconds
Loading