Closed Bug 1544986 Opened 5 years ago Closed 5 years ago

AttributeError: 'NoneType' object has no attribute 'encode' running run-task on Windows workers

Categories

(Firefox Build System :: Task Configuration, task, P3)

task

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Because of bug 1544983, region ends up None, and running run-task subsequently fails, ironically, while printing a message saying it's going to fallback to hg.mozilla.org:

Traceback (most recent call last):
File "run-task", line 836, in <module>
sys.exit(main(sys.argv[1:]))
File "run-task", line 816, in main
vcs_checkout_from_args(args, 'gecko')
File "run-task", line 624, in vcs_checkout_from_args
options = collect_vcs_options(args, project)
File "run-task", line 608, in collect_vcs_options
base_repo, head_repo = resolve_checkout_url(base_repo, head_repo)
File "run-task", line 544, in resolve_checkout_url
b'hg.mozilla.org service\n' % region.encode('utf-8'))
AttributeError: 'NoneType' object has no attribute 'encode'

Priority: -- → P3
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/4c994bf99569
Fall back more gracefully when TASKCLUSTER_WORKER_GROUP is not set. r=tomprince
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: