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-detekt succeeded Jul 20, 2026 in 2m 32s

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: 2026-07-20T15:57:52.435Z
Resolved: 2026-07-20T16:00:24.486Z
Task Execution Time: 2 minutes, 32 seconds, 51 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: Ev21AjslTs2azEo2NGds8g
RunId: 0

Artifacts

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


[taskcluster 2026-07-20T15:57:52.487Z] Worker Type (mobile-1/b-linux) settings:
[taskcluster 2026-07-20T15:57:52.487Z]   {
[taskcluster 2026-07-20T15:57:52.487Z]     "generic-worker": {
[taskcluster 2026-07-20T15:57:52.487Z]       "config": {
[taskcluster 2026-07-20T15:57:52.487Z]         "headlessTasks": true
[taskcluster 2026-07-20T15:57:52.487Z]       },
[taskcluster 2026-07-20T15:57:52.487Z]       "engine": "multiuser",
[taskcluster 2026-07-20T15:57:52.487Z]       "go-arch": "amd64",
[taskcluster 2026-07-20T15:57:52.487Z]       "go-os": "linux",
[taskcluster 2026-07-20T15:57:52.487Z]       "go-version": "go1.26.2",
[taskcluster 2026-07-20T15:57:52.487Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-07-20T15:57:52.487Z]       "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-20T15:57:52.487Z]       "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-20T15:57:52.487Z]       "version": "99.2.1"
[taskcluster 2026-07-20T15:57:52.487Z]     },
[taskcluster 2026-07-20T15:57:52.487Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-07-20T15:57:52.487Z]     "instance-id": "3906639892552350709",
[taskcluster 2026-07-20T15:57:52.487Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-07-20T15:57:52.487Z]     "local-ipv4": "10.128.0.19",
[taskcluster 2026-07-20T15:57:52.487Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-07-20T15:57:52.487Z]     "public-hostname": "mobile-1-b-linux-j-wqh2y5qzumhv3uxkymqg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-07-20T15:57:52.487Z]     "public-ipv4": "34.57.15.205",
[taskcluster 2026-07-20T15:57:52.487Z]     "region": "us-central1",
[taskcluster 2026-07-20T15:57:52.487Z]     "zone": "us-central1-f"
[taskcluster 2026-07-20T15:57:52.487Z]   }
[taskcluster 2026-07-20T15:57:52.487Z] Task ID: Ev21AjslTs2azEo2NGds8g
[taskcluster 2026-07-20T15:57:52.487Z] === Task Starting ===
[taskcluster 2026-07-20T15:57:53.768Z] [mounts] Downloading task RcSUhJgoS-CZH7jx4lDr0A artifact public/image.tar.zst to /home/generic-worker/downloads/IMnqJe3cSHO1tf4wt9CS0A
[taskcluster 2026-07-20T15:57:58.055Z] [mounts] Downloaded 421133210 bytes with SHA256 219122b7109ce1baf51ac581e4779826a0a9c19a6e114407f9991bbe829d8160 from task RcSUhJgoS-CZH7jx4lDr0A artifact public/image.tar.zst to /home/generic-worker/downloads/IMnqJe3cSHO1tf4wt9CS0A
[taskcluster:warn 2026-07-20T15:57:58.056Z] [mounts] Download /home/generic-worker/downloads/IMnqJe3cSHO1tf4wt9CS0A 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:57:58.056Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/IMnqJe3cSHO1tf4wt9CS0A, SHA256: 219122b7109ce1baf51ac581e4779826a0a9c19a6e114407f9991bbe829d8160)
[taskcluster 2026-07-20T15:57:58.056Z] [d2g] Loading docker image
[taskcluster 2026-07-20T15:58:15.308Z] [d2g] Loaded docker image "base:latest"
[taskcluster 2026-07-20T15:58:15.309Z] Executing command 0: docker run -t --name taskcontainer_AdZA3vUSTFePWOIFfDR0bQ --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 detekt'
[setup 2026-07-20T15:58:17.775Z] run-task started in /builds/worker
[setup 2026-07-20T15:58:17.775Z] 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 2026-07-20T15:58:17.775Z] Python version: 3.10.12
[volume 2026-07-20T15:58:17.777Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-07-20T15:58:17.777Z] changing ownership of volume /builds/worker/checkouts to 1000:1000
[setup 2026-07-20T15:58:17.777Z] running as worker:worker
[vcs 2026-07-20T15:58:17.777Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-07-20T15:58:17.779Z] executing ['git', 'clone', 'https://github.com/mozilla-mobile/reference-browser', '/builds/worker/checkouts/vcs']
[vcs 2026-07-20T15:58:17.780Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-07-20T15:58:18.798Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/rvandermeulen/reference-browser', 'agp-9.3']
[vcs 2026-07-20T15:58:19.045Z] From https://github.com/rvandermeulen/reference-browser
[vcs 2026-07-20T15:58:19.045Z]  * branch              agp-9.3    -> FETCH_HEAD
[vcs 2026-07-20T15:58:19.047Z] executing ['git', 'checkout', '-f', '-B', 'agp-9.3', '59d2256a45fe3a9271ce63baf34a3c48cba6f372']
[vcs 2026-07-20T15:58:19.068Z] Switched to a new branch 'agp-9.3'
[vcs 2026-07-20T15:58:19.068Z] cleaning git checkout...
[vcs 2026-07-20T15:58:19.068Z] executing ['git', 'clean', '-nxdff']
[vcs 2026-07-20T15:58:19.071Z] removing []
[vcs 2026-07-20T15:58:19.071Z] successfully cleaned git checkout!
[vcs 2026-07-20T15:58:19.073Z] 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:19.073Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2026-07-20T15:58:19.073Z] fetching artifacts
[fetches 2026-07-20T15:58:19.073Z] 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.xz
Downloading 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.328s
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 4.138s
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.288s
Removing /builds/worker/fetches/android-sdk-linux.tar.xz
/builds/worker/fetches/android-gradle-dependencies.tar.xz extracted in 26.834s
Removing /builds/worker/fetches/android-gradle-dependencies.tar.xz
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 30.994772578999985, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2026-07-20T15:58:50.147Z] finished fetching artifacts
[task 2026-07-20T15:58:50.147Z] 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 2026-07-20T15:58:50.149Z] + ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories detekt
[task 2026-07-20T15:58:50.267Z] Fetching distribution.
[task 2026-07-20T15:58:50.267Z] Downloading https://services.gradle.org/distributions/gradle-9.6.1-bin.zip
[task 2026-07-20T15:58:55.967Z] .............10%.............20%..............30%.............40%..............50%.............60%.............70%..............80%.............90%..............100%
[task 2026-07-20T15:58:57.839Z] 
[task 2026-07-20T15:58:57.839Z] Welcome to Gradle 9.6.1!
[task 2026-07-20T15:58:57.839Z] 
[task 2026-07-20T15:58:57.839Z] Here are the highlights of this release:
[task 2026-07-20T15:58:57.839Z]  - Improved Configuration Cache hit rates
[task 2026-07-20T15:58:57.839Z]  - Additional CLI rendering options
[task 2026-07-20T15:58:57.839Z]  - Important project hierarchy lookup deprecations
[task 2026-07-20T15:58:57.839Z] 
[task 2026-07-20T15:58:57.840Z] For more details see https://docs.gradle.org/9.6.1/release-notes.html
[task 2026-07-20T15:58:57.840Z] 
[task 2026-07-20T15:58:57.938Z] 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:58:58.938Z] Daemon will be stopped at the end of the build 
[task 2026-07-20T15:59:02.338Z] [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:34.540Z] > Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
[task 2026-07-20T15:59:43.837Z] > Task :buildSrc:processResources NO-SOURCE
[task 2026-07-20T15:59:49.141Z] 
[task 2026-07-20T15:59:49.141Z] > Task :buildSrc:compileKotlin
[task 2026-07-20T15:59:49.141Z] w: -Xjvm-default is deprecated. Use -jvm-default instead.
[task 2026-07-20T15:59:49.838Z] 
[task 2026-07-20T15:59:49.838Z] > Task :buildSrc:compileJava NO-SOURCE
[task 2026-07-20T15:59:49.839Z] > Task :buildSrc:compileGroovy NO-SOURCE
[task 2026-07-20T15:59:49.839Z] > Task :buildSrc:classes UP-TO-DATE
[task 2026-07-20T15:59:49.839Z] > Task :buildSrc:jar
[task 2026-07-20T16:00:06.038Z] 
[task 2026-07-20T16:00:06.038Z] > Configure project :
[task 2026-07-20T16:00:06.038Z] 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:09.938Z] 
[task 2026-07-20T16:00:09.938Z] > Configure project :app
[task 2026-07-20T16:00:09.938Z] Generated versionCode: 82011600
[task 2026-07-20T16:00:09.938Z] 
[task 2026-07-20T16:00:11.838Z] 
[task 2026-07-20T16:00:11.840Z] > Task :listRepositories
[task 2026-07-20T16:00:11.841Z] Repositories:
[task 2026-07-20T16:00:11.841Z] Name: Google; url: file:/builds/worker/fetches/android-gradle-dependencies/google/
[task 2026-07-20T16:00:11.841Z] Name: Mozilla Nightly; url: https://nightly.maven.mozilla.org/maven2
[task 2026-07-20T16:00:11.842Z] Name: Mozilla; url: https://maven.mozilla.org/maven2
[task 2026-07-20T16:00:11.843Z] Name: MavenCentral; url: file:/builds/worker/fetches/android-gradle-dependencies/central/
[task 2026-07-20T16:00:21.628Z] 
[task 2026-07-20T16:00:21.628Z] > Task :detekt
[task 2026-07-20T16:00:21.628Z] Complexity Report:
[task 2026-07-20T16:00:21.629Z] 	- 12,000 lines of code (loc)
[task 2026-07-20T16:00:21.630Z] 	- 9,170 source lines of code (sloc)
[task 2026-07-20T16:00:21.631Z] 	- 6,264 logical lines of code (lloc)
[task 2026-07-20T16:00:21.632Z] 	- 1,046 comment lines of code (cloc)
[task 2026-07-20T16:00:21.633Z] 	- 1,131 cyclomatic complexity (mcc)
[task 2026-07-20T16:00:21.634Z] 	- 235 cognitive complexity
[task 2026-07-20T16:00:21.634Z] 	- 0 number of total code smells
[task 2026-07-20T16:00:21.634Z] 	- 11% comment source ratio
[task 2026-07-20T16:00:21.634Z] 	- 180 mcc per 1,000 lloc
[task 2026-07-20T16:00:21.634Z] 	- 0 code smells per 1,000 lloc
[task 2026-07-20T16:00:21.634Z] 
[task 2026-07-20T16:00:21.634Z] Project Statistics:
[task 2026-07-20T16:00:21.634Z] 	- number of properties: 653
[task 2026-07-20T16:00:21.634Z] 	- number of functions: 831
[task 2026-07-20T16:00:21.634Z] 	- number of classes: 135
[task 2026-07-20T16:00:21.635Z] 	- number of packages: 26
[task 2026-07-20T16:00:21.635Z] 	- number of kt files: 121
[task 2026-07-20T16:00:21.635Z] 
[task 2026-07-20T16:00:21.635Z] 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 2026-07-20T16:00:21.635Z] Successfully generated HTML report at file:///builds/worker/checkouts/vcs/build/reports/detekt.html
[task 2026-07-20T16:00:21.636Z] Successfully generated Markdown report at file:///builds/worker/checkouts/vcs/build/reports/detekt/detekt.md
[task 2026-07-20T16:00:21.636Z] 
[task 2026-07-20T16:00:21.636Z] [Incubating] Problems report is available at: file:///builds/worker/checkouts/vcs/build/reports/problems/problems-report.html
[task 2026-07-20T16:00:21.637Z] 
[task 2026-07-20T16:00:21.637Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
[task 2026-07-20T16:00:21.637Z] 
[task 2026-07-20T16:00:21.637Z] 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.637Z] 
[task 2026-07-20T16:00:21.638Z] 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.638Z] 
[task 2026-07-20T16:00:21.638Z] BUILD SUCCESSFUL in 1m 31s
[task 2026-07-20T16:00:21.638Z] 4 actionable tasks: 4 executed
[fetches 2026-07-20T16:00:21.993Z] removing /builds/worker/fetches
[fetches 2026-07-20T16:00:22.382Z] finished
[taskcluster 2026-07-20T16:00:23.743Z]                        Exit Code: 0
[taskcluster 2026-07-20T16:00:23.743Z]                        User Time: 17.836ms
[taskcluster 2026-07-20T16:00:23.743Z]                      Kernel Time: 15.854ms
[taskcluster 2026-07-20T16:00:23.743Z]                        Wall Time: 2m8.434560048s
[taskcluster 2026-07-20T16:00:23.743Z]  Average Available System Memory: 13.32 GiB
[taskcluster 2026-07-20T16:00:23.743Z]       Average System Memory Used: 2.29 GiB
[taskcluster 2026-07-20T16:00:23.743Z]          Peak System Memory Used: 3.67 GiB
[taskcluster 2026-07-20T16:00:23.743Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-07-20T16:00:23.743Z]                           Result: SUCCEEDED
[taskcluster 2026-07-20T16:00:23.744Z] === Task Finished ===
[taskcluster 2026-07-20T16:00:23.744Z] Task Duration: 2m8.435264277s