Update Android Components version #3294
Merged
firefoxci-taskcluster / lint-detekt
succeeded
Dec 16, 2024 in 4m 19s
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-16T10:05:37.610Z
Resolved: 2024-12-16T10:08:26.916Z
Task Execution Time: 2 minutes, 49 seconds, 306 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-16 10:05:37.727Z] Task ID: DP7ER6GLRBapv7L2GZMsMQ
[taskcluster 2024-12-16 10:05:37.727Z] Worker ID: 7825890480443508208
[taskcluster 2024-12-16 10:05:37.727Z] Worker Group: us-central1-c
[taskcluster 2024-12-16 10:05:37.727Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-12-16 10:05:37.727Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-12-16 10:05:37.727Z] Worker Version: 38.0.5
[taskcluster 2024-12-16 10:05:37.727Z] Public IP: 34.30.48.109
[taskcluster 2024-12-16 10:05:37.727Z] Hostname: mobile-1-b-linux-gcp-q0vz-badqmmp52egpnbijq
[taskcluster 2024-12-16 10:05:40.420Z] Downloading artifact "public/image.tar.zst" from task ID: VBEeV5itQ1CSCeNXj_giTA.
[taskcluster 2024-12-16 10:05:45.423Z] Download Progress: 85.79%
[taskcluster 2024-12-16 10:05:46.622Z] Downloaded artifact successfully.
[taskcluster 2024-12-16 10:05:46.622Z] Downloaded 391.632 mb
[taskcluster 2024-12-16 10:05:46.623Z] Decompressing downloaded image
[taskcluster 2024-12-16 10:05:49.189Z] Loading docker image from downloaded archive.
[taskcluster 2024-12-16 10:06:07.990Z] Image 'public/image.tar.zst' from task 'VBEeV5itQ1CSCeNXj_giTA' loaded. Using image ID sha256:3c4e47ecb57a575e513f142bebf63540d044259695adcfc9c35effe006f0341d.
[taskcluster 2024-12-16 10:06:08.196Z] === Task Starting ===
[setup 2024-12-16T10:06:11.727Z] run-task started in /builds/worker
[setup 2024-12-16T10:06:11.727Z] 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-16T10:06:11.727Z] Python version: 3.10.12
[volume 2024-12-16T10:06:11.728Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-12-16T10:06:11.728Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-12-16T10:06:11.729Z] running as worker:worker
[vcs 2024-12-16T10:06:11.729Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-12-16T10:06:11.731Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2024-12-16T10:06:11.732Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-12-16T10:06:12.375Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/MickeyMoz/reference-browser', 'ac-update']
[vcs 2024-12-16T10:06:12.621Z] From https://github.com/MickeyMoz/reference-browser
[vcs 2024-12-16T10:06:12.621Z] * branch ac-update -> FETCH_HEAD
[vcs 2024-12-16T10:06:12.623Z] executing ['git', 'checkout', '-f', '-B', 'ac-update', '8c0bf33493fd3406c696a3ea0c6282208c17c2ef']
[vcs 2024-12-16T10:06:12.644Z] Switched to a new branch 'ac-update'
[vcs 2024-12-16T10:06:12.645Z] cleaning git checkout...
[vcs 2024-12-16T10:06:12.645Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-16T10:06:12.647Z] removing []
[vcs 2024-12-16T10:06:12.647Z] successfully cleaned git checkout!
[vcs 2024-12-16T10:06:12.649Z] TinderboxPrint:<a href='https://github.com/MickeyMoz/reference-browser/commit/8c0bf33493fd3406c696a3ea0c6282208c17c2ef' title='Built from reference-browser commit 8c0bf33493fd3406c696a3ea0c6282208c17c2ef'>8c0bf33493fd3406c696a3ea0c6282208c17c2ef</a>
[setup 2024-12-16T10:06:12.649Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-12-16T10:06:12.649Z] fetching artifacts
[fetches 2024-12-16T10:06:12.649Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_f4JIL_ToW1H9UzTJWaeA/artifacts/public/build/android-gradle-dependencies.tar.xz to /builds/worker/fetches/android-gradle-dependencies.tar.xzDownloading 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.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_f4JIL_ToW1H9UzTJWaeA/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.770s
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/A_f4JIL_ToW1H9UzTJWaeA/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 454908256 bytes with sha256 ddc581a0d6b92d8d57d86768e8d123c35605c8ee3754ae707d04c1114b283f47 in 7.217s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_f4JIL_ToW1H9UzTJWaeA/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.965s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 28.543s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 35.80049456900001, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-12-16T10:06:48.537Z] finished fetching artifacts
[task 2024-12-16T10:06:48.537Z] 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-16T10:06:48.539Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2024-12-16T10:06:48.634Z] Downloading https://services.gradle.org/distributions/gradle-8.11.1-bin.zip
[task 2024-12-16T10:06:50.434Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
[task 2024-12-16T10:06:51.815Z]
[task 2024-12-16T10:06:51.815Z] Welcome to Gradle 8.11.1!
[task 2024-12-16T10:06:51.815Z]
[task 2024-12-16T10:06:51.816Z] Here are the highlights of this release:
[task 2024-12-16T10:06:51.816Z] - Parallel load and store for Configuration Cache
[task 2024-12-16T10:06:51.817Z] - Java compilation errors at the end of the build output
[task 2024-12-16T10:06:51.817Z] - Consolidated report for warnings and deprecations
[task 2024-12-16T10:06:51.818Z]
[task 2024-12-16T10:06:51.818Z] For more details see https://docs.gradle.org/8.11.1/release-notes.html
[task 2024-12-16T10:06:51.818Z]
[task 2024-12-16T10:06:51.914Z] 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.11.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2024-12-16T10:06:53.114Z] Daemon will be stopped at the end of the build
[task 2024-12-16T10:06:56.214Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2024-12-16T10:07:37.116Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2024-12-16T10:07:43.714Z] > Task :buildSrc:processResources NO-SOURCE
[task 2024-12-16T10:07:48.714Z] > Task :buildSrc:compileKotlin
[task 2024-12-16T10:07:48.714Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2024-12-16T10:07:48.714Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2024-12-16T10:07:48.714Z] > Task :buildSrc:classes UP-TO-DATE
[task 2024-12-16T10:07:48.814Z] > Task :buildSrc:jar
[task 2024-12-16T10:08:08.015Z]
[task 2024-12-16T10:08:08.043Z] > Configure project :app
[task 2024-12-16T10:08:08.043Z] Generated versionCode: 63511008
[task 2024-12-16T10:08:08.043Z]
[task 2024-12-16T10:08:09.914Z] Sentry token: debug :(
[task 2024-12-16T10:08:09.916Z] Sentry token: raptor :(
[task 2024-12-16T10:08:09.917Z] Sentry token: nightly :(
[task 2024-12-16T10:08:10.014Z] versionCode for arm64-v8a = 63511010
[task 2024-12-16T10:08:10.016Z] versionCode for armeabi-v7a = 63511008
[task 2024-12-16T10:08:10.018Z] versionCode for x86 = 63511012
[task 2024-12-16T10:08:10.018Z] versionCode for x86_64 = 63511014
[task 2024-12-16T10:08:10.314Z]
[task 2024-12-16T10:08:10.314Z] > Task :listRepositories
[task 2024-12-16T10:08:10.314Z] Repositories:
[task 2024-12-16T10:08:10.314Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2024-12-16T10:08:10.314Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2024-12-16T10:08:10.315Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-12-16T10:08:10.315Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2024-12-16T10:08:24.314Z]
[task 2024-12-16T10:08:24.314Z] > Task :detekt
[task 2024-12-16T10:08:24.314Z] Complexity Report:
[task 2024-12-16T10:08:24.314Z] - 11,307 lines of code (loc)
[task 2024-12-16T10:08:24.315Z] - 8,656 source lines of code (sloc)
[task 2024-12-16T10:08:24.315Z] - 5,775 logical lines of code (lloc)
[task 2024-12-16T10:08:24.315Z] - 1,038 comment lines of code (cloc)
[task 2024-12-16T10:08:24.315Z] - 1,124 cyclomatic complexity (mcc)
[task 2024-12-16T10:08:24.315Z] - 241 cognitive complexity
[task 2024-12-16T10:08:24.315Z] - 0 number of total code smells
[task 2024-12-16T10:08:24.315Z] - 11% comment source ratio
[task 2024-12-16T10:08:24.315Z] - 194 mcc per 1,000 lloc
[task 2024-12-16T10:08:24.315Z] - 0 code smells per 1,000 lloc
[task 2024-12-16T10:08:24.315Z]
[task 2024-12-16T10:08:24.315Z] Project Statistics:
[task 2024-12-16T10:08:24.315Z] - number of properties: 642
[task 2024-12-16T10:08:24.315Z] - number of functions: 825
[task 2024-12-16T10:08:24.315Z] - number of classes: 136
[task 2024-12-16T10:08:24.315Z] - number of packages: 26
[task 2024-12-16T10:08:24.315Z] - number of kt files: 124
[task 2024-12-16T10:08:24.315Z]
[task 2024-12-16T10:08:24.315Z] 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-16T10:08:24.315Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2024-12-16T10:08:24.315Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2024-12-16T10:08:24.369Z]
[task 2024-12-16T10:08:24.369Z] BUILD SUCCESSFUL in 1m 35s
[task 2024-12-16T10:08:24.369Z] 4 actionable tasks: 4 executed
[fetches 2024-12-16T10:08:24.714Z] removing /builds/worker/fetches
[fetches 2024-12-16T10:08:25.023Z] finished
[taskcluster 2024-12-16 10:08:26.457Z] === Task Finished ===
[taskcluster 2024-12-16 10:08:26.457Z] Successful task run with exit code: 0 completed in 168.731 seconds
Loading