Closed Bug 1680675 Opened 5 years ago Closed 5 years ago

Perma win aarch shippable build: ModuleNotFoundError: No module named 'zstandard'

Categories

(Firefox Build System :: General, defect, P1)

defect

Tracking

(firefox-esr78 unaffected, firefox83 unaffected, firefox84 unaffected, firefox85blocking fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 blocking fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2020-12-04T05:26:13.118Z] 05:26:13     INFO -  Error running mach:
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -      ['--log-no-times', 'artifact', 'install', '--symbols=full', '--host-bins', '-v']
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  The error occurred in code that was called by the mach command. This is either
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  a bug in the called code itself or in the way that mach is calling it.
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  isn't, please use |./mach busted file artifact| to report it. If |./mach busted| is
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2020-12-04T05:26:13.119Z] 05:26:13     INFO -  If filing a bug, please include the full output of mach, including this error
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -  message.
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -  The details of the failure are as follows:
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -  ModuleNotFoundError: No module named 'zstandard'
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifact_commands.py", line 204, in artifact_install
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -      return artifacts.install_from(source, distdir or self.distdir)
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 1520, in install_from
[task 2020-12-04T05:26:13.120Z] 05:26:13     INFO -      return self.install_from_task(os.environ[var], distdir)
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 1498, in install_from_task
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -      if self.install_from_url(url, distdir):
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 1387, in install_from_url
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -      return self.install_from_file(filename, distdir)
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 1346, in install_from_file
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -      self._artifact_job.process_artifact(filename, processed_filename)
[task 2020-12-04T05:26:13.121Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 227, in process_artifact
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -      return self.process_symbols_archive(filename, processed_filename)
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 370, in process_symbols_archive
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -      for filename, entry in self.iter_artifact_archive(filename):
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/artifacts.py", line 403, in iter_artifact_archive
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -      import zstandard
[task 2020-12-04T05:26:13.122Z] 05:26:13    ERROR -  make[3]: *** [Makefile:126: recurse_artifact] Error 1
[task 2020-12-04T05:26:13.122Z] 05:26:13     INFO -  make[3]: Leaving directory '/builds/worker/workspace/obj-build'
[task 2020-12-04T05:26:13.123Z] 05:26:13    ERROR -  make[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: artifact] Error 2
[task 2020-12-04T05:26:13.123Z] 05:26:13    ERROR -  make[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:355: default] Error 2
[task 2020-12-04T05:26:13.123Z] 05:26:13     INFO -  make: *** [client.mk:89: build] Error 2
[task 2020-12-04T05:26:13.123Z] 05:26:13     INFO -  0 compiler warnings present.
[task 2020-12-04T05:26:13.183Z] 05:26:13    ERROR - Return code: 2
[task 2020-12-04T05:26:13.183Z] 05:26:13  WARNING - setting return code to 2
[task 2020-12-04T05:26:13.183Z] 05:26:13    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2020-12-04T05:26:13.183Z] 05:26:13    FATAL - Running post_fatal callback...
[task 2020-12-04T05:26:13.183Z] 05:26:13    FATAL - Exiting -1
[task 2020-12-04T05:26:13.184Z] 05:26:13     INFO - [mozharness: 2020-12-04 05:26:13.184002Z] Finished build step (failed)
[task 2020-12-04T05:26:13.184Z] 05:26:13     INFO - Running post-run listener: _parse_build_tests_ccov
[task 2020-12-04T05:26:13.184Z] 05:26:13     INFO - Update channel set to: nightly```

:mhentges seems to have started once Bug 1661153 was merged to mozilla-central.
Could you take a look please?
Thank you.

Flags: needinfo?(mhentges)

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

We run ./mach artifact install in CI, and the CI environment doesn't
bootstrap/create-mach-environment, so native modules (such as
zstandard) aren't installed.
Since we need zstandard for this command, we must install it ad-hoc.

Attachment #9191343 - Attachment description: Bug 1680675: Re-adds manual zstd-installation for CI → Bug 1680675: Re-adds manual zstandard installation for CI
Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Flags: needinfo?(mhentges)
Summary: Perma win 2012 ModuleNotFoundError: No module named 'zstandard' → Perma win aarch shippable build: ModuleNotFoundError: No module named 'zstandard'

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P5 → P2

This will block shipping betas next week.

Severity: S4 → S1
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a812a52adea8 Re-adds manual zstandard installation for CI r=firefox-build-system-reviewers,dmajor
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Has Regression Range: --- → yes
Priority: P2 → P1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: