Closed Bug 1763343 Opened 2 years ago Closed 2 years ago

Perma android Bgv builds gmake[1]: *** [/builds/worker/checkouts/gecko/build/moz-automation.mk:110: automation/buildsymbols] Error 2

Categories

(Firefox Build System :: Task Configuration, defect, P1)

defect

Tracking

(firefox-esr91 unaffected, firefox99 unaffected, firefox100 unaffected, firefox101blocking fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- unaffected
firefox101 blocking fixed

People

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

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=373569303&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H9Op82kcQZGZ692d4dfSFg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-04-06T07:18:52.424Z] 07:18:52     INFO -  package> gmake[5]: Leaving directory '/builds/worker/workspace/obj-build/mobile/android/installer'
[task 2022-04-06T07:18:52.450Z] 07:18:52     INFO -  buildsymbols> gmake[2]: Entering directory '/builds/worker/workspace/obj-build'
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols> rm -f 'dist/target.crashreporter-symbols-full.tar.zst'
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols> /builds/worker/workspace/obj-build/_virtualenvs/build/bin/python -m mozbuild.action.symbols_archive 'dist/target.crashreporter-symbols-full.tar.zst' /builds/worker/workspace/obj-build/dist/crashreporter-symbols --full-archive
[task 2022-04-06T07:18:52.451Z] 07:18:52    ERROR -  buildsymbols> Traceback (most recent call last):
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols>   File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols>     return _run_code(code, main_globals, None,
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols>   File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
[task 2022-04-06T07:18:52.451Z] 07:18:52     INFO -  buildsymbols>     exec(code, run_globals)
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/symbols_archive.py", line 90, in <module>
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>     main(sys.argv[1:])
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/symbols_archive.py", line 86, in main
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>     make_archive(args.archive, args.base, excludes, includes)
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/symbols_archive.py", line 47, in make_archive
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols>     import zstandard
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols> ModuleNotFoundError: No module named 'zstandard'
[task 2022-04-06T07:18:52.452Z] 07:18:52    ERROR -  buildsymbols> gmake[2]: *** [Makefile:186: symbolsfullarchive] Error 1
[task 2022-04-06T07:18:52.452Z] 07:18:52     INFO -  buildsymbols> gmake[2]: Leaving directory '/builds/worker/workspace/obj-build'
[task 2022-04-06T07:18:52.453Z] 07:18:52     INFO -  buildsymbols> gmake[2]: *** Waiting for unfinished jobs....
[task 2022-04-06T07:18:52.520Z] 07:18:52     INFO -  package> gmake[5]: Entering directory '/builds/worker/workspace/obj-build/mobile/android/installer'
<...>
[task 2022-04-06T07:18:58.001Z] 07:18:58     INFO -  buildsymbols> gmake[2]: Entering directory '/builds/worker/workspace/obj-build'
[task 2022-04-06T07:18:58.001Z] 07:18:58     INFO -  buildsymbols> rm -f 'dist/target.crashreporter-symbols.zip'
[task 2022-04-06T07:18:58.001Z] 07:18:58     INFO -  buildsymbols> /builds/worker/workspace/obj-build/_virtualenvs/build/bin/python -m mozbuild.action.symbols_archive 'dist/target.crashreporter-symbols.zip' /builds/worker/workspace/obj-build/dist/crashreporter-symbols
[task 2022-04-06T07:18:58.001Z] 07:18:58     INFO -  buildsymbols>   Adding to "target.crashreporter-symbols.zip":
[task 2022-04-06T07:18:58.001Z] 07:18:58     INFO -  buildsymbols> 	"BadCertAndPinningServer/2C225DCE214123E982C7C1F2F2FF2D900/BadCertAndPinningServer.sym"
[task 2022-04-06T07:18:58.002Z] 07:18:58     INFO -  buildsymbols>   Adding to "target.crashreporter-symbols.zip":
[task 2022-04-06T07:18:58.002Z] 07:18:58     INFO -  buildsymbols> 	"DelegatedCredentialsServer/1F90AB49A0DA1BE751777B642B4C76E50/DelegatedCredentialsServer.sym"
[task 2022-04-06T07:18:58.002Z] 07:18:58     INFO -  buildsymbols>   Adding to "target.crashreporter-symbols.zip":
[task 2022-04-06T07:18:58.002Z] 07:18:58     INFO -  buildsymbols> 	"EncryptedClientHelloServer/87E188904901EA6B0701780CAA7B439F0/EncryptedClientHelloServer.sym"
[task 2022-04-06T07:18:58.002Z] 07:18:58     INFO -  buildsymbols>   Adding to "target.crashreporter-symbols.zip":
<...>
[task 2022-04-06T07:18:58.018Z] 07:18:58     INFO -  buildsymbols>   Adding to "target.crashreporter-symbols.zip":
[task 2022-04-06T07:18:58.018Z] 07:18:58     INFO -  buildsymbols> 	"xpcshell/F19D07953BDBAAFE1351EAED70D659380/xpcshell.sym"
[task 2022-04-06T07:18:58.019Z] 07:18:58     INFO -  buildsymbols> gmake[2]: Leaving directory '/builds/worker/workspace/obj-build'
[task 2022-04-06T07:18:58.019Z] 07:18:58    ERROR -  gmake[1]: *** [/builds/worker/checkouts/gecko/build/moz-automation.mk:110: automation/buildsymbols] Error 2
[task 2022-04-06T07:18:58.019Z] 07:18:58     INFO -  gmake: *** [client.mk:67: build] Error 2
[task 2022-04-06T07:18:58.036Z] 07:18:58     INFO -  367 compiler warnings present.
[task 2022-04-06T07:18:58.207Z] 07:18:58    ERROR - Return code: 2
[task 2022-04-06T07:18:58.207Z] 07:18:58  WARNING - setting return code to 2
[task 2022-04-06T07:18:58.207Z] 07:18:58    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2022-04-06T07:18:58.207Z] 07:18:58    FATAL - Running post_fatal callback...
[task 2022-04-06T07:18:58.207Z] 07:18:58    FATAL - Exiting -1
[task 2022-04-06T07:18:58.207Z] 07:18:58     INFO - [mozharness: 2022-04-06 07:18:58.207610Z] Finished build step (failed)

Hi Mitchell! Can you please take a look at this?
Thank you!

Flags: needinfo?(mhentges)

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

Has Regression Range: --- → yes

These tasks:

  • Are builds: so pip install is frowned upon
  • Use zstandard: so it better be installed in the system environment

Opt into using the system python packages accordingly.

Assignee: nobody → mhentges
Status: NEW → ASSIGNED

You got it, look successful :)

Flags: needinfo?(mhentges)
Severity: S4 → S1
Priority: P5 → P1
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/098884d5de4d
Android AAR builds should use system Python packages r=firefox-build-system-reviewers,nalexander

Do we understand why this broke on mozilla-central but not on autoland? I see shippable fat-AAR builds there, but they never started failing during all of this.

Flags: needinfo?(mhentges)

Do we understand why this broke on mozilla-central but not on autoland? I see shippable fat-AAR builds there, but they never started failing during all of this.

Ah, it's because this failure is only encountered when generating "full" crashreporter symbols.
Looking at an autoland fat AAR build log, we can't find MOZ_ENABLE_FULL_SYMBOLS, but we do see it defined in this green central build log.
It gets fuzzier for how the tasks are defined differently, but I'm guessing that perhaps this transform has something to do with it.

Flags: needinfo?(mhentges)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Component: Mach Core → Task Configuration
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: