Closed Bug 1317593 Opened 4 years ago Closed 4 years ago

Mercurial.vcs_checkout() should use HG_SHARED_DIR when vcs_share_base is not defined

Categories

(Release Engineering :: General, defect)

defect
Not set
critical

Tracking

(firefox53 fixed)

RESOLVED FIXED
Tracking Status
firefox53 --- fixed

People

(Reporter: rail, Assigned: rail)

References

Details

Attachments

(1 file)

https://tools.taskcluster.net/task-inspector/#er2SVtaXSGKHKir-85KxQg/0 failed to clone the tools repo which is defined in https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/scripts/release/generate-checksums.py#230 because it doesn't pass the check defined in https://dxr.mozilla.org/mozilla-beta/source/testing/mozharness/mozharness/base/vcs/mercurial.py#362

19:36:56    FATAL - Automation Error: Can't checkout /tools/checkouts/build-tools!
19:36:56    FATAL - Caught exception: vcs share base not defined; refusing to operate sub-optimally

When Mercurial.vcs_checkout() is called, sometimes it may set vcs_share_base to None in https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/mozharness/base/vcs/vcsbase.py#70-71.

Later when https://dxr.mozilla.org/mozilla-beta/source/testing/mozharness/mozharness/base/vcs/mercurial.py#356 is executed, it finds that value set to None and doesn't use HG_SHARED_DIR.
Duplicate of this bug: 1317582
This is blocking 51.0b1
Severity: normal → critical
Comment on attachment 8810719 [details]
Bug 1317593 - Fix logic in settings vcs_share_base

https://reviewboard.mozilla.org/r/93026/#review93204
Attachment #8810719 - Flags: review?(gps) → review+
Pushed by raliiev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c8359a83645
Fix logic in settings vcs_share_base r=gps
https://hg.mozilla.org/mozilla-central/rev/0c8359a83645
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.