gecko decision task: ValueError: No JSON object could be decoded | failure to get low-value tasks from SETA

RESOLVED FIXED in mozilla52

Status

defect
--
blocker
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: aryx, Assigned: jmaher)

Tracking

unspecified
mozilla52

Details

Attachments

(1 attachment)

Closed the trees for this: https://treeherder.mozilla.org/logviewer.html#?job_id=5764496&repo=autoland

[task 2016-10-27T17:13:25.582011Z] Querying SETA service for low-value tasks on autoland
[task 2016-10-27T17:13:25.582121Z] Retrieving low-value jobs list from SETA
[task 2016-10-27T17:13:25.582232Z] attempt 1/2
[task 2016-10-27T17:13:25.582434Z] retry: Calling <function get at 0x7fd10c92f140> with args: ('http://seta.herokuapp.com/data/setadetails/?branch=autoland',), kwargs: {'headers': {'User-Agent': 'TaskCluster'}, 'timeout': 5}, attempt #1
[task 2016-10-27T17:13:25.587197Z] Starting new HTTP connection (1): seta.herokuapp.com
[task 2016-10-27T17:13:26.010939Z] "GET /data/setadetails/?branch=autoland HTTP/1.1" 500 None
[task 2016-10-27T17:13:26.081093Z] Traceback (most recent call last):
[task 2016-10-27T17:13:26.081169Z]   File "/home/worker/checkouts/gecko/taskcluster/mach_commands.py", line 163, in taskgraph_decision
[task 2016-10-27T17:13:26.081307Z]     return taskgraph.decision.taskgraph_decision(options)
[task 2016-10-27T17:13:26.081368Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/decision.py", line 95, in taskgraph_decision
[task 2016-10-27T17:13:26.081855Z]     write_artifact('task-graph.json', tgg.optimized_task_graph.to_json())
[task 2016-10-27T17:13:26.081908Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 123, in optimized_task_graph
[task 2016-10-27T17:13:26.081940Z]     return self._run_until('optimized_task_graph')
[task 2016-10-27T17:13:26.081972Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 214, in _run_until
[task 2016-10-27T17:13:26.081998Z]     k, v = self._run.next()
[task 2016-10-27T17:13:26.082040Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/generator.py", line 207, in _run
[task 2016-10-27T17:13:26.082060Z]     do_not_optimize)
[task 2016-10-27T17:13:26.082132Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 35, in optimize_task_graph
[task 2016-10-27T17:13:26.082172Z]     existing_tasks=existing_tasks)
[task 2016-10-27T17:13:26.082232Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/optimize.py", line 98, in annotate_task_graph
[task 2016-10-27T17:13:26.082287Z]     optimized, replacement_task_id = task.optimize(params)
[task 2016-10-27T17:13:26.082353Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/task/transform.py", line 99, in optimize
[task 2016-10-27T17:13:26.082396Z]     if is_low_value_task(self.label, params.get('project')):
[task 2016-10-27T17:13:26.082429Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/util/seta.py", line 72, in is_low_value_task
[task 2016-10-27T17:13:26.082454Z]     self.low_value_tasks[project] = self.query_low_value_tasks(project)
[task 2016-10-27T17:13:26.082486Z]   File "/home/worker/checkouts/gecko/taskcluster/taskgraph/util/seta.py", line 44, in query_low_value_tasks
[task 2016-10-27T17:13:26.082510Z]     task_list = json.loads(response.content).get('jobtypes', '')
[task 2016-10-27T17:13:26.082532Z]   File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
[task 2016-10-27T17:13:26.082573Z]     return _default_decoder.decode(s)
[task 2016-10-27T17:13:26.082617Z]   File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
[task 2016-10-27T17:13:26.082735Z]     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[task 2016-10-27T17:13:26.082790Z]   File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
[task 2016-10-27T17:13:26.082835Z]     raise ValueError("No JSON object could be decoded")
[task 2016-10-27T17:13:26.082872Z] ValueError: No JSON object could be decoded
Comment hidden (mozreview-request)

Comment 2

3 years ago
mozreview-review
Comment on attachment 8805241 [details]
Bug 1313426 - gecko decision task: ValueError: No JSON object. fix SETA.

https://reviewboard.mozilla.org/r/89018/#review88176
Attachment #8805241 - Flags: review?(dustin) → review+

Comment 3

3 years ago
Pushed by dmitchell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f1e994a312d2
gecko decision task: ValueError: No JSON object. fix SETA. r=dustin
Assignee: nobody → jmaher

Comment 4

3 years ago
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/mozilla-central/rev/6d9707e3343f
gecko decision task: ValueError: No JSON object. fix SETA. r=dustin a=bustage-fix

Comment 5

3 years ago
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a8c8bb56737d
gecko decision task: ValueError: No JSON object. fix SETA. r=dustin on a CLOSED TREE

Comment 6

3 years ago
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/fx-team/rev/9272c247ecf1
gecko decision task: ValueError: No JSON object. fix SETA. r=dustin r=bustage-fix a=bustage-fix

Comment 7

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6d9707e3343f
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.