Closed
Bug 1501290
Opened 7 years ago
Closed 7 years ago
Taskcluster-Treeherder should handle schema errors internally
Categories
(Taskcluster :: Operations and Service Requests, task)
Taskcluster
Operations and Service Requests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
Details
These are currently sent to Sentry. Probably just logging them as ignored is sufficient.
| Assignee | ||
Comment 1•7 years ago
|
||
https://sentry.prod.mozaws.net/operations/taskcluster-treeherder/issues/3515947/
Error: Message validation failed.
Schema Validation Failed!
Rejecting Schema: https://schemas.taskcluster.net/treeherder/v1/pulse-job.json#
Errors:
* data.origin should NOT have additional properties: "revision_hash"
* data.origin should have required property 'revision'
* data.origin should NOT have additional properties: "revision_hash"
* data.origin should NOT have additional properties: "pushLogID"
* data.origin.kind should be equal to one of the allowed values
* data.origin should have required property 'revision'
* data.origin should match exactly one schema in oneOf
/app/src/handler.js in Handler.publishJobMessage at line 198:28
| Assignee | ||
Comment 2•7 years ago
|
||
The spate of these errors occurred due to YAML errors in .taskcluster.yml, as a result of the "error task" hard-coded into mozilla-taskcluster.
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Cam indicated that such tasks wouldn't be supported at this time, anyway, as revision_hash is no longer supported. So, I've updated the tc-treeherder patch to just fail on such tasks.
| Assignee | ||
Comment 6•7 years ago
|
||
Both landed. I'll try a bogus push to try.
| Assignee | ||
Comment 7•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3c61c9a022203119069ce9603663d078d12b2817&selectedJob=207773957
https://tools.taskcluster.net/groups/N1ox8hM-S7mbfajdQdgAHw/tasks/N1ox8hM-S7mbfajdQdgAHw/runs/0/logs/public%2Flogs%2Flive.log
and I got an email.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Operations → Operations and Service Requests
You need to log in
before you can comment on or make changes to this bug.
Description
•