Closed Bug 1921235 Opened 11 months ago Closed 11 months ago

Perma android searchfox [tier 2] gmake[4]: *** [/builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:47: stage-package] Error 1

Categories

(Data Platform and Tools :: Glean: SDK, defect, P5)

defect

Tracking

(firefox132 fixed)

RESOLVED FIXED
Tracking Status
firefox132 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: janerik)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=475872889&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/L6lJJRHnTiOSiMMCPIes6w/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-26T11:27:12.650Z] 11:27:12     INFO -  > Configure project :ui-widgets
[task 2024-09-26T11:27:12.650Z] 11:27:12     INFO -  FAILURE: Build failed with an exception.
[task 2024-09-26T11:27:12.650Z] 11:27:12     INFO -  * What went wrong:
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -  Could not determine the dependencies of task ':browser-engine-gecko:compileDebugJavaWithJavac'.
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -  > Could not resolve all dependencies for configuration ':browser-engine-gecko:debugCompileClasspath'.
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -     > Could not resolve org.mozilla.telemetry:glean:61.1.0.
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -       Required by:
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -           project :browser-engine-gecko
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -        > Cannot find a version of 'org.mozilla.telemetry:glean' that satisfies the version constraints:
[task 2024-09-26T11:27:12.651Z] 11:27:12     INFO -             Dependency path 'gecko:browser-engine-gecko:unspecified' --> 'org.mozilla.telemetry:glean:61.1.0'
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -             Constraint path 'gecko:browser-engine-gecko:unspecified' --> 'org.mozilla.telemetry:glean:{strictly 61.0.0}' because of the following reason: version resolved in configuration ':browser-engine-gecko:debugRuntimeClasspath' by consistent resolution
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  > There is 1 more failure with an identical cause.
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  * Try:
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  > Run with --stacktrace option to get the stack trace.
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  > Run with --info or --debug option to get more log output.
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  > Run with --scan to get full insights.
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  > Get more help at https://help.gradle.org.
[task 2024-09-26T11:27:12.652Z] 11:27:12     INFO -  Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2024-09-26T11:27:12.653Z] 11:27:12     INFO -  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-09-26T11:27:12.653Z] 11:27:12     INFO -  For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2024-09-26T11:27:12.653Z] 11:27:12     INFO -  BUILD FAILED in 40s
[task 2024-09-26T11:27:12.653Z] 11:27:12     INFO -  30 actionable tasks: 6 executed, 24 up-to-date
[task 2024-09-26T11:27:12.653Z] 11:27:12    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:47: stage-package] Error 1
[task 2024-09-26T11:27:12.653Z] 11:27:12     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/mobile/android/installer'
[task 2024-09-26T11:27:12.653Z] 11:27:12    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/mobile/android/build.mk:14: stage-package] Error 2
[task 2024-09-26T11:27:12.654Z] 11:27:12     INFO -  gmake[3]: Target 'recurse_android-stage-package' not remade because of errors.
[task 2024-09-26T11:27:12.654Z] 11:27:12    ERROR -  gmake[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: android-stage-package] Error 2
[task 2024-09-26T11:27:12.654Z] 11:27:12    ERROR -  gmake[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:359: default] Error 2
[task 2024-09-26T11:27:12.654Z] 11:27:12     INFO -  gmake: *** [client.mk:60: build] Error 2
[task 2024-09-26T11:27:12.813Z] 11:27:12     INFO -  119 compiler warnings present.
[task 2024-09-26T11:27:15.522Z] 11:27:15     INFO - Return code: 2
[task 2024-09-26T11:27:15.522Z] 11:27:15  WARNING - setting return code to 2
[task 2024-09-26T11:27:15.522Z] 11:27:15    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2024-09-26T11:27:15.522Z] 11:27:15    FATAL - Running post_fatal callback...
[task 2024-09-26T11:27:15.522Z] 11:27:15    FATAL - Exiting -1
[task 2024-09-26T11:27:15.522Z] 11:27:15     INFO - [mozharness: 2024-09-26 11:27:15.522286Z] Finished build step (failed)
Flags: needinfo?(jrediger)

This was done for Fenix (bug 1917825) and Focus (bug 1920953),
but Searchfox calls Gradle from the top-level, so apparently we need it
here too.

I would like if we can define it once and it's just used across the
whole tree, but I don't know how.

With this patch mach android compile-all at the top-level works.

Assignee: nobody → jrediger
Status: NEW → ASSIGNED
Pushed by rvandermeulen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1fa9063dfc60 Gradle: Enforce the Glean version at the top-level. r=RyanVM
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Flags: needinfo?(jrediger)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: