Closed Bug 1659628 Opened 4 years ago Closed 4 years ago

Decision task bustage: no mach virtualenv

Categories

(Thunderbird :: Build Config, task)

Tracking

(thunderbird_esr78 unaffected, thunderbird80 unaffected)

RESOLVED FIXED
81 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird80 --- unaffected

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(2 files)

Fallout from bug 1656993.
To get around the need to create a mach environment, MOZ_AUTOMATION can be set to force mach to use the system Python.
Firefox recently set MOZ_AUTOMATION in their .taskcluster.yml for a different reason.
Other changes relating to toolchains are needed too.

Firefox sets MOZ_AUTOMATION in their .taskcluster.yml. It's function with regard to mach is documented
in $topsrcdir/mach.

The patch in comment 1 fixes part of the current bustage. Next there are problems due to D86780 from bug 1636797. The issue there is the use of the mercurial repository rather than the filesystem to look for changes. Unfortunately, with the two-repository setup that is used for Thunderbird, any file outside of the Mozilla checkout (all of 'comm/') won't be seen. This breaks the toolchain jobs that Thunderbird has set up.

Assignee: nobody → rob
Attachment #9170712 - Attachment description: Bug 1659628 - Set MOZ_AUTOMATION for Decision tasks to work around mach environment bootstrapping. → Bug 1659628 - Set MOZ_AUTOMATION for Decision tasks to work around mach environment bootstrapping. r?mkmelin
Status: NEW → ASSIGNED

Bug 1636797 made changes to the hash calculations done when determining if toolchains
need building. Rather than relying on the filesystem, the version control repository
is consulted.
This breaks the toolchains where resource files are not in the GECKO repository, such
as libotr.
hash_paths_extended is used the same way hash_paths is, but it is aware of the comm/
subdirectory.

Depends on D87457

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/ab5897d31a04
Set MOZ_AUTOMATION for Decision tasks to work around mach environment bootstrapping. r=mkmelin
https://hg.mozilla.org/comm-central/rev/088f530a8658
Extend hash_paths to account for toolchain files in comm repository. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: