Update Android Components version #3402
Merged
firefoxci-taskcluster / lint-detekt
succeeded
Feb 6, 2025 in 20m 39s
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: 2025-02-06T10:22:13.956Z
Resolved: 2025-02-06T10:25:05.519Z
Task Execution Time: 2 minutes, 51 seconds, 563 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-02-06 10:22:14.030Z] Task ID: DjFZ367jR9qzIren7eYRZA
[taskcluster 2025-02-06 10:22:14.031Z] Worker ID: 2018080912155685869
[taskcluster 2025-02-06 10:22:14.031Z] Worker Group: us-west1-b
[taskcluster 2025-02-06 10:22:14.031Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-02-06 10:22:14.031Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2025-02-06 10:22:14.031Z] Worker Version: 38.0.5
[taskcluster 2025-02-06 10:22:14.031Z] Public IP: 34.19.1.203
[taskcluster 2025-02-06 10:22:14.031Z] Hostname: mobile-1-b-linux-gcp-n3c2hcjkr3ea-hmjfbotcw
[taskcluster 2025-02-06 10:22:17.842Z] Downloading artifact "public/image.tar.zst" from task ID: VBEeV5itQ1CSCeNXj_giTA.
[taskcluster 2025-02-06 10:22:22.845Z] Download Progress: 62.81%
[taskcluster 2025-02-06 10:22:25.914Z] Downloaded artifact successfully.
[taskcluster 2025-02-06 10:22:25.914Z] Downloaded 391.632 mb
[taskcluster 2025-02-06 10:22:25.915Z] Decompressing downloaded image
[taskcluster 2025-02-06 10:22:28.872Z] Loading docker image from downloaded archive.
[taskcluster 2025-02-06 10:22:48.141Z] Image 'public/image.tar.zst' from task 'VBEeV5itQ1CSCeNXj_giTA' loaded. Using image ID sha256:3c4e47ecb57a575e513f142bebf63540d044259695adcfc9c35effe006f0341d.
[taskcluster 2025-02-06 10:22:48.270Z] === Task Starting ===
[setup 2025-02-06T10:22:51.673Z] run-task started in /builds/worker
[setup 2025-02-06T10:22:51.673Z] 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 2025-02-06T10:22:51.673Z] Python version: 3.10.12
[volume 2025-02-06T10:22:51.675Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2025-02-06T10:22:51.675Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2025-02-06T10:22:51.675Z] running as worker:worker
[vcs 2025-02-06T10:22:51.675Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-02-06T10:22:51.677Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2025-02-06T10:22:51.678Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2025-02-06T10:22:52.285Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/MickeyMoz/reference-browser', 'ac-update']
[vcs 2025-02-06T10:22:52.626Z] From https://github.com/MickeyMoz/reference-browser
[vcs 2025-02-06T10:22:52.626Z] * branch ac-update -> FETCH_HEAD
[vcs 2025-02-06T10:22:52.628Z] executing ['git', 'checkout', '-f', '-B', 'ac-update', '5ec0801f07b50d1995b478a2a1c8e17f7b9a82f0']
[vcs 2025-02-06T10:22:52.649Z] Switched to a new branch 'ac-update'
[vcs 2025-02-06T10:22:52.649Z] cleaning git checkout...
[vcs 2025-02-06T10:22:52.650Z] executing ['git', 'clean', '-nxdff']
[vcs 2025-02-06T10:22:52.652Z] removing []
[vcs 2025-02-06T10:22:52.652Z] successfully cleaned git checkout!
[vcs 2025-02-06T10:22:52.654Z] TinderboxPrint:<a href='https://github.com/MickeyMoz/reference-browser/commit/5ec0801f07b50d1995b478a2a1c8e17f7b9a82f0' title='Built from reference-browser commit 5ec0801f07b50d1995b478a2a1c8e17f7b9a82f0'>5ec0801f07b50d1995b478a2a1c8e17f7b9a82f0</a>
[setup 2025-02-06T10:22:52.654Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2025-02-06T10:22:52.654Z] fetching artifacts
[fetches 2025-02-06T10:22:52.654Z] 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/LvqmRbxSSj6N4FCT0DxMJA/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/Y-IvNh_kSXmwWDfCDm5MWw/artifacts/public/build/android-gradle-dependencies.tar.xz to /builds/worker/fetches/android-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Y-IvNh_kSXmwWDfCDm5MWw/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.164s
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/Y-IvNh_kSXmwWDfCDm5MWw/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 463105400 bytes with sha256 b3d1c5911ad78428dd2b19a6f205d5199c04ca8f70f06f4e2b67a829310ea614 in 7.929s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Y-IvNh_kSXmwWDfCDm5MWw/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.567s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 28.739s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 36.888950128999994, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2025-02-06T10:23:29.631Z] finished fetching artifacts
[task 2025-02-06T10:23:29.631Z] 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 2025-02-06T10:23:29.633Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2025-02-06T10:23:29.714Z] Downloading https://services.gradle.org/distributions/gradle-8.12.1-bin.zip
[task 2025-02-06T10:23:31.677Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
[task 2025-02-06T10:23:33.036Z]
[task 2025-02-06T10:23:33.037Z] Welcome to Gradle 8.12.1!
[task 2025-02-06T10:23:33.037Z]
[task 2025-02-06T10:23:33.037Z] Here are the highlights of this release:
[task 2025-02-06T10:23:33.037Z] - Enhanced error and warning reporting with the Problems API
[task 2025-02-06T10:23:33.037Z] - File-system watching support on Alpine Linux
[task 2025-02-06T10:23:33.037Z] - Build and test Swift 6 libraries and apps
[task 2025-02-06T10:23:33.037Z]
[task 2025-02-06T10:23:33.038Z] For more details see https://docs.gradle.org/8.12.1/release-notes.html
[task 2025-02-06T10:23:33.038Z]
[task 2025-02-06T10:23:33.135Z] 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.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2025-02-06T10:23:34.335Z] Daemon will be stopped at the end of the build
[task 2025-02-06T10:23:37.638Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2025-02-06T10:24:19.737Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2025-02-06T10:24:27.035Z] > Task :buildSrc:processResources NO-SOURCE
[task 2025-02-06T10:24:32.535Z] > Task :buildSrc:compileKotlin
[task 2025-02-06T10:24:32.537Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2025-02-06T10:24:32.537Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2025-02-06T10:24:32.537Z] > Task :buildSrc:classes UP-TO-DATE
[task 2025-02-06T10:24:32.537Z] > Task :buildSrc:jar
[task 2025-02-06T10:24:47.536Z]
[task 2025-02-06T10:24:47.538Z] > Configure project :
[task 2025-02-06T10:24:47.539Z] The Dependency Analysis plugin is only known to work with versions of AGP between 8.0.0 and 8.7.0. You are using 8.8.0. Proceed at your own risk.
[task 2025-02-06T10:24:51.135Z]
[task 2025-02-06T10:24:51.147Z] > Configure project :app
[task 2025-02-06T10:24:51.147Z] Generated versionCode: 70371024
[task 2025-02-06T10:24:51.147Z]
[task 2025-02-06T10:24:52.935Z] Sentry token: debug :(
[task 2025-02-06T10:24:52.936Z] Sentry token: raptor :(
[task 2025-02-06T10:24:52.936Z] Sentry token: nightly :(
[task 2025-02-06T10:24:53.035Z] versionCode for arm64-v8a = 70371026
[task 2025-02-06T10:24:53.035Z] versionCode for armeabi-v7a = 70371024
[task 2025-02-06T10:24:53.035Z] versionCode for x86 = 70371028
[task 2025-02-06T10:24:53.035Z] versionCode for x86_64 = 70371030
[task 2025-02-06T10:24:53.235Z]
[task 2025-02-06T10:24:53.235Z] > Task :listRepositories
[task 2025-02-06T10:24:53.235Z] Repositories:
[task 2025-02-06T10:24:53.235Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2025-02-06T10:24:53.236Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2025-02-06T10:24:53.236Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2025-02-06T10:24:53.236Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2025-02-06T10:25:02.935Z]
[task 2025-02-06T10:25:02.935Z] > Task :detekt
[task 2025-02-06T10:25:02.935Z] Complexity Report:
[task 2025-02-06T10:25:02.935Z] - 11,305 lines of code (loc)
[task 2025-02-06T10:25:02.935Z] - 8,654 source lines of code (sloc)
[task 2025-02-06T10:25:02.935Z] - 5,767 logical lines of code (lloc)
[task 2025-02-06T10:25:02.935Z] - 1,038 comment lines of code (cloc)
[task 2025-02-06T10:25:02.935Z] - 1,125 cyclomatic complexity (mcc)
[task 2025-02-06T10:25:02.935Z] - 241 cognitive complexity
[task 2025-02-06T10:25:02.935Z] - 0 number of total code smells
[task 2025-02-06T10:25:02.935Z] - 11% comment source ratio
[task 2025-02-06T10:25:02.935Z] - 195 mcc per 1,000 lloc
[task 2025-02-06T10:25:02.935Z] - 0 code smells per 1,000 lloc
[task 2025-02-06T10:25:02.935Z]
[task 2025-02-06T10:25:02.935Z] Project Statistics:
[task 2025-02-06T10:25:02.935Z] - number of properties: 642
[task 2025-02-06T10:25:02.935Z] - number of functions: 825
[task 2025-02-06T10:25:02.935Z] - number of classes: 136
[task 2025-02-06T10:25:02.935Z] - number of packages: 26
[task 2025-02-06T10:25:02.935Z] - number of kt files: 124
[task 2025-02-06T10:25:02.935Z]
[task 2025-02-06T10:25:02.935Z] 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 2025-02-06T10:25:02.935Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2025-02-06T10:25:02.935Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2025-02-06T10:25:02.968Z]
[task 2025-02-06T10:25:02.968Z] [Incubating] Problems report is available at: file:///builds/worker/checkouts/vcs/build/reports/problems/problems-report.html
[task 2025-02-06T10:25:02.969Z]
[task 2025-02-06T10:25:02.969Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2025-02-06T10:25:02.969Z]
[task 2025-02-06T10:25:02.969Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2025-02-06T10:25:02.969Z]
[task 2025-02-06T10:25:02.971Z] For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2025-02-06T10:25:02.972Z]
[task 2025-02-06T10:25:02.973Z] BUILD SUCCESSFUL in 1m 33s
[task 2025-02-06T10:25:02.974Z] 4 actionable tasks: 4 executed
[fetches 2025-02-06T10:25:03.320Z] removing /builds/worker/fetches
[fetches 2025-02-06T10:25:03.641Z] finished
[taskcluster 2025-02-06 10:25:05.106Z] === Task Finished ===
[taskcluster 2025-02-06 10:25:05.106Z] Successful task run with exit code: 0 completed in 171.077 seconds
Loading