This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Bug 1880328 - Fix state checking issues #5603
Merged
firefoxci-taskcluster / lint-ktlint-android-components
succeeded
Feb 14, 2024 in 7m 55s
FirefoxCI (pull_request)
Run ktlint over all modules (Treeherder push)
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-02-14 19:22:15.404Z] Task ID: DGjoykA5RTyf6NcgyR6yag
[taskcluster 2024-02-14 19:22:15.404Z] Worker ID: 5881452205954871139
[taskcluster 2024-02-14 19:22:15.404Z] Worker Group: us-central1
[taskcluster 2024-02-14 19:22:15.404Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-02-14 19:22:15.404Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-02-14 19:22:15.404Z] Worker Version: 38.0.5
[taskcluster 2024-02-14 19:22:15.404Z] Public IP: 35.223.114.236
[taskcluster 2024-02-14 19:22:15.404Z] Hostname: mobile-1-b-linux-gcp-fghevczjtfufgypijmrieq
[taskcluster 2024-02-14 19:22:15.899Z] Image 'public/image.tar.zst' from task 'Z9VHoD_CQdiql5d-ZW5fjg' loaded. Using image ID sha256:e47a60f7efceebf5ce8d806041ce000d40626292c962e5fd0c3d92cad20a1c38.
[taskcluster 2024-02-14 19:22:15.948Z] === Task Starting ===
[setup 2024-02-14T19:22:16.227Z] run-task started in /builds/worker
[setup 2024-02-14T19:22:16.227Z] Invoked by command: --mobile-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx cd android-components && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories ktlint
[setup 2024-02-14T19:22:16.228Z] Python version: 3.10.12
[volume 2024-02-14T19:22:16.230Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-02-14T19:22:16.230Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-02-14T19:22:16.230Z] running as worker:worker
[vcs 2024-02-14T19:22:16.231Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-02-14T19:22:16.233Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/firefox-android', '/builds/worker/checkouts/vcs']
[vcs 2024-02-14T19:22:16.235Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-02-14T19:22:37.561Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/bendk/firefox-android', 'state-machine-checker-fixes']
[vcs 2024-02-14T19:22:37.901Z] From https://github.com/bendk/firefox-android
[vcs 2024-02-14T19:22:37.901Z] * branch state-machine-checker-fixes -> FETCH_HEAD
[vcs 2024-02-14T19:22:37.904Z] executing ['git', 'checkout', '-f', '-B', 'state-machine-checker-fixes', 'ce6af221acdc8d62bde4a7a4f4369af840e7ba13']
[vcs 2024-02-14T19:22:38.540Z] Switched to a new branch 'state-machine-checker-fixes'
[vcs 2024-02-14T19:22:38.541Z] cleaning git checkout...
[vcs 2024-02-14T19:22:38.541Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-02-14T19:22:38.629Z] removing []
[vcs 2024-02-14T19:22:38.629Z] successfully cleaned git checkout!
[vcs 2024-02-14T19:22:38.631Z] TinderboxPrint:<a href='https://github.com/bendk/firefox-android/commit/ce6af221acdc8d62bde4a7a4f4369af840e7ba13' title='Built from firefox-android commit ce6af221acdc8d62bde4a7a4f4369af840e7ba13'>ce6af221acdc8d62bde4a7a4f4369af840e7ba13</a>
[setup 2024-02-14T19:22:38.631Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-02-14T19:22:38.631Z] fetching artifacts
[fetches 2024-02-14T19:22:38.632Z] 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/SNn5wSPOQMenhjhZl0rXEA/artifacts/public/build/external-gradle-dependencies.tar.xz to /builds/worker/fetches/external-gradle-dependencies.tar.xzattempt 1/5
Downloading http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/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/SNn5wSPOQMenhjhZl0rXEA/artifacts/public/build/external-gradle-dependencies.tar.xz
Downloading http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/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/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz resolved to 113933512 bytes with sha256 ebd91bca233ea78ba554a4716cac78b9112ee090f52af8d0d9b5549f12e7367d in 1.263s
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SNn5wSPOQMenhjhZl0rXEA/artifacts/public/build/external-gradle-dependencies.tar.xz resolved to 646656816 bytes with sha256 c9bd4ac3c60e6151bd8e0e220f21fa8b503dca0ef548e92550fc5d99b9485dd2 in 3.210s
Extracting /builds/worker/fetches/external-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 8.546s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/external-gradle-dependencies.tar.xz extracted in 34.817s
Removing /builds/worker/fetches/external-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 38.09087279000005, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-02-14T19:23:16.821Z] finished fetching artifacts
[task 2024-02-14T19:23:16.821Z] executing ['bash', '-cx', 'cd android-components && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories ktlint']
[task 2024-02-14T19:23:16.822Z] + cd android-components
[task 2024-02-14T19:23:16.822Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories ktlint
[task 2024-02-14T19:23:16.915Z] Downloading https://services.gradle.org/distributions/gradle-8.6-bin.zip
[task 2024-02-14T19:23:18.619Z] ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
[task 2024-02-14T19:23:20.003Z]
[task 2024-02-14T19:23:20.003Z] Welcome to Gradle 8.6!
[task 2024-02-14T19:23:20.003Z]
[task 2024-02-14T19:23:20.003Z] Here are the highlights of this release:
[task 2024-02-14T19:23:20.004Z] - Configurable encryption key for configuration cache
[task 2024-02-14T19:23:20.004Z] - Build init improvements
[task 2024-02-14T19:23:20.004Z] - Build authoring improvements
[task 2024-02-14T19:23:20.004Z]
[task 2024-02-14T19:23:20.004Z] For more details see https://docs.gradle.org/8.6/release-notes.html
[task 2024-02-14T19:23:20.004Z]
[task 2024-02-14T19:23:20.102Z] 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.6/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2024-02-14T19:23:21.303Z] Daemon will be stopped at the end of the build
[task 2024-02-14T19:23:21.702Z] Configuration on demand is an incubating feature.
[task 2024-02-14T19:23:49.317Z] > Task :dependencies:checkKotlinGradlePluginConfigurationErrors
[task 2024-02-14T19:23:57.003Z] > Task :dependencies:pluginDescriptors
[task 2024-02-14T19:23:57.003Z] > Task :dependencies:processResources
[task 2024-02-14T19:24:03.502Z] > Task :dependencies:compileKotlin
[task 2024-02-14T19:24:03.602Z] > Task :dependencies:compileJava NO-SOURCE
[task 2024-02-14T19:24:03.603Z] > Task :dependencies:classes
[task 2024-02-14T19:24:03.603Z] > Task :dependencies:jar
[task 2024-02-14T19:24:03.802Z] > Task :github:checkKotlinGradlePluginConfigurationErrors
[task 2024-02-14T19:24:06.502Z] > Task :github:pluginDescriptors
[task 2024-02-14T19:24:06.503Z] > Task :github:processResources
[task 2024-02-14T19:24:12.202Z] > Task :github:compileKotlin
[task 2024-02-14T19:24:12.202Z] > Task :github:compileJava NO-SOURCE
[task 2024-02-14T19:24:12.202Z] > Task :github:classes
[task 2024-02-14T19:24:12.202Z] > Task :github:jar
[task 2024-02-14T19:24:13.002Z] Local configuration: absent local.properties; proceeding as normal.
[task 2024-02-14T19:24:38.302Z]
[task 2024-02-14T19:24:38.302Z] > Configure project :browser-engine-gecko
[task 2024-02-14T19:24:38.302Z] Requires glean_parser 11.0
[task 2024-02-14T19:24:38.303Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/geckoview.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-14T19:24:38.306Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/geckoview.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/browser/engine-gecko/build/generated/source/nimbus/release/kotlin]
[task 2024-02-14T19:24:46.503Z]
[task 2024-02-14T19:24:46.504Z] > Configure project :feature-fxsuggest
[task 2024-02-14T19:24:46.506Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/fxsuggest.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-14T19:24:46.507Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/fxsuggest.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/feature/fxsuggest/build/generated/source/nimbus/release/kotlin]
[task 2024-02-14T19:24:52.702Z]
[task 2024-02-14T19:24:52.702Z] > Configure project :lib-crash
[task 2024-02-14T19:24:52.702Z] Requires glean_parser 11.0
[task 2024-02-14T19:24:53.902Z]
[task 2024-02-14T19:24:53.902Z] > Task :publicsuffixlist:checkKotlinGradlePluginConfigurationErrors
[task 2024-02-14T19:24:58.702Z] > Task :publicsuffixlist:pluginDescriptors
[task 2024-02-14T19:24:58.703Z] > Task :publicsuffixlist:processResources
[task 2024-02-14T19:25:01.302Z] > Task :publicsuffixlist:compileKotlin
[task 2024-02-14T19:25:01.302Z] > Task :publicsuffixlist:compileJava NO-SOURCE
[task 2024-02-14T19:25:01.303Z] > Task :publicsuffixlist:classes
[task 2024-02-14T19:25:01.303Z] > Task :publicsuffixlist:jar
[task 2024-02-14T19:25:03.502Z]
[task 2024-02-14T19:25:03.504Z] > Configure project :samples-glean
[task 2024-02-14T19:25:03.505Z] Requires glean_parser 11.0
[task 2024-02-14T19:25:03.702Z]
[task 2024-02-14T19:25:03.702Z] > Configure project :samples-glean-library
[task 2024-02-14T19:25:03.702Z] Requires glean_parser 11.0
[task 2024-02-14T19:25:05.202Z]
[task 2024-02-14T19:25:05.202Z] > Configure project :service-nimbus
[task 2024-02-14T19:25:05.202Z] Requires glean_parser 11.0
[task 2024-02-14T19:25:05.202Z] [generate, --language, kotlin, --channel, debug, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/messaging.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/build/generated/source/nimbus/debug/kotlin]
[task 2024-02-14T19:25:05.202Z] [generate, --language, kotlin, --channel, release, --cache-dir, /builds/worker/checkouts/vcs/android-components/build/nimbus-cache, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/messaging.fml.yaml, /builds/worker/checkouts/vcs/android-components/components/service/nimbus/build/generated/source/nimbus/release/kotlin]
[task 2024-02-14T19:25:09.702Z]
[task 2024-02-14T19:25:09.703Z] > Task :listRepositories
[task 2024-02-14T19:25:09.704Z] Repositories:
[task 2024-02-14T19:25:09.704Z] Name: Google; url: file:/builds/worker/fetches/external-gradle-dependencies/google/
[task 2024-02-14T19:25:09.704Z] Name: MavenCentral; url: file:/builds/worker/fetches/external-gradle-dependencies/central/
[task 2024-02-14T19:25:09.704Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-02-14T19:25:39.702Z]
[task 2024-02-14T19:25:39.702Z] > Task :ktlint
[task 2024-02-14T19:25:45.602Z]
[task 2024-02-14T19:25:45.604Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-02-14T19:25:45.604Z]
[task 2024-02-14T19:25:45.604Z] 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-02-14T19:25:45.604Z]
[task 2024-02-14T19:25:45.604Z] For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2024-02-14T19:25:45.604Z]
[task 2024-02-14T19:25:45.604Z] BUILD SUCCESSFUL in 2m 28s
[task 2024-02-14T19:25:45.604Z] 17 actionable tasks: 17 executed
[fetches 2024-02-14T19:25:45.961Z] removing /builds/worker/fetches
[fetches 2024-02-14T19:25:46.427Z] finished
[taskcluster 2024-02-14 19:25:46.705Z] === Task Finished ===
[taskcluster 2024-02-14 19:25:46.705Z] Successful task run with exit code: 0 completed in 211.302 seconds
Loading