Closed Bug 1554136 Opened 6 years ago Closed 6 years ago

Error saving classification shows up when classifying fails

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: CosminS, Assigned: camd)

References

(Regression)

Details

Attachments

(2 files)

Attached image image.png

this doesn't happen all the time but mostly when classifying failures quickly one after another, please see the attached screenshot.
also noticed that this appears when you have multiple fails pinned and you classify them all at once.

Regressed by: 1510280
Assignee: nobody → cdawson
Status: NEW → ASSIGNED
Priority: -- → P2

Hi Cameron, are there any updates here?

Flags: needinfo?(cdawson)

I haven't yet been able to reproduce this. I'll keep trying on stage. I don't suppose this has changed since the deploy 6 days ago? We pushed some changes I made in this area.

OK, I spoke too soon. I was finally able to reproduce this. I have not yet figured out the error though. Trying to track that down...

I found the error and have a fix. In reality, there was no error classifying. It was an error in trying to reapply filters AFTER classifying. But if you classify several jobs in the same platform, the later jobs will already be filtered away. But I wasn't checking if the job was gone before trying to call filter on it. So a simple check fixes it.

Flags: needinfo?(cdawson)

I tested on stage and it looks fixed now.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED

Hi Cameron, I could still reproduce this again this shift, same situation, when classifying multiple failures at once: https://irccloud.mozilla.com/file/tp28916N/classification_error

Flags: needinfo?(cdawson)

Andrea-- Sorry, I should have clarified. This change has been pushed to stage, but not production yet. I will do a production push today to get all these fixes out. If you wanted to test on treeherder.allizom.org, it should work correctly there.

Flags: needinfo?(cdawson)

Ahh, okay. Tested on staging and indeed the issue is fixed. Thank you.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: