Closed
Bug 1463480
Opened 6 years ago
Closed 6 years ago
"Add new jobs" failing with "UnboundLocalError: local variable 'task' referenced before assignment"
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(firefox62 fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: jfkthame, Assigned: dustin)
Details
Attachments
(1 file)
See for example https://treeherder.mozilla.org/#/jobs?repo=try&revision=e0316f57217953f33a93a93d22fc64701942c2ec&group_state=expanded&selectedJob=179670921
Comment 1•6 years ago
|
||
From the raw log: [task 2018-05-22T16:01:59.335Z] executing ['bash', '-cx', 'cd /builds/worker/checkouts/gecko && ln -s /builds/worker/artifacts artifacts && ./mach --log-no-times taskgraph action-callback\n'] [task 2018-05-22T16:01:59.337Z] + cd /builds/worker/checkouts/gecko [task 2018-05-22T16:01:59.337Z] + ln -s /builds/worker/artifacts artifacts [task 2018-05-22T16:01:59.338Z] + ./mach --log-no-times taskgraph action-callback [task 2018-05-22T16:01:59.648Z] loading config from `taskcluster/ci/config.yml` [task 2018-05-22T16:01:59.701Z] Traceback (most recent call last): [task 2018-05-22T16:01:59.701Z] File "/builds/worker/checkouts/gecko/taskcluster/mach_commands.py", line 250, in action_callback [task 2018-05-22T16:01:59.701Z] test=False) [task 2018-05-22T16:01:59.701Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/actions/registry.py", line 289, in trigger_action_callback [task 2018-05-22T16:01:59.702Z] cb(Parameters(**parameters), graph_config, input, task_group_id, task_id, task) [task 2018-05-22T16:01:59.702Z] UnboundLocalError: local variable 'task' referenced before assignment Changelog for that file: https://hg.mozilla.org/mozilla-central/filelog/51f2535c797495f1f4e864072c2449b7c28669de/taskcluster/taskgraph/actions/registry.py Also recently this landed on the Treeherder side (and is in production already): https://github.com/mozilla/treeherder/pull/3502 Dustin, I don't suppose you have any ideas? :-)
Flags: needinfo?(dustin)
Assignee | ||
Updated•6 years ago
|
Component: Treeherder: Job Triggering & Cancellation → Task Configuration
Product: Tree Management → Firefox Build System
Version: --- → unspecified
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(dustin)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dustin
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8979670 [details] Bug 1463480 - always set task, even for taskgraph-level actions; https://reviewboard.mozilla.org/r/245808/#review251918
Attachment #8979670 -
Flags: review?(mozilla) → review+
Pushed by dmitchell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32f3c058a394 always set task, even for taskgraph-level actions; r=tomprince
Comment 5•6 years ago
|
||
Many thanks for the fix! :-)
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/32f3c058a394
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•