Closed
Bug 1166872
Opened 11 years ago
Closed 11 years ago
Just ignore failures to update parse status when it fails
Categories
(Tree Management :: Treeherder: Data Ingestion, defect)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(1 external file)
If we fail to update the parse status for a job in the log parser after failing to do so, we currently throw an exception (aborting the retry / error logging process). I believe in certain cases it is possible that the job we're updating a parse status for might not exist yet (e.g. with taskcluster?). In any case, we should continue failing as normal for this sort of case.
| Assignee | ||
Comment 1•11 years ago
|
||
I think this is pretty straightforward.
Assignee: nobody → wlachance
Attachment #8608285 -
Flags: review?(emorley)
| Assignee | ||
Comment 2•11 years ago
|
||
Actually it turns out there where other cases where we might throw spurious exceptions in the case that parse status updating fails. Not sure if those are technically possible, but updated the PR just in case.
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to William Lachance (:wlach) from comment #0)
> If we fail to update the parse status for a job in the log parser after
> failing to do so, we currently throw an exception (aborting the retry /
> error logging process).
By "failing to do so", I of course meant "failing to parse the log". Sorry for the confusion.
On further investigation, I don't think this should ever happen, and the fact that it does is kind of worrying. But having better logging is the first step to getting a more accurate read on what's going on, so I think we should try to get this in ASAP. It's currently being tested on stage.
Comment 4•11 years ago
|
||
Comment on attachment 8608285 [details] [review]
PR
I can't decide if we want to do this or not.
It seems like we'll just forget about these if we just make them warnings.
Happy for you to land as-is if you want, but I haven't spent enough time looking at this to feel like I would be being genuine by giving an r+
Attachment #8608285 -
Flags: review?(emorley)
| Assignee | ||
Comment 5•11 years ago
|
||
I agree, on reflection I'm not sure if we want to do this. Resolving wontfix for now, we can always reopen later.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 6•11 years ago
|
||
Perhaps we should just move the client.update_parse_status(..., 'failed') line to after the logging, so we at least get some more details in the log?
You need to log in
before you can comment on or make changes to this bug.
Description
•