Intermittent UnboundLocalError: local variable 'high_value_tasks' referenced before assignment
Categories
(Tree Management Graveyard :: Treeherder: SETA, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Assigned: jmaher)
Details
Attachments
(1 file)
#[markdown(off)]
Filed by: csabou [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=239019393&repo=autoland
[task 2019-04-09T10:25:20.249Z] Reading file: /builds/worker/checkouts/gecko/moz.build
[task 2019-04-09T10:25:20.291Z] Reading file: /builds/worker/checkouts/gecko/dom/moz.build
[task 2019-04-09T10:25:20.295Z] Reading file: /builds/worker/checkouts/gecko/dom/audiochannel/moz.build
[task 2019-04-09T10:25:20.305Z] attempt 1/2
[task 2019-04-09T10:25:20.305Z] retry: calling get with args: (u'https://hg.mozilla.org/integration/autoland/json-pushes/?startID=82642&endID=82643',), kwargs: {u'headers': {u'User-Agent': u'TaskCluster'}, u'timeout': 60}, attempt #1
[task 2019-04-09T10:25:20.932Z] Retrieving low-value jobs list from SETA
[task 2019-04-09T10:25:20.932Z] attempt 1/2
[task 2019-04-09T10:25:20.932Z] retry: calling get with args: (u'https://treeherder.mozilla.org/api/project/autoland/seta/job-priorities/?build_system_type=taskcluster&priority=5',), kwargs: {u'headers': u'', u'timeout': 60}, attempt #1
[task 2019-04-09T10:25:22.411Z] Retrieving high-value jobs list from SETA
[task 2019-04-09T10:25:22.411Z] attempt 1/2
[task 2019-04-09T10:25:22.411Z] retry: calling get with args: (u'https://treeherder.mozilla.org/api/project/autoland/seta/job-priorities/?build_system_type=taskcluster&priority=1',), kwargs: {u'headers': u'', u'timeout': 60}, attempt #1
[task 2019-04-09T10:25:23.150Z] Traceback (most recent call last):
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/mach_commands.py", line 203, in taskgraph_decision
[task 2019-04-09T10:25:23.150Z] return taskgraph.decision.taskgraph_decision(options)
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/decision.py", line 189, in taskgraph_decision
[task 2019-04-09T10:25:23.150Z] write_artifact('task-graph.json', tgg.morphed_task_graph.to_json())
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 201, in morphed_task_graph
[task 2019-04-09T10:25:23.150Z] return self._run_until('morphed_task_graph')
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 342, in _run_until
[task 2019-04-09T10:25:23.150Z] k, v = self._run.next()
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 329, in _run
[task 2019-04-09T10:25:23.150Z] existing_tasks=existing_tasks)
[task 2019-04-09T10:25:23.150Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 56, in optimize_task_graph
[task 2019-04-09T10:25:23.151Z] do_not_optimize=do_not_optimize)
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 126, in remove_tasks
[task 2019-04-09T10:25:23.151Z] if opt.should_remove_task(task, params, arg):
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 285, in should_remove_task
[task 2019-04-09T10:25:23.151Z] lambda sub, arg: sub.should_remove_task(task, params, arg))
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 277, in _for_substrategies
[task 2019-04-09T10:25:23.151Z] rv = fn(sub, arg)
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 285, in <lambda>
[task 2019-04-09T10:25:23.151Z] lambda sub, arg: sub.should_remove_task(task, params, arg))
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 329, in should_remove_task
[task 2019-04-09T10:25:23.151Z] params.get('pushdate')):
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/util/seta.py", line 256, in is_low_value_task
[task 2019-04-09T10:25:23.151Z] self.low_value_tasks[project] = self.query_low_value_tasks(project)
[task 2019-04-09T10:25:23.151Z] File "/builds/worker/checkouts/gecko/taskcluster/taskgraph/util/seta.py", line 93, in query_low_value_tasks
[task 2019-04-09T10:25:23.151Z] high_value_android_tasks = list(filter(only_android_raptor, high_value_tasks))
[task 2019-04-09T10:25:23.151Z] UnboundLocalError: local variable 'high_value_tasks' referenced before assignment
[taskcluster 2019-04-09 10:25:23.865Z] === Task Finished ===
[taskcluster 2019-04-09 10:26:04.677Z] Unsuccessful task run with exit code: 1 completed in 94.575 seconds
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
ensure high_value_tasks has a default value when we fail to get data from treeherder/seta.
Assignee | ||
Updated•5 years ago
|
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4c8925d83ed ensure high_value_tasks has a default value when we fail to get data from treeherder/seta. r=Callek
Comment 3•5 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Updated•4 years ago
|
Description
•