Add and improve documentation #3129
Closed
firefoxci-taskcluster / lint-detekt
succeeded
Oct 2, 2024 in 4m 7s
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-10-02T03:14:01.561Z
Resolved: 2024-10-02T03:16:46.242Z
Task Execution Time: 2 minutes, 44 seconds, 681 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-10-02 03:14:01.647Z] Task ID: b3-VOatQStaPr7AcxNg_IA
[taskcluster 2024-10-02 03:14:01.647Z] Worker ID: 1172049612703335646
[taskcluster 2024-10-02 03:14:01.647Z] Worker Group: us-central1-a
[taskcluster 2024-10-02 03:14:01.647Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-10-02 03:14:01.647Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-10-02 03:14:01.647Z] Worker Version: 38.0.5
[taskcluster 2024-10-02 03:14:01.647Z] Public IP: 34.68.226.44
[taskcluster 2024-10-02 03:14:01.647Z] Hostname: mobile-1-b-linux-gcp-f5hb7mw3sqovn51wmocmrg
[taskcluster 2024-10-02 03:14:04.217Z] Downloading artifact "public/image.tar.zst" from task ID: Bk9hYOugRJ21woM00C3YMA.
[taskcluster 2024-10-02 03:14:07.692Z] Downloaded artifact successfully.
[taskcluster 2024-10-02 03:14:07.693Z] Downloaded 389.561 mb
[taskcluster 2024-10-02 03:14:07.694Z] Decompressing downloaded image
[taskcluster 2024-10-02 03:14:10.360Z] Loading docker image from downloaded archive.
[taskcluster 2024-10-02 03:14:28.630Z] Image 'public/image.tar.zst' from task 'Bk9hYOugRJ21woM00C3YMA' loaded. Using image ID sha256:9bcbf2591b8ae4ab791fb165198822313ba389264489fbde3a8b99c42e41f075.
[taskcluster 2024-10-02 03:14:28.798Z] === Task Starting ===
[setup 2024-10-02T03:14:32.370Z] run-task started in /builds/worker
[setup 2024-10-02T03:14:32.370Z] 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-10-02T03:14:32.370Z] Python version: 3.10.12
[volume 2024-10-02T03:14:32.372Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-10-02T03:14:32.372Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-10-02T03:14:32.372Z] running as worker:worker
[vcs 2024-10-02T03:14:32.373Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-10-02T03:14:32.375Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2024-10-02T03:14:32.377Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-10-02T03:14:32.990Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-mobile/reference-browser', 'rvm/function_docs']
[vcs 2024-10-02T03:14:33.179Z] From https://github.com/mozilla-mobile/reference-browser
[vcs 2024-10-02T03:14:33.179Z] * branch rvm/function_docs -> FETCH_HEAD
[vcs 2024-10-02T03:14:33.183Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-mobile/reference-browser', 'rvm/function_docs']
[vcs 2024-10-02T03:14:33.402Z] From https://github.com/mozilla-mobile/reference-browser
[vcs 2024-10-02T03:14:33.402Z] * branch rvm/function_docs -> FETCH_HEAD
[vcs 2024-10-02T03:14:33.406Z] executing ['git', 'checkout', '-f', '-B', 'rvm/function_docs', '6bdd2ca35bb03a51f83e801d38c783d81be87dab']
[vcs 2024-10-02T03:14:33.428Z] Switched to a new branch 'rvm/function_docs'
[vcs 2024-10-02T03:14:33.428Z] cleaning git checkout...
[vcs 2024-10-02T03:14:33.428Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-10-02T03:14:33.431Z] removing []
[vcs 2024-10-02T03:14:33.431Z] successfully cleaned git checkout!
[vcs 2024-10-02T03:14:33.433Z] TinderboxPrint:<a href='https://github.com/mozilla-mobile/reference-browser/commit/6bdd2ca35bb03a51f83e801d38c783d81be87dab' title='Built from reference-browser commit 6bdd2ca35bb03a51f83e801d38c783d81be87dab'>6bdd2ca35bb03a51f83e801d38c783d81be87dab</a>
[setup 2024-10-02T03:14:33.433Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-10-02T03:14:33.433Z] fetching artifacts
[fetches 2024-10-02T03:14:33.433Z] 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/OMN-07oJSP-mCMBzzrIC8Q/artifacts/public/build/android-gradle-dependencies.tar.xz to /builds/worker/fetches/android-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/F-bSOO2RT8GBvccApE34eA/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/OMN-07oJSP-mCMBzzrIC8Q/artifacts/public/build/android-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/F-bSOO2RT8GBvccApE34eA/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/F-bSOO2RT8GBvccApE34eA/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz resolved to 129848632 bytes with sha256 42a6dc947f3ed0a29c2add16318120acf458506a584cc3429fbf1baafc2f5e83 in 1.761s
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OMN-07oJSP-mCMBzzrIC8Q/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 436750056 bytes with sha256 fbf35345440f5e47db5c0a78c44babf20b176307bc0500b3420f5b727734477c in 4.883s
Extracting /builds/worker/fetches/android-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 8.917s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 27.111s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 32.036997967000005, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-10-02T03:15:05.560Z] finished fetching artifacts
[task 2024-10-02T03:15:05.560Z] 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-10-02T03:15:05.562Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2024-10-02T03:15:05.655Z] Downloading https://services.gradle.org/distributions/gradle-8.10.2-bin.zip
[task 2024-10-02T03:15:07.304Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
[task 2024-10-02T03:15:08.701Z]
[task 2024-10-02T03:15:08.701Z] Welcome to Gradle 8.10.2!
[task 2024-10-02T03:15:08.701Z]
[task 2024-10-02T03:15:08.701Z] Here are the highlights of this release:
[task 2024-10-02T03:15:08.701Z] - Support for Java 23
[task 2024-10-02T03:15:08.701Z] - Faster configuration cache
[task 2024-10-02T03:15:08.701Z] - Better configuration cache reports
[task 2024-10-02T03:15:08.701Z]
[task 2024-10-02T03:15:08.701Z] For more details see https://docs.gradle.org/8.10.2/release-notes.html
[task 2024-10-02T03:15:08.701Z]
[task 2024-10-02T03:15:08.897Z] 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.10.2/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2024-10-02T03:15:10.894Z] Daemon will be stopped at the end of the build
[task 2024-10-02T03:15:14.897Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2024-10-02T03:15:55.796Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors
[task 2024-10-02T03:16:02.294Z] > Task :buildSrc:processResources NO-SOURCE
[task 2024-10-02T03:16:07.294Z] > Task :buildSrc:compileKotlin
[task 2024-10-02T03:16:07.294Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2024-10-02T03:16:07.295Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2024-10-02T03:16:07.295Z] > Task :buildSrc:classes UP-TO-DATE
[task 2024-10-02T03:16:07.394Z] > Task :buildSrc:jar
[task 2024-10-02T03:16:31.195Z]
[task 2024-10-02T03:16:31.210Z] > Configure project :app
[task 2024-10-02T03:16:31.210Z] Generated versionCode: 62760316
[task 2024-10-02T03:16:31.210Z]
[task 2024-10-02T03:16:32.594Z] Sentry token: debug :(
[task 2024-10-02T03:16:32.596Z] Sentry token: raptor :(
[task 2024-10-02T03:16:32.597Z] Sentry token: nightly :(
[task 2024-10-02T03:16:32.694Z] versionCode for arm64-v8a = 62760318
[task 2024-10-02T03:16:32.696Z] versionCode for armeabi-v7a = 62760316
[task 2024-10-02T03:16:32.697Z] versionCode for x86 = 62760320
[task 2024-10-02T03:16:32.698Z] versionCode for x86_64 = 62760322
[task 2024-10-02T03:16:32.894Z]
[task 2024-10-02T03:16:32.896Z] > Task :listRepositories
[task 2024-10-02T03:16:32.898Z] Repositories:
[task 2024-10-02T03:16:32.899Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2024-10-02T03:16:32.900Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2024-10-02T03:16:32.901Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-10-02T03:16:32.902Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2024-10-02T03:16:43.167Z]
[task 2024-10-02T03:16:43.167Z] > Task :detekt
[task 2024-10-02T03:16:43.170Z] Complexity Report:
[task 2024-10-02T03:16:43.170Z] - 11,442 lines of code (loc)
[task 2024-10-02T03:16:43.170Z] - 8,708 source lines of code (sloc)
[task 2024-10-02T03:16:43.170Z] - 5,809 logical lines of code (lloc)
[task 2024-10-02T03:16:43.170Z] - 1,109 comment lines of code (cloc)
[task 2024-10-02T03:16:43.170Z] - 1,129 cyclomatic complexity (mcc)
[task 2024-10-02T03:16:43.170Z] - 242 cognitive complexity
[task 2024-10-02T03:16:43.170Z] - 0 number of total code smells
[task 2024-10-02T03:16:43.170Z] - 12% comment source ratio
[task 2024-10-02T03:16:43.170Z] - 194 mcc per 1,000 lloc
[task 2024-10-02T03:16:43.170Z] - 0 code smells per 1,000 lloc
[task 2024-10-02T03:16:43.170Z]
[task 2024-10-02T03:16:43.170Z] Project Statistics:
[task 2024-10-02T03:16:43.170Z] - number of properties: 644
[task 2024-10-02T03:16:43.170Z] - number of functions: 835
[task 2024-10-02T03:16:43.170Z] - number of classes: 137
[task 2024-10-02T03:16:43.170Z] - number of packages: 27
[task 2024-10-02T03:16:43.170Z] - number of kt files: 125
[task 2024-10-02T03:16:43.170Z]
[task 2024-10-02T03:16:43.170Z] 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-10-02T03:16:43.170Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2024-10-02T03:16:43.170Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2024-10-02T03:16:43.170Z]
[task 2024-10-02T03:16:43.170Z] BUILD SUCCESSFUL in 1m 37s
[task 2024-10-02T03:16:43.170Z] 5 actionable tasks: 5 executed
[fetches 2024-10-02T03:16:43.521Z] removing /builds/worker/fetches
[fetches 2024-10-02T03:16:43.837Z] finished
[taskcluster 2024-10-02 03:16:45.692Z] === Task Finished ===
[taskcluster 2024-10-02 03:16:45.692Z] Successful task run with exit code: 0 completed in 164.046 seconds
Loading