Closed Bug 746313 Opened 13 years ago Closed 10 years ago

Bulk Validation should finish a validation job even if there are exceptions

Categories

(addons.mozilla.org Graveyard :: Compatibility Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jorgev, Unassigned)

References

()

Details

It is now very common for the bulk validation process to stop short of finishing because of unexpected exceptions. See bug 728951 for a recent example. This requires me to poke Kumar or Wil to force-finish the process, which isn't very optimal. There are 2 possible solutions I see for this: 1) Make the bulk validation job finish even if there are exceptions. They are reported in that page anyway. 2) Add a Force Finish button that shows up on unfinished jobs. This button would effectively kill the job if there's anything pending and activate the links in the Failing and Passing columns.
This is kind of hard because currently each task event is responsible for completing the full run. When there is an exception we could maybe catch that early on or make the completion tally smarter. Alternatively, as mentioned above, we could provide a "mark as complete" button. Until then, someone with DB access has to do: update validation_job set completed=NOW() where id=NN
Is this still a bug with d2c? I haven't done any poking for a long time.
Yes, we've had to manually enable the bump because of exceptions that prevented the job from finishing. The most recent was for Firefox 22, ~4 months ago.
I think [maybe] the fix is to switch to a TaskTree, like this: https://github.com/mozilla/zamboni/blob/master/mkt/api/resources.py#L136-L138
(In reply to Kumar McMillan [:kumar] from comment #4) > I think [maybe] the fix is to switch to a TaskTree, like this: > https://github.com/mozilla/zamboni/blob/master/mkt/api/resources.py#L136-L138 Except with Celery 3, which we're on now, we can build complex tasks with celery primitives and stop using TaskTree. See http://docs.celeryproject.org/en/latest/userguide/canvas.html
Thanks for filing this. Due to resource constraints we are closing bugs which we won't realistically be able to fix. If you have a patch that applies to this bug please reopen. For more info see http://micropipes.com/blog/2014/09/24/the-great-add-on-bug-triage/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.