Skip to content

Update AGP to version 9.3.0 - #4418

Merged
jonalmeida merged 2 commits into
mozilla-mobile:masterfrom
rvandermeulen:agp-9.3
Jul 20, 2026
Merged

Update AGP to version 9.3.0#4418
jonalmeida merged 2 commits into
mozilla-mobile:masterfrom
rvandermeulen:agp-9.3

Merge branch 'master' into agp-9.3

59d2256
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / lint-ktlint succeeded Jul 20, 2026 in 2m 26s

FirefoxCI (pull_request)

Running ktlint over all modules (Treeherder push)

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-07-20T15:57:58.435Z
Resolved: 2026-07-20T16:00:23.905Z
Task Execution Time: 2 minutes, 25 seconds, 470 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: HaGihpq1RDGGFhFbcn9Oog
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-07-20T15:57:58.462Z] Worker Type (mobile-1/b-linux) settings:
[taskcluster 2026-07-20T15:57:58.462Z]   {
[taskcluster 2026-07-20T15:57:58.462Z]     "generic-worker": {
[taskcluster 2026-07-20T15:57:58.462Z]       "config": {
[taskcluster 2026-07-20T15:57:58.462Z]         "headlessTasks": true
[taskcluster 2026-07-20T15:57:58.462Z]       },
[taskcluster 2026-07-20T15:57:58.462Z]       "engine": "multiuser",
[taskcluster 2026-07-20T15:57:58.462Z]       "go-arch": "amd64",
[taskcluster 2026-07-20T15:57:58.462Z]       "go-os": "linux",
[taskcluster 2026-07-20T15:57:58.462Z]       "go-version": "go1.26.2",
[taskcluster 2026-07-20T15:57:58.462Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-07-20T15:57:58.462Z]       "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-20T15:57:58.462Z]       "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-20T15:57:58.462Z]       "version": "99.2.1"
[taskcluster 2026-07-20T15:57:58.462Z]     },
[taskcluster 2026-07-20T15:57:58.462Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-07-20T15:57:58.462Z]     "instance-id": "4036666226392693749",
[taskcluster 2026-07-20T15:57:58.462Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-07-20T15:57:58.462Z]     "local-ipv4": "10.138.0.157",
[taskcluster 2026-07-20T15:57:58.462Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-07-20T15:57:58.462Z]     "public-hostname": "mobile-1-b-linux-twhhjb0zqawgbkvveoo-xa.c.fxci-production-level1-workers.internal",
[taskcluster 2026-07-20T15:57:58.462Z]     "public-ipv4": "35.252.70.70",
[taskcluster 2026-07-20T15:57:58.462Z]     "region": "us-west1",
[taskcluster 2026-07-20T15:57:58.462Z]     "zone": "us-west1-c"
[taskcluster 2026-07-20T15:57:58.462Z]   }
[taskcluster 2026-07-20T15:57:58.462Z] Task ID: HaGihpq1RDGGFhFbcn9Oog
[taskcluster 2026-07-20T15:57:58.462Z] === Task Starting ===
[taskcluster 2026-07-20T15:58:00.209Z] [mounts] Downloading task RcSUhJgoS-CZH7jx4lDr0A artifact public/image.tar.zst to /home/generic-worker/downloads/UWZLjc1KTP2OPTIVk3UmGw
[taskcluster 2026-07-20T15:58:04.129Z] [mounts] Downloaded 421133210 bytes with SHA256 219122b7109ce1baf51ac581e4779826a0a9c19a6e114407f9991bbe829d8160 from task RcSUhJgoS-CZH7jx4lDr0A artifact public/image.tar.zst to /home/generic-worker/downloads/UWZLjc1KTP2OPTIVk3UmGw
[taskcluster:warn 2026-07-20T15:58:04.130Z] [mounts] Download /home/generic-worker/downloads/UWZLjc1KTP2OPTIVk3UmGw of task RcSUhJgoS-CZH7jx4lDr0A artifact public/image.tar.zst has SHA256 219122b7109ce1baf51ac581e4779826a0a9c19a6e114407f9991bbe829d8160 but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-07-20T15:58:04.130Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/UWZLjc1KTP2OPTIVk3UmGw, SHA256: 219122b7109ce1baf51ac581e4779826a0a9c19a6e114407f9991bbe829d8160)
[taskcluster 2026-07-20T15:58:04.130Z] [d2g] Loading docker image
[taskcluster 2026-07-20T15:58:20.659Z] [d2g] Loaded docker image "base:latest"
[taskcluster 2026-07-20T15:58:20.659Z] Executing command 0: docker run -t --name taskcontainer_X44CECaATiG7dY0bVUSu5A --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' --add-host=taskcluster:host-gateway --env-file 'env.list' 029b19c12b0318d42753e5fd870b376a4e20e01479024db1968356c4620315d9 /usr/local/bin/run-task --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 ktlint'
[setup 2026-07-20T15:58:22.601Z] run-task started in /builds/worker
[setup 2026-07-20T15:58:22.601Z] 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 ktlint
[setup 2026-07-20T15:58:22.601Z] Python version: 3.10.12
[volume 2026-07-20T15:58:22.603Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-07-20T15:58:22.603Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2026-07-20T15:58:22.603Z] running as worker:worker
[vcs 2026-07-20T15:58:22.603Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-07-20T15:58:22.605Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2026-07-20T15:58:22.607Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-07-20T15:58:23.370Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/rvandermeulen/reference-browser', 'agp-9.3']
[vcs 2026-07-20T15:58:23.743Z] From https://github.com/rvandermeulen/reference-browser
[vcs 2026-07-20T15:58:23.743Z]  * branch              agp-9.3    -> FETCH_HEAD
[vcs 2026-07-20T15:58:23.745Z] executing ['git', 'checkout', '-f', '-B', 'agp-9.3', '59d2256a45fe3a9271ce63baf34a3c48cba6f372']
[vcs 2026-07-20T15:58:23.766Z] Switched to a new branch 'agp-9.3'
[vcs 2026-07-20T15:58:23.767Z] cleaning git checkout...
[vcs 2026-07-20T15:58:23.767Z] executing ['git', 'clean', '-nxdff']
[vcs 2026-07-20T15:58:23.770Z] removing []
[vcs 2026-07-20T15:58:23.770Z] successfully cleaned git checkout!
[vcs 2026-07-20T15:58:23.772Z] TinderboxPrint:<a href='https://github.com/rvandermeulen/reference-browser/commit/59d2256a45fe3a9271ce63baf34a3c48cba6f372' title='Built from reference-browser commit 59d2256a45fe3a9271ce63baf34a3c48cba6f372'>59d2256a45fe3a9271ce63baf34a3c48cba6f372</a>
[setup 2026-07-20T15:58:23.772Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2026-07-20T15:58:23.772Z] fetching artifacts
[fetches 2026-07-20T15:58:23.772Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5attempt 1/5
Downloading http://172.17.0.1:80/api/queue/v1/task/TAGdDpENTQ6KvJK7fpvJtg/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/HW7k3NIQSfuvQsl2NSEP0Q/artifacts/public/build/android-gradle-dependencies.tar.xz to /builds/worker/fetches/android-gradle-dependencies.tar.xz
Downloading http://172.17.0.1:80/api/queue/v1/task/TAGdDpENTQ6KvJK7fpvJtg/artifacts/mobile/android-sdk/android-sdk-linux.tar.xzDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HW7k3NIQSfuvQsl2NSEP0Q/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://172.17.0.1:80/api/queue/v1/task/TAGdDpENTQ6KvJK7fpvJtg/artifacts/mobile/android-sdk/android-sdk-linux.tar.xz resolved to 147752352 bytes with sha256 e98458b12d746cd50b766b16264282a84e5c4e0f770a2d0431a2b046edf97d8b in 1.039s
Verified size of http://172.17.0.1:80/api/queue/v1/task/TAGdDpENTQ6KvJK7fpvJtg/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/HW7k3NIQSfuvQsl2NSEP0Q/artifacts/public/build/android-gradle-dependencies.tar.xz resolved to 473311260 bytes with sha256 b52f0fc11e285420ff6c0b8d56945012dd399ef222e5ad1b8e34c1c377ad11e4 in 6.878s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HW7k3NIQSfuvQsl2NSEP0Q/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 9.214s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 26.690s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 33.59063326399999, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2026-07-20T15:58:57.443Z] finished fetching artifacts
[task 2026-07-20T15:58:57.443Z] executing ['bash', '-cx', './gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories ktlint']
[task 2026-07-20T15:58:57.444Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories ktlint
[task 2026-07-20T15:58:57.568Z] Fetching distribution.
[task 2026-07-20T15:58:57.568Z] Downloading https://services.gradle.org/distributions/gradle-9.6.1-bin.zip
[task 2026-07-20T15:58:59.080Z] .............10%.............20%..............30%.............40%..............50%.............60%.............70%..............80%.............90%..............100%
[task 2026-07-20T15:59:00.914Z] 
[task 2026-07-20T15:59:00.915Z] Welcome to Gradle 9.6.1!
[task 2026-07-20T15:59:00.915Z] 
[task 2026-07-20T15:59:00.915Z] Here are the highlights of this release:
[task 2026-07-20T15:59:00.915Z]  - Improved Configuration Cache hit rates
[task 2026-07-20T15:59:00.916Z]  - Additional CLI rendering options
[task 2026-07-20T15:59:00.916Z]  - Important project hierarchy lookup deprecations
[task 2026-07-20T15:59:00.917Z] 
[task 2026-07-20T15:59:00.917Z] For more details see https://docs.gradle.org/9.6.1/release-notes.html
[task 2026-07-20T15:59:00.917Z] 
[task 2026-07-20T15:59:01.012Z] 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/9.6.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2026-07-20T15:59:02.012Z] Daemon will be stopped at the end of the build 
[task 2026-07-20T15:59:05.213Z] [settings] Missing local.properties; see https://github.com/mozilla-mobile/fenix/blob/master/README.md#local-properties-helpers for instructions.
[task 2026-07-20T15:59:39.021Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2026-07-20T15:59:48.012Z] > Task :buildSrc:processResources NO-SOURCE
[task 2026-07-20T15:59:53.313Z] 
[task 2026-07-20T15:59:53.314Z] > Task :buildSrc:compileKotlin
[task 2026-07-20T15:59:53.316Z] w: -Xjvm-default is deprecated. Use -jvm-default instead.
[task 2026-07-20T15:59:53.912Z] 
[task 2026-07-20T15:59:53.912Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2026-07-20T15:59:53.912Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2026-07-20T15:59:53.912Z] > Task :buildSrc:classes UP-TO-DATE
[task 2026-07-20T15:59:53.912Z] > Task :buildSrc:jar
[task 2026-07-20T16:00:08.512Z] 
[task 2026-07-20T16:00:08.512Z] > Configure project :
[task 2026-07-20T16:00:08.512Z] The Dependency Analysis plugin is only known to work with versions of AGP between 8.10.0 and 9.2.1. You are using 9.3.0. Proceed at your own risk.
[task 2026-07-20T16:00:11.913Z] 
[task 2026-07-20T16:00:11.913Z] > Configure project :app
[task 2026-07-20T16:00:11.913Z] Generated versionCode: 82011600
[task 2026-07-20T16:00:11.913Z] 
[task 2026-07-20T16:00:13.613Z] 
[task 2026-07-20T16:00:13.613Z] > Task :listRepositories
[task 2026-07-20T16:00:13.613Z] Repositories:
[task 2026-07-20T16:00:13.613Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2026-07-20T16:00:13.613Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2026-07-20T16:00:13.613Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2026-07-20T16:00:13.613Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2026-07-20T16:00:21.212Z] 
[task 2026-07-20T16:00:21.212Z] > Task :ktlint
[task 2026-07-20T16:00:21.239Z] 
[task 2026-07-20T16:00:21.239Z] [Incubating] Problems report is available at: file:///builds/worker/checkouts/vcs/build/reports/problems/problems-report.html
[task 2026-07-20T16:00:21.239Z] 
[task 2026-07-20T16:00:21.240Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
[task 2026-07-20T16:00:21.240Z] 
[task 2026-07-20T16:00:21.240Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2026-07-20T16:00:21.240Z] 
[task 2026-07-20T16:00:21.240Z] For more on this, please refer to https://docs.gradle.org/9.6.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2026-07-20T16:00:21.240Z] 
[task 2026-07-20T16:00:21.240Z] BUILD SUCCESSFUL in 1m 23s
[task 2026-07-20T16:00:21.240Z] 4 actionable tasks: 4 executed
[fetches 2026-07-20T16:00:21.601Z] removing /builds/worker/fetches
[fetches 2026-07-20T16:00:21.985Z] finished
[taskcluster 2026-07-20T16:00:23.339Z]                        Exit Code: 0
[taskcluster 2026-07-20T16:00:23.339Z]                        User Time: 14.595ms
[taskcluster 2026-07-20T16:00:23.339Z]                      Kernel Time: 15.922ms
[taskcluster 2026-07-20T16:00:23.339Z]                        Wall Time: 2m2.679877797s
[taskcluster 2026-07-20T16:00:23.339Z]  Average Available System Memory: 13.37 GiB
[taskcluster 2026-07-20T16:00:23.339Z]       Average System Memory Used: 2.24 GiB
[taskcluster 2026-07-20T16:00:23.339Z]          Peak System Memory Used: 3.87 GiB
[taskcluster 2026-07-20T16:00:23.339Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-07-20T16:00:23.339Z]                           Result: SUCCEEDED
[taskcluster 2026-07-20T16:00:23.340Z] === Task Finished ===
[taskcluster 2026-07-20T16:00:23.340Z] Task Duration: 2m2.68039822s