This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
CI for #5663 #5990
Closed
CI for #5663 #5990
firefoxci-taskcluster / lint-ktlint-android-components
succeeded
Mar 12, 2024 in 5m 1s
FirefoxCI (pull_request)
Run ktlint over all modules (Treeherder push)
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-03-12 08:48:52.765Z] Task ID: EPC9nPusRxGExUDXKlpPWw
[taskcluster 2024-03-12 08:48:52.765Z] Worker ID: 1185376647165880366
[taskcluster 2024-03-12 08:48:52.765Z] Worker Group: us-west1
[taskcluster 2024-03-12 08:48:52.765Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-4
[taskcluster 2024-03-12 08:48:52.765Z] Worker Pool: mobile-1/b-linux-gcp
[taskcluster 2024-03-12 08:48:52.765Z] Worker Version: 38.0.5
[taskcluster 2024-03-12 08:48:52.765Z] Public IP: 34.83.98.215
[taskcluster 2024-03-12 08:48:52.765Z] Hostname: mobile-1-b-linux-gcp-iy4tfssrrjwotsxbp54rxg
[taskcluster 2024-03-12 08:48:55.869Z] Downloading artifact "public/image.tar.zst" from task ID: Z9VHoD_CQdiql5d-ZW5fjg.
[taskcluster 2024-03-12 08:49:00.870Z] Download Progress: 90.60%
[taskcluster 2024-03-12 08:49:01.221Z] Downloaded artifact successfully.
[taskcluster 2024-03-12 08:49:01.221Z] Downloaded 393.321 mb
[taskcluster 2024-03-12 08:49:01.222Z] Decompressing downloaded image
[taskcluster 2024-03-12 08:49:03.401Z] Loading docker image from downloaded archive.
[taskcluster 2024-03-12 08:49:20.520Z] Image 'public/image.tar.zst' from task 'Z9VHoD_CQdiql5d-ZW5fjg' loaded. Using image ID sha256:e47a60f7efceebf5ce8d806041ce000d40626292c962e5fd0c3d92cad20a1c38.
[taskcluster 2024-03-12 08:49:20.645Z] === Task Starting ===
[setup 2024-03-12T08:49:24.187Z] run-task started in /builds/worker
[setup 2024-03-12T08:49:24.187Z] 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-03-12T08:49:24.187Z] Python version: 3.10.12
[volume 2024-03-12T08:49:24.189Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-03-12T08:49:24.189Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2024-03-12T08:49:24.189Z] running as worker:worker
[vcs 2024-03-12T08:49:24.189Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-03-12T08:49:24.191Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/firefox-android', '/builds/worker/checkouts/vcs']
[vcs 2024-03-12T08:49:24.193Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-03-12T08:49:56.085Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/t-p-white/firefox-android', 'ci-for-1854131']
[vcs 2024-03-12T08:49:56.707Z] From https://github.com/t-p-white/firefox-android
[vcs 2024-03-12T08:49:56.707Z] * branch ci-for-1854131 -> FETCH_HEAD
[vcs 2024-03-12T08:49:56.710Z] executing ['git', 'checkout', '-f', '-B', 'ci-for-1854131', '768f16aa87eb0a534e018b504c7e8eb17819e61e']
[vcs 2024-03-12T08:49:56.912Z] Switched to a new branch 'ci-for-1854131'
[vcs 2024-03-12T08:49:56.915Z] cleaning git checkout...
[vcs 2024-03-12T08:49:56.915Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-03-12T08:49:56.979Z] removing []
[vcs 2024-03-12T08:49:56.979Z] successfully cleaned git checkout!
[vcs 2024-03-12T08:49:56.981Z] TinderboxPrint:<a href='https://github.com/t-p-white/firefox-android/commit/768f16aa87eb0a534e018b504c7e8eb17819e61e' title='Built from firefox-android commit 768f16aa87eb0a534e018b504c7e8eb17819e61e'>768f16aa87eb0a534e018b504c7e8eb17819e61e</a>
[setup 2024-03-12T08:49:56.981Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-03-12T08:49:56.981Z] fetching artifacts
[fetches 2024-03-12T08:49:56.982Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XjHd6FoCTXSU2hUm8G-mvg/artifacts/public/build/external-gradle-dependencies.tar.xz to /builds/worker/fetches/external-gradle-dependencies.tar.xzDownloading 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 http://taskcluster/api/queue/v1/task/ahaCeLGwRtiv5cpl6iQs2A/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XjHd6FoCTXSU2hUm8G-mvg/artifacts/public/build/external-gradle-dependencies.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.183s
Extracting /builds/worker/fetches/android-sdk-linux.tar.xz to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XjHd6FoCTXSU2hUm8G-mvg/artifacts/public/build/external-gradle-dependencies.tar.xz resolved to 645401068 bytes with sha256 8e31475c536e5fa048f1048bf053c708d90c2d1eab2a8a2bb0a17a86509bc23c in 5.385s
Extracting /builds/worker/fetches/external-gradle-dependencies.tar.xz to /builds/worker/fetches
/builds/worker/fetches/android-sdk-linux.tar.xz extracted in 8.674s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/external-gradle-dependencies.tar.xz extracted in 32.978s
Removing /builds/worker/fetches/external-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 38.42048301, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-03-12T08:50:35.480Z] finished fetching artifacts
[task 2024-03-12T08:50:35.480Z] 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-03-12T08:50:35.482Z] + cd android-components
[task 2024-03-12T08:50:35.482Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/external-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/external-gradle-dependencies/central listRepositories ktlint
[task 2024-03-12T08:50:35.556Z] Downloading https://services.gradle.org/distributions/gradle-8.6-bin.zip
[task 2024-03-12T08:50:37.124Z] ............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
[task 2024-03-12T08:50:38.296Z]
[task 2024-03-12T08:50:38.297Z] Welcome to Gradle 8.6!
[task 2024-03-12T08:50:38.297Z]
[task 2024-03-12T08:50:38.297Z] Here are the highlights of this release:
[task 2024-03-12T08:50:38.298Z] - Configurable encryption key for configuration cache
[task 2024-03-12T08:50:38.298Z] - Build init improvements
[task 2024-03-12T08:50:38.298Z] - Build authoring improvements
[task 2024-03-12T08:50:38.299Z]
[task 2024-03-12T08:50:38.299Z] For more details see https://docs.gradle.org/8.6/release-notes.html
[task 2024-03-12T08:50:38.299Z]
[task 2024-03-12T08:50:38.396Z] 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-03-12T08:50:39.296Z] Daemon will be stopped at the end of the build
[task 2024-03-12T08:50:39.695Z] Configuration on demand is an incubating feature.
[task 2024-03-12T08:51:04.798Z] > Task :dependencies:checkKotlinGradlePluginConfigurationErrors
[task 2024-03-12T08:51:10.895Z] > Task :dependencies:pluginDescriptors
[task 2024-03-12T08:51:10.995Z] > Task :dependencies:processResources
[task 2024-03-12T08:51:16.595Z] > Task :dependencies:compileKotlin
[task 2024-03-12T08:51:16.595Z] > Task :dependencies:compileJava NO-SOURCE
[task 2024-03-12T08:51:16.599Z] > Task :dependencies:classes
[task 2024-03-12T08:51:16.599Z] > Task :dependencies:jar
[task 2024-03-12T08:51:16.795Z] > Task :github:checkKotlinGradlePluginConfigurationErrors
[task 2024-03-12T08:51:19.095Z] > Task :github:pluginDescriptors
[task 2024-03-12T08:51:19.097Z] > Task :github:processResources
[task 2024-03-12T08:51:24.195Z] > Task :github:compileKotlin
[task 2024-03-12T08:51:24.195Z] > Task :github:compileJava NO-SOURCE
[task 2024-03-12T08:51:24.195Z] > Task :github:classes
[task 2024-03-12T08:51:24.195Z] > Task :github:jar
[task 2024-03-12T08:51:24.895Z] Local configuration: absent local.properties; proceeding as normal.
[task 2024-03-12T08:51:44.695Z]
[task 2024-03-12T08:51:44.697Z] > Configure project :browser-engine-gecko
[task 2024-03-12T08:51:44.698Z] Requires glean_parser 11.0
[task 2024-03-12T08:51:44.698Z] [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-03-12T08:51:44.699Z] [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-03-12T08:51:51.695Z]
[task 2024-03-12T08:51:51.696Z] > Configure project :feature-fxsuggest
[task 2024-03-12T08:51:51.696Z] [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-03-12T08:51:51.696Z] [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-03-12T08:51:57.195Z]
[task 2024-03-12T08:51:57.195Z] > Configure project :lib-crash
[task 2024-03-12T08:51:57.195Z] Requires glean_parser 11.0
[task 2024-03-12T08:51:58.095Z]
[task 2024-03-12T08:51:58.097Z] > Task :publicsuffixlist:checkKotlinGradlePluginConfigurationErrors
[task 2024-03-12T08:52:01.695Z] > Task :publicsuffixlist:pluginDescriptors
[task 2024-03-12T08:52:01.695Z] > Task :publicsuffixlist:processResources
[task 2024-03-12T08:52:03.802Z] > Task :publicsuffixlist:compileKotlin
[task 2024-03-12T08:52:03.803Z] > Task :publicsuffixlist:compileJava NO-SOURCE
[task 2024-03-12T08:52:03.803Z] > Task :publicsuffixlist:classes
[task 2024-03-12T08:52:03.803Z] > Task :publicsuffixlist:jar
[task 2024-03-12T08:52:05.595Z]
[task 2024-03-12T08:52:05.597Z] > Configure project :samples-glean
[task 2024-03-12T08:52:05.597Z] Requires glean_parser 11.0
[task 2024-03-12T08:52:05.795Z]
[task 2024-03-12T08:52:05.795Z] > Configure project :samples-glean-library
[task 2024-03-12T08:52:05.795Z] Requires glean_parser 11.0
[task 2024-03-12T08:52:06.995Z]
[task 2024-03-12T08:52:06.995Z] > Configure project :service-nimbus
[task 2024-03-12T08:52:06.995Z] Requires glean_parser 11.0
[task 2024-03-12T08:52:06.996Z] [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-03-12T08:52:06.996Z] [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-03-12T08:52:10.695Z]
[task 2024-03-12T08:52:10.695Z] > Task :listRepositories
[task 2024-03-12T08:52:10.695Z] Repositories:
[task 2024-03-12T08:52:10.696Z] Name: Google; url: file:/builds/worker/fetches/external-gradle-dependencies/google/
[task 2024-03-12T08:52:10.696Z] Name: MavenCentral; url: file:/builds/worker/fetches/external-gradle-dependencies/central/
[task 2024-03-12T08:52:10.697Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2024-03-12T08:52:40.695Z]
[task 2024-03-12T08:52:40.695Z] > Task :ktlint
[task 2024-03-12T08:52:42.195Z]
[task 2024-03-12T08:52:42.195Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-03-12T08:52:42.195Z]
[task 2024-03-12T08:52:42.195Z] 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-03-12T08:52:42.195Z]
[task 2024-03-12T08:52:42.196Z] 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-03-12T08:52:42.196Z]
[task 2024-03-12T08:52:42.196Z] BUILD SUCCESSFUL in 2m 6s
[task 2024-03-12T08:52:42.196Z] 17 actionable tasks: 17 executed
[fetches 2024-03-12T08:52:42.531Z] removing /builds/worker/fetches
[fetches 2024-03-12T08:52:42.892Z] finished
[taskcluster 2024-03-12 08:52:43.121Z] === Task Finished ===
[taskcluster 2024-03-12 08:52:43.121Z] Successful task run with exit code: 0 completed in 230.357 seconds
Loading