Update Android Components version #3312
Merged
firefoxci-taskcluster / lint-detekt
succeeded
Dec 23, 2024 in 34m 57s
FirefoxCI (pull_request)
Running detekt over all modules (Treeherder push)
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-12-23T16:37:16.061Z
Resolved: 2024-12-23T16:40:12.868Z
Task Execution Time: 2 minutes, 56 seconds, 807 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-23 16:37:16.129Z] Task ID: LIsnhONbT1WJGfly0VTvfg
[taskcluster 2024-12-23 16:37:16.129Z] Worker ID: 2103955175478931334
[taskcluster 2024-12-23 16:37:16.129Z] Worker Group: us-central1-a
[taskcluster 2024-12-23 16:37:16.129Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-12-23 16:37:16.129Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-12-23 16:37:16.129Z] Worker Version: 38.0.5
[taskcluster 2024-12-23 16:37:16.129Z] Public IP: 34.57.17.19
[taskcluster 2024-12-23 16:37:16.129Z] Hostname: mobile-1-b-linux-gcp-hvsfnsfltr2ziibmqcpjlw
[taskcluster 2024-12-23 16:37:21.697Z] Downloading artifact "public/image.tar.zst" from task ID: VBEeV5itQ1CSCeNXj_giTA.
[taskcluster 2024-12-23 16:37:25.848Z] Downloaded artifact successfully.
[taskcluster 2024-12-23 16:37:25.849Z] Downloaded 391.632 mb
[taskcluster 2024-12-23 16:37:25.850Z] Decompressing downloaded image
[taskcluster 2024-12-23 16:37:28.369Z] Loading docker image from downloaded archive.
[taskcluster 2024-12-23 16:37:48.403Z] Image 'public/image.tar.zst' from task 'VBEeV5itQ1CSCeNXj_giTA' loaded. Using image ID sha256:3c4e47ecb57a575e513f142bebf63540d044259695adcfc9c35effe006f0341d.
[taskcluster 2024-12-23 16:37:48.599Z] === Task Starting ===
[setup 2024-12-23T16:37:51.982Z] run-task started in /builds/worker
[setup 2024-12-23T16:37:51.982Z] Invoked by command: --mobile-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[setup 2024-12-23T16:37:51.982Z] Python version: 3.10.12
[volume 2024-12-23T16:37:51.984Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-12-23T16:37:51.984Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-12-23T16:37:51.984Z] running as worker:worker
[vcs 2024-12-23T16:37:51.984Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-12-23T16:37:51.986Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2024-12-23T16:37:51.988Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-12-23T16:37:52.597Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/MickeyMoz/reference-browser', 'ac-update']
[vcs 2024-12-23T16:37:52.838Z] From https://github.com/MickeyMoz/reference-browser
[vcs 2024-12-23T16:37:52.838Z] * branch ac-update -> FETCH_HEAD
[vcs 2024-12-23T16:37:52.840Z] executing ['git', 'checkout', '-f', '-B', 'ac-update', 'd650c25846b4cb361efffb75cd003a3393c170b2']
[vcs 2024-12-23T16:37:52.860Z] Switched to a new branch 'ac-update'
[vcs 2024-12-23T16:37:52.861Z] cleaning git checkout...
[vcs 2024-12-23T16:37:52.861Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-23T16:37:52.864Z] removing []
[vcs 2024-12-23T16:37:52.864Z] successfully cleaned git checkout!
[vcs 2024-12-23T16:37:52.865Z] TinderboxPrint:<a href='https://github.com/MickeyMoz/reference-browser/commit/d650c25846b4cb361efffb75cd003a3393c170b2' title='Built from reference-browser commit d650c25846b4cb361efffb75cd003a3393c170b2'>d650c25846b4cb361efffb75cd003a3393c170b2</a>
[setup 2024-12-23T16:37:52.865Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-12-23T16:37:52.865Z] fetching artifacts
[fetches 2024-12-23T16:37:52.866Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TJCSgOxvRtGQGpdziwiI1Q/artifacts/public/build/android-gradle-dependencies.tar.xz to /builds/worker/fetches/android-gradle-dependencies.tar.xzattempt 1/5
Downloading http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz to /builds/worker/fetches/android-sdk-linux.tar.xz
Downloading http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xzDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TJCSgOxvRtGQGpdziwiI1Q/artifacts/public/build/android-gradle-dependencies.tar.xz
/usr/local/bin/fetch-content:193: DeprecationWarning: cafile, capath and cadefault are deprecated, use a custom context instead.
with urllib.request.urlopen(
http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz resolved to 129728324 bytes with sha256 998d3b0454c3b60a698fa5ebc04510e5bd060ffe69402767cb3e315e506cd2c8 in 1.106s
Verified size of http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TJCSgOxvRtGQGpdziwiI1Q/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 453120948 bytes with sha256 6363e7a1330c73d82cc1c9886dfb427ba938bd17f369f0fd529c45aac24ec5b1 in 7.383s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TJCSgOxvRtGQGpdziwiI1Q/artifacts/public/build/android-gradle-dependencies.tar.xz
Extracting /builds/worker/fetches/android-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 8.574s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 28.179s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 35.712724707999996, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-12-23T16:38:28.674Z] finished fetching artifacts
[task 2024-12-23T16:38:28.674Z] executing ['bash', '-cx', './gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt']
[task 2024-12-23T16:38:28.676Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2024-12-23T16:38:28.766Z] Downloading https://services.gradle.org/distributions/gradle-8.12-bin.zip
[task 2024-12-23T16:38:30.933Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
[task 2024-12-23T16:38:32.352Z]
[task 2024-12-23T16:38:32.352Z] Welcome to Gradle 8.12!
[task 2024-12-23T16:38:32.352Z]
[task 2024-12-23T16:38:32.352Z] Here are the highlights of this release:
[task 2024-12-23T16:38:32.353Z] - Enhanced error and warning reporting with the Problems API
[task 2024-12-23T16:38:32.353Z] - File-system watching support on Alpine Linux
[task 2024-12-23T16:38:32.353Z] - Build and test Swift 6 libraries and apps
[task 2024-12-23T16:38:32.353Z]
[task 2024-12-23T16:38:32.353Z] For more details see https://docs.gradle.org/8.12/release-notes.html
[task 2024-12-23T16:38:32.353Z]
[task 2024-12-23T16:38:32.552Z] 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.12/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2024-12-23T16:38:33.851Z] Daemon will be stopped at the end of the build
[task 2024-12-23T16:38:38.052Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2024-12-23T16:39:22.853Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2024-12-23T16:39:30.251Z] > Task :buildSrc:processResources NO-SOURCE
[task 2024-12-23T16:39:35.351Z] > Task :buildSrc:compileKotlin
[task 2024-12-23T16:39:35.351Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2024-12-23T16:39:35.351Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2024-12-23T16:39:35.351Z] > Task :buildSrc:classes UP-TO-DATE
[task 2024-12-23T16:39:35.451Z] > Task :buildSrc:jar
[task 2024-12-23T16:39:54.652Z]
[task 2024-12-23T16:39:54.664Z] > Configure project :app
[task 2024-12-23T16:39:54.664Z] Generated versionCode: 63581639
[task 2024-12-23T16:39:54.664Z]
[task 2024-12-23T16:39:56.051Z] Sentry token: debug :(
[task 2024-12-23T16:39:56.151Z] Sentry token: raptor :(
[task 2024-12-23T16:39:56.152Z] Sentry token: nightly :(
[task 2024-12-23T16:39:56.153Z] versionCode for arm64-v8a = 63581642
[task 2024-12-23T16:39:56.154Z] versionCode for armeabi-v7a = 63581640
[task 2024-12-23T16:39:56.155Z] versionCode for x86 = 63581644
[task 2024-12-23T16:39:56.156Z] versionCode for x86_64 = 63581646
[task 2024-12-23T16:39:56.451Z]
[task 2024-12-23T16:39:56.453Z] > Task :listRepositories
[task 2024-12-23T16:39:56.454Z] Repositories:
[task 2024-12-23T16:39:56.454Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2024-12-23T16:39:56.455Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2024-12-23T16:39:56.456Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-12-23T16:39:56.457Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2024-12-23T16:40:10.151Z]
[task 2024-12-23T16:40:10.153Z] > Task :detekt
[task 2024-12-23T16:40:10.154Z] Complexity Report:
[task 2024-12-23T16:40:10.155Z] - 11,307 lines of code (loc)
[task 2024-12-23T16:40:10.157Z] - 8,656 source lines of code (sloc)
[task 2024-12-23T16:40:10.159Z] - 5,775 logical lines of code (lloc)
[task 2024-12-23T16:40:10.161Z] - 1,038 comment lines of code (cloc)
[task 2024-12-23T16:40:10.163Z] - 1,124 cyclomatic complexity (mcc)
[task 2024-12-23T16:40:10.164Z] - 241 cognitive complexity
[task 2024-12-23T16:40:10.166Z] - 0 number of total code smells
[task 2024-12-23T16:40:10.168Z] - 11% comment source ratio
[task 2024-12-23T16:40:10.170Z] - 194 mcc per 1,000 lloc
[task 2024-12-23T16:40:10.171Z] - 0 code smells per 1,000 lloc
[task 2024-12-23T16:40:10.171Z]
[task 2024-12-23T16:40:10.171Z] Project Statistics:
[task 2024-12-23T16:40:10.171Z] - number of properties: 642
[task 2024-12-23T16:40:10.171Z] - number of functions: 825
[task 2024-12-23T16:40:10.171Z] - number of classes: 136
[task 2024-12-23T16:40:10.171Z] - number of packages: 26
[task 2024-12-23T16:40:10.172Z] - number of kt files: 124
[task 2024-12-23T16:40:10.172Z]
[task 2024-12-23T16:40:10.172Z] Successfully generated SARIF: a standard format for the output of static analysis tools at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.sarif
[task 2024-12-23T16:40:10.172Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2024-12-23T16:40:10.172Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2024-12-23T16:40:10.172Z]
[task 2024-12-23T16:40:10.172Z] [Incubating] Problems report is available at: file:///builds/worker/checkouts/vcs/build/reports/problems/problems-report.html
[task 2024-12-23T16:40:10.173Z]
[task 2024-12-23T16:40:10.173Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-12-23T16:40:10.173Z]
[task 2024-12-23T16:40:10.173Z] 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-12-23T16:40:10.173Z]
[task 2024-12-23T16:40:10.173Z] For more on this, please refer to https://docs.gradle.org/8.12/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2024-12-23T16:40:10.173Z]
[task 2024-12-23T16:40:10.173Z] BUILD SUCCESSFUL in 1m 41s
[task 2024-12-23T16:40:10.173Z] 4 actionable tasks: 4 executed
[fetches 2024-12-23T16:40:10.528Z] removing /builds/worker/fetches
[fetches 2024-12-23T16:40:10.853Z] finished
[taskcluster 2024-12-23 16:40:12.351Z] === Task Finished ===
[taskcluster 2024-12-23 16:40:12.351Z] Successful task run with exit code: 0 completed in 176.223 seconds
Loading