Closed Bug 2011327 Opened 5 months ago Closed 5 months ago

apksize plugin not reporting since Dec 12, 2025

Categories

(Firefox for Android :: Performance, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox147 --- unaffected
firefox148 --- wontfix
firefox149 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

https://treeherder.mozilla.org/logviewer?job_id=544202748&repo=mozilla-central&task=JKnlAeX5TsC5dJz6yHnbBg.0&lineNumber=5894

We seem to have broken something in the apksize plugin recently.

[task 2026-01-19T00:11:50.181+00:00] > Task :app:apkSizeNightly
[task 2026-01-19T00:11:50.181+00:00] Could not determine size of app-arm64-v8a-nightly-unsigned.apk (/builds/worker/workspace/obj-build/gradle/build/mobile/android/fenix/app/outputs/apk/fenix/nightly/app-arm64-v8a-nightly-unsigned.apk)
[task 2026-01-19T00:11:50.181+00:00] java.nio.file.NoSuchFileException: /builds/worker/workspace/obj-build/gradle/build/mobile/android/fenix/app/outputs/apk/fenix/nightly/app-arm64-v8a-nightly-unsigned.apk
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
[task 2026-01-19T00:11:50.181+00:00] 	at java.base/java.nio.file.Files.size(Files.java:2468)
[task 2026-01-19T00:11:50.181+00:00] 	at ApkSizeTask.determineApkSizes(ApkSizePlugin.kt:69)
[task 2026-01-19T00:11:50.181+00:00] 	at ApkSizeTask.logApkSize(ApkSizePlugin.kt:41)
Keywords: regression
Regressed by: 1998292

We have not noticed this task fail more than once due to build configuration
changes. I think it is more valuable to catch these failures at the right time
instead.

Assignee: nobody → tcampbell
Status: NEW → ASSIGNED

When we removed the build variant in Bug 1998292, we broke this. Simply update
the path here.

Set release status flags based on info from the regressing bug 1998292

Hmm.. while the lights were out, we also renamed the 'fenixDebug' variant to 'Debug', so the metric got a different name. I'm not sure it is worth mucking with further though since no one actually noticed it broke in first place.
https://treeherder.mozilla.org/perfherder/graphs?highlightAlerts=1&highlightChangelogData=0&highlightCommonAlerts=0&replicates=0&series=autoland,5059183,1,2&series=autoland,5665966,1,2&timerange=31536000

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: