I'm trying to schedule this graph (which validates): https://pastebin.mozilla.org/8860375 Unfortunately, I get a traceback  w/o information of what is the actual issue. The code is called from the TC client  which grabs from data from data.get('message') (line 431). The actual error is sent from the scheduler code  jonasfj: could you please help me figure out why? and what code changes would improve determining it from the exception raised?  Traceback (most recent call last): File "/home/armenzg/repos/ci_tools/mozci/sources/tc.py", line 216, in retrigger_task results = schedule_graph(task_graph) File "/home/armenzg/repos/ci_tools/mozci/sources/tc.py", line 258, in schedule_graph result = scheduler.createTaskGraph(task_graph_id, task_graph) File "/home/armenzg/repos/taskcluster/taskcluster-client.py/taskcluster/client.py", line 481, in apiCall return self._makeApiCall(e, *args, **kwargs) File "/home/armenzg/repos/taskcluster/taskcluster-client.py/taskcluster/client.py", line 248, in _makeApiCall return self._makeHttpRequest(entry['method'], route, payload) File "/home/armenzg/repos/taskcluster/taskcluster-client.py/taskcluster/client.py", line 450, in _makeHttpRequest superExc=rerr TaskclusterRestFailure: Errors found in task nodes  https://github.com/taskcluster/taskcluster-client.py/blob/master/taskcluster/client.py#L417  https://github.com/taskcluster/task-graph-scheduler/blob/832d96a9529bcc59fe41efc3160c98e9f80b572b/scheduler/helpers.js#L138
2 years ago
The `TaskclusterRestFailure` error object should carry the json body that was returned... The json body should contain information... See: https://github.com/taskcluster/taskcluster-client.py/blob/master/taskcluster/client.py#L448 That property should tell you the errors from: https://github.com/taskcluster/task-graph-scheduler/blob/832d96a9529bcc59fe41efc3160c98e9f80b572b/scheduler/helpers.js#L141 As sent here: https://github.com/taskcluster/task-graph-scheduler/blob/832d96a9529bcc59fe41efc3160c98e9f80b572b/routes/api/v1.js#L164 So basically catch the exception and dump the body property... Or even better improve taskcluster-client.py to include the body in the exception message...
Armen -- Do you need more assistance with this issue, or is this resolved at this point?
The code has changed too much since this got filed.