Closed
Bug 1460470
Opened 6 years ago
Closed 6 years ago
Port run-task to Python 3
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox62 fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(5 files)
59 bytes,
text/x-review-board-request
|
mshal
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mshal
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mshal
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mshal
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
mshal
:
review+
|
Details |
I'd like to get run-task running on Python 3 so we are future compatible. Ideally, we'd make run-task Python 3 only. Depending on results of a Try push, I may or may not do that in this bug.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•6 years ago
|
||
I'm not 100% certain this passes Try. And we're blocked on landing this at present due to gmplib.org being offline. Try pushes in the past ~24h are using the patch in bug 1460777 to work around the problem.
Assignee | ||
Comment 6•6 years ago
|
||
This also requires bug 1460475 to get Python 3 on image_builder (or a change to use /usr/bin/python2.7 with run-task on image_builder until Python 3 is available).
Depends on: 1460475
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 17•6 years ago
|
||
mozreview-review |
Comment on attachment 8974867 [details] Bug 1460470 - Make run-task compile on Python 3; https://reviewboard.mozilla.org/r/243252/#review250048
Attachment #8974867 -
Flags: review+
Updated•6 years ago
|
Attachment #8974867 -
Flags: review?(core-build-config-reviews)
Comment 18•6 years ago
|
||
mozreview-review |
Comment on attachment 8974868 [details] Bug 1460470 - Make run-task somewhat usable on Python 3; https://reviewboard.mozilla.org/r/243254/#review250058 ::: taskcluster/scripts/run-task:729 (Diff revision 3) > return run_and_prefix_output(b'task', task_args) > > > if __name__ == '__main__': > # Unbuffer stdio. > + if not PY3 nit: Missing colon. You fix this in a future patch - maybe a mixed up rebase?
Attachment #8974868 -
Flags: review+
Updated•6 years ago
|
Attachment #8974868 -
Flags: review?(core-build-config-reviews)
Comment 19•6 years ago
|
||
mozreview-review |
Comment on attachment 8974869 [details] Bug 1460470 - More run-task Python 3 porting; https://reviewboard.mozilla.org/r/243256/#review250060
Attachment #8974869 -
Flags: review+
Updated•6 years ago
|
Attachment #8974869 -
Flags: review?(core-build-config-reviews)
Comment 20•6 years ago
|
||
mozreview-review |
Comment on attachment 8974870 [details] Bug 1460470 - Change run-task to use Python 3 by default; https://reviewboard.mozilla.org/r/243258/#review250064
Attachment #8974870 -
Flags: review+
Updated•6 years ago
|
Attachment #8974870 -
Flags: review?(core-build-config-reviews)
Comment 21•6 years ago
|
||
mozreview-review |
Comment on attachment 8975094 [details] Bug 1460470 - Make run-task Python 3.5+ only; https://reviewboard.mozilla.org/r/243436/#review250066
Attachment #8975094 -
Flags: review+
Updated•6 years ago
|
Attachment #8975094 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Comment 22•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8974868 [details] Bug 1460470 - Make run-task somewhat usable on Python 3; https://reviewboard.mozilla.org/r/243254/#review250058 > nit: Missing colon. You fix this in a future patch - maybe a mixed up rebase? Yup. I'll submit a new series with this fixed up.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 28•6 years ago
|
||
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebd569c9d870 Make run-task compile on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/16d15b4b97fa Make run-task somewhat usable on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/88324086394e More run-task Python 3 porting; r=mshal https://hg.mozilla.org/integration/autoland/rev/94c3b68ccc48 Change run-task to use Python 3 by default; r=mshal https://hg.mozilla.org/integration/autoland/rev/07a3e76abc8c Make run-task Python 3.5+ only; r=mshal
Comment 29•6 years ago
|
||
Backout by aciure@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0648f20903e7 Backed out 5 changesets for gps: image build failures a=backout CLOSED TREE
Comment 30•6 years ago
|
||
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef477a048b57 Make run-task compile on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/19fe5702cf6d Make run-task somewhat usable on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/4902cab3ce5d More run-task Python 3 porting; r=mshal https://hg.mozilla.org/integration/autoland/rev/33fe8423f88c Change run-task to use Python 3 by default; r=mshal https://hg.mozilla.org/integration/autoland/rev/94a9641c5a01 Make run-task Python 3.5+ only; r=mshal
Assignee | ||
Comment 31•6 years ago
|
||
8a820882e927 (bug 1460411) introduced octal syntax to run-task between my last try run and the initial landing. Yay bit rot. Relanded with an "0666" changed to "0o666".
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 37•6 years ago
|
||
Backout by aciure@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/278ac3ea0ce5 Backed out 5 changesets for toolchains bustages a=backout CLOSED TREE
Assignee | ||
Comment 38•6 years ago
|
||
GCC tasks failed to build because www.multiprecision.org is currently offline. We'll be able to reland once that service comes back online.
Comment 39•6 years ago
|
||
Backed out 5 changesets (bug 1460470) for toolchains bustages a=backout CLOSED TREE push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=94a9641c5a018cfe729ebe748e75a7c4373e4322&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified&filter-searchStr=277212d3a533ae470142152dc0c6c9573610e574 log: https://treeherder.mozilla.org/logviewer.html#?job_id=178858690&repo=autoland backout: https://hg.mozilla.org/integration/autoland/rev/278ac3ea0ce59ba78e3b582641f85fdc67315ff1
Comment 40•6 years ago
|
||
With the taskcluster-images rebuilt with this change, this can actually reland without triggering rebuilds of gcc.
Comment 41•6 years ago
|
||
hg error in cmd: hg rebase -s ef477a048b575958be74287a2273830813b385f1 -d 51cd668c0e87: abort: unknown revision '51cd668c0e87'!
Comment 42•6 years ago
|
||
hg error in cmd: hg rebase -s ef477a048b575958be74287a2273830813b385f1 -d fb6bfcb8a12b: abort: unknown revision 'fb6bfcb8a12b'!
Comment 43•6 years ago
|
||
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3332fd1664fd Make run-task compile on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/7926b62aaed8 Make run-task somewhat usable on Python 3; r=mshal https://hg.mozilla.org/integration/autoland/rev/27253061b12b More run-task Python 3 porting; r=mshal https://hg.mozilla.org/integration/autoland/rev/d12067020656 Change run-task to use Python 3 by default; r=mshal https://hg.mozilla.org/integration/autoland/rev/26af09fb8be9 Make run-task Python 3.5+ only; r=mshal
Comment 44•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3332fd1664fd https://hg.mozilla.org/mozilla-central/rev/7926b62aaed8 https://hg.mozilla.org/mozilla-central/rev/27253061b12b https://hg.mozilla.org/mozilla-central/rev/d12067020656 https://hg.mozilla.org/mozilla-central/rev/26af09fb8be9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Updated•5 years ago
|
Version: Version 3 → 3 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•