Closed Bug 2079380 Opened 1 month ago Closed 1 month ago

macOS shippable builds fail to build in artifact mode with "MOZCONFIG is not set in the environment"

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox-esr153 unaffected, firefox157 unaffected, firefox158 unaffected, firefox159 wontfix, firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox157 --- unaffected
firefox158 --- unaffected
firefox159 --- wontfix
firefox160 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

A try push using --artifact that includes build-macosx64-shippable/opt fails right at the start of the build step:

FATAL - MOZCONFIG is not set in the environment

Failing task: https://firefox-ci-tc.services.mozilla.com/tasks/Px2CPJdHQf2sQRzfTivlqg

In artifact mode, collapse_unified_builds in taskcluster/gecko_taskgraph/transforms/build.py turns the universal build into an artifact build by taking over the run, fetches and env of the x64 build. Since bug 2073844, MOZCONFIG is set by the mozconfig transform from a mozconfig key rather than by the mozharness configs, and the universal build has mozconfig: null. The collapse does not take over the x64 build's mozconfig, so the collapsed build ends up without one.

Copying the x64 build's mozconfig in collapse_unified_builds fixes it.

Since MOZCONFIG is set from the mozconfig key rather than the mozharness
configs, the collapsed build kept the universal build's mozconfig: null and
failed with "MOZCONFIG is not set in the environment".

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

Pushed by aosmond@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4525882dcaf1 https://hg.mozilla.org/integration/autoland/rev/1918e02d77c2 Keep the x64 mozconfig when collapsing the macOS universal build into an artifact build. r=taskgraph-reviewers,firefox-build-system-reviewers,sylvestre,ahal
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

The patch landed in nightly and beta is affected.

:aosmond, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox159 to wontfix if the fix can wait for the next release.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(aosmond)
Flags: needinfo?(aosmond)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: