Closed Bug 1704838 Opened 3 years ago Closed 3 years ago

Permafailing SyntaxError: invalid syntax

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox87 unaffected, firefox88 unaffected, firefox89 unaffected, firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-04-13T15:55:52.174Z] + python2 ./mach python-test --subsuite telemetry-python --run-slow
[task 2021-04-13T15:55:52.184Z] Traceback (most recent call last):
[task 2021-04-13T15:55:52.184Z]   File "./mach", line 153, in <module>
[task 2021-04-13T15:55:52.184Z]     main(sys.argv[1:])
[task 2021-04-13T15:55:52.184Z]   File "./mach", line 145, in main
[task 2021-04-13T15:55:52.184Z]     mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
[task 2021-04-13T15:55:52.184Z]   File "./mach", line 132, in check_and_get_mach
[task 2021-04-13T15:55:52.184Z]     return load_mach(dir_path, mach_path)
[task 2021-04-13T15:55:52.184Z]   File "./mach", line 113, in load_mach
[task 2021-04-13T15:55:52.184Z]     mach_bootstrap = imp.load_source('mach_bootstrap', mach_path)
[task 2021-04-13T15:55:52.184Z]   File "/builds/worker/checkouts/gecko/build/mach_bootstrap.py", line 205
[task 2021-04-13T15:55:52.184Z]     site_paths = {*site.getsitepackages(), site.getusersitepackages()}
[task 2021-04-13T15:55:52.184Z]                   ^
[task 2021-04-13T15:55:52.184Z] SyntaxError: invalid syntax
[taskcluster 2021-04-13 15:55:52.514Z] === Task Finished ===
[taskcluster 2021-04-13 15:55:52.514Z] Unsuccessful task run with exit code: 1 completed in 21.775 seconds```
Flags: needinfo?(mhentges)

Python 2 isn't as happy with spread operators and doesn't
support "sys.base_prefix".

Assignee: nobody → mhentges
Attachment #9215559 - Attachment description: WIP: Bug 1704838: Resolve mach_bootstrap compatibility with Python 2 → Bug 1704838: Resolve mach_bootstrap compatibility with Python 2
Status: NEW → ASSIGNED
Flags: needinfo?(mhentges)
Summary: Permafailing tier 2 tp SyntaxError: invalid syntax → Permafailing SyntaxError: invalid syntax
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1bedcefd2d7
Resolve mach_bootstrap compatibility with Python 2 r=sheehan
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: