Use RequiresApi instead of TargetApi in NotificationManager #3265
firefoxci-taskcluster / lint-detekt
succeeded
Dec 3, 2024 in 4m 36s
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-03T20:36:13.798Z
Resolved: 2024-12-03T20:39:12.407Z
Task Execution Time: 2 minutes, 58 seconds, 609 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-03 20:36:13.864Z] Task ID: PPUXQ5mZS72Ovm0Igfn99A
[taskcluster 2024-12-03 20:36:13.864Z] Worker ID: 637784921244620164
[taskcluster 2024-12-03 20:36:13.864Z] Worker Group: us-central1-a
[taskcluster 2024-12-03 20:36:13.864Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-12-03 20:36:13.864Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-12-03 20:36:13.864Z] Worker Version: 38.0.5
[taskcluster 2024-12-03 20:36:13.864Z] Public IP: 34.121.22.46
[taskcluster 2024-12-03 20:36:13.864Z] Hostname: mobile-1-b-linux-gcp-tgt9mdy8tsowjnmfvhb1zq
[taskcluster 2024-12-03 20:36:17.081Z] Downloading artifact "public/image.tar.zst" from task ID: VBEeV5itQ1CSCeNXj_giTA.
[taskcluster 2024-12-03 20:36:22.083Z] Download Progress: 61.79%
[taskcluster 2024-12-03 20:36:25.679Z] Downloaded artifact successfully.
[taskcluster 2024-12-03 20:36:25.679Z] Downloaded 391.632 mb
[taskcluster 2024-12-03 20:36:25.680Z] Decompressing downloaded image
[taskcluster 2024-12-03 20:36:28.127Z] Loading docker image from downloaded archive.
[taskcluster 2024-12-03 20:36:48.473Z] Image 'public/image.tar.zst' from task 'VBEeV5itQ1CSCeNXj_giTA' loaded. Using image ID sha256:3c4e47ecb57a575e513f142bebf63540d044259695adcfc9c35effe006f0341d.
[taskcluster 2024-12-03 20:36:48.670Z] === Task Starting ===
[setup 2024-12-03T20:36:50.173Z] run-task started in /builds/worker
[setup 2024-12-03T20:36:50.173Z] 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-03T20:36:50.173Z] Python version: 3.10.12
[volume 2024-12-03T20:36:50.175Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-12-03T20:36:50.175Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-12-03T20:36:50.175Z] running as worker:worker
[vcs 2024-12-03T20:36:50.175Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-12-03T20:36:50.177Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2024-12-03T20:36:50.179Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-12-03T20:36:50.818Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-mobile/reference-browser', 'rvm/requiresapi']
[vcs 2024-12-03T20:36:50.992Z] From https://github.com/mozilla-mobile/reference-browser
[vcs 2024-12-03T20:36:50.992Z] * branch rvm/requiresapi -> FETCH_HEAD
[vcs 2024-12-03T20:36:50.997Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-mobile/reference-browser', 'rvm/requiresapi']
[vcs 2024-12-03T20:36:51.179Z] From https://github.com/mozilla-mobile/reference-browser
[vcs 2024-12-03T20:36:51.179Z] * branch rvm/requiresapi -> FETCH_HEAD
[vcs 2024-12-03T20:36:51.184Z] executing ['git', 'checkout', '-f', '-B', 'rvm/requiresapi', 'e9846a3f09323e16cbd94720b8e437c57e1d45cd']
[vcs 2024-12-03T20:36:51.205Z] Switched to a new branch 'rvm/requiresapi'
[vcs 2024-12-03T20:36:51.206Z] cleaning git checkout...
[vcs 2024-12-03T20:36:51.206Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-03T20:36:51.208Z] removing []
[vcs 2024-12-03T20:36:51.208Z] successfully cleaned git checkout!
[vcs 2024-12-03T20:36:51.210Z] TinderboxPrint:<a href='https://github.com/mozilla-mobile/reference-browser/commit/e9846a3f09323e16cbd94720b8e437c57e1d45cd' title='Built from reference-browser commit e9846a3f09323e16cbd94720b8e437c57e1d45cd'>e9846a3f09323e16cbd94720b8e437c57e1d45cd</a>
[setup 2024-12-03T20:36:51.210Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-12-03T20:36:51.210Z] fetching artifacts
[fetches 2024-12-03T20:36:51.210Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H6saa_TtRH6i1Q6DTRwmbQ/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 to /builds/worker/fetches/android-sdk-linux.tar.xzDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H6saa_TtRH6i1Q6DTRwmbQ/artifacts/public/build/android-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/LvqmRbxSSj6N4FCT0DxMJA/artifacts/mobile/android-sdk/android-sdk-linux.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.323s
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/H6saa_TtRH6i1Q6DTRwmbQ/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 450281560 bytes with sha256 400b66925dad59811d543c89f0f9b97af691462e6fa1b8a49fd01f0dd043d5b4 in 8.520s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H6saa_TtRH6i1Q6DTRwmbQ/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.536s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 28.157s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 36.71733018100001, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-12-03T20:37:28.012Z] finished fetching artifacts
[task 2024-12-03T20:37:28.012Z] 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-03T20:37:28.014Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2024-12-03T20:37:28.108Z] Downloading https://services.gradle.org/distributions/gradle-8.11.1-bin.zip
[task 2024-12-03T20:37:29.970Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
[task 2024-12-03T20:37:31.466Z]
[task 2024-12-03T20:37:31.468Z] Welcome to Gradle 8.11.1!
[task 2024-12-03T20:37:31.468Z]
[task 2024-12-03T20:37:31.468Z] Here are the highlights of this release:
[task 2024-12-03T20:37:31.468Z] - Parallel load and store for Configuration Cache
[task 2024-12-03T20:37:31.468Z] - Java compilation errors at the end of the build output
[task 2024-12-03T20:37:31.468Z] - Consolidated report for warnings and deprecations
[task 2024-12-03T20:37:31.469Z]
[task 2024-12-03T20:37:31.469Z] For more details see https://docs.gradle.org/8.11.1/release-notes.html
[task 2024-12-03T20:37:31.469Z]
[task 2024-12-03T20:37:31.564Z] 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-03T20:37:32.868Z] Daemon will be stopped at the end of the build
[task 2024-12-03T20:37:36.964Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2024-12-03T20:38:20.166Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2024-12-03T20:38:27.364Z] > Task :buildSrc:processResources NO-SOURCE
[task 2024-12-03T20:38:32.964Z] > Task :buildSrc:compileKotlin
[task 2024-12-03T20:38:32.965Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2024-12-03T20:38:32.965Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2024-12-03T20:38:32.965Z] > Task :buildSrc:classes UP-TO-DATE
[task 2024-12-03T20:38:33.064Z] > Task :buildSrc:jar
[task 2024-12-03T20:38:56.865Z]
[task 2024-12-03T20:38:56.867Z] > Configure project :app
[task 2024-12-03T20:38:56.869Z] Generated versionCode: 63382038
[task 2024-12-03T20:38:56.870Z]
[task 2024-12-03T20:38:58.664Z] Sentry token: debug :(
[task 2024-12-03T20:38:58.664Z] Sentry token: raptor :(
[task 2024-12-03T20:38:58.764Z] Sentry token: nightly :(
[task 2024-12-03T20:38:58.765Z] versionCode for arm64-v8a = 63382040
[task 2024-12-03T20:38:58.766Z] versionCode for armeabi-v7a = 63382038
[task 2024-12-03T20:38:58.767Z] versionCode for x86 = 63382042
[task 2024-12-03T20:38:58.768Z] versionCode for x86_64 = 63382044
[task 2024-12-03T20:38:59.064Z]
[task 2024-12-03T20:38:59.066Z] > Task :listRepositories
[task 2024-12-03T20:38:59.067Z] Repositories:
[task 2024-12-03T20:38:59.068Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2024-12-03T20:38:59.069Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2024-12-03T20:38:59.070Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-12-03T20:38:59.070Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2024-12-03T20:39:09.764Z]
[task 2024-12-03T20:39:09.765Z] > Task :detekt
[task 2024-12-03T20:39:09.765Z] Complexity Report:
[task 2024-12-03T20:39:09.765Z] - 11,307 lines of code (loc)
[task 2024-12-03T20:39:09.765Z] - 8,656 source lines of code (sloc)
[task 2024-12-03T20:39:09.765Z] - 5,775 logical lines of code (lloc)
[task 2024-12-03T20:39:09.765Z] - 1,038 comment lines of code (cloc)
[task 2024-12-03T20:39:09.766Z] - 1,124 cyclomatic complexity (mcc)
[task 2024-12-03T20:39:09.766Z] - 241 cognitive complexity
[task 2024-12-03T20:39:09.766Z] - 0 number of total code smells
[task 2024-12-03T20:39:09.767Z] - 11% comment source ratio
[task 2024-12-03T20:39:09.767Z] - 194 mcc per 1,000 lloc
[task 2024-12-03T20:39:09.767Z] - 0 code smells per 1,000 lloc
[task 2024-12-03T20:39:09.768Z]
[task 2024-12-03T20:39:09.768Z] Project Statistics:
[task 2024-12-03T20:39:09.768Z] - number of properties: 642
[task 2024-12-03T20:39:09.768Z] - number of functions: 825
[task 2024-12-03T20:39:09.769Z] - number of classes: 136
[task 2024-12-03T20:39:09.769Z] - number of packages: 26
[task 2024-12-03T20:39:09.769Z] - number of kt files: 124
[task 2024-12-03T20:39:09.770Z]
[task 2024-12-03T20:39:09.770Z] 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-03T20:39:09.770Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2024-12-03T20:39:09.770Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2024-12-03T20:39:09.803Z]
[task 2024-12-03T20:39:09.803Z] BUILD SUCCESSFUL in 1m 41s
[task 2024-12-03T20:39:09.803Z] 4 actionable tasks: 4 executed
[fetches 2024-12-03T20:39:10.158Z] removing /builds/worker/fetches
[fetches 2024-12-03T20:39:10.476Z] finished
[taskcluster 2024-12-03 20:39:11.884Z] === Task Finished ===
[taskcluster 2024-12-03 20:39:11.885Z] Successful task run with exit code: 0 completed in 178.021 seconds
Loading