Closed
Bug 1357686
Opened 9 years ago
Closed 9 years ago
7627d3407d54 cause inoperable bughunter workers when worker table is empty in a new bughunter database
Categories
(Testing Graveyard :: Sisyphus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cbook, Assigned: bc)
Details
Attachments
(1 file)
|
2.03 KB,
patch
|
cbook
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
-> Clean/empty worker table
-> start workers
results in error:
main: exception Worker matching query does not exist.: Traceback (most recent call last):
File "crashworker.py", line 1026, in main
this_worker.doWork()
File "crashworker.py", line 824, in doWork
self.freeOrphanJobs()
File "crashworker.py", line 752, in freeOrphanJobs
if sitetestrun_row.worker.state in ('waiting', 'dead', 'zombie', 'disabled'):
File "/usr/lib64/python2.7/site-packages/django/db/models/fields/related_descriptors.py", line 179, in __get__
rel_obj = qs.get()
File "/usr/lib64/python2.7/site-packages/django/db/models/query.py", line 385, in get
self.model._meta.object_name
DoesNotExist: Worker matching query does not exist.
seems it nails to
https://hg.mozilla.org/automation/sisyphus/annotate/7627d3407d54/python/sisyphus/automation/crashtest/crashworker.py
because without 7627d3407d54 applied it works
| Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(bob)
| Assignee | ||
Comment 1•9 years ago
|
||
Thanks. Is this blocking you? If not, I'll get to it in a day or so. Otherwise I'll put it at the front of the queue.
Assignee: nobody → bob
Status: NEW → ASSIGNED
Flags: needinfo?(bob)
| Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Bob Clary [:bc:] from comment #1)
> Thanks. Is this blocking you? If not, I'll get to it in a day or so.
> Otherwise I'll put it at the front of the queue.
oh not really blocking since i have the workaround with backing out that one changeset :)
| Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8859968 -
Flags: review?(cbook)
| Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8859968 [details] [diff] [review]
Bug-1357686.patch
Review of attachment 8859968 [details] [diff] [review]:
-----------------------------------------------------------------
looks good!
Attachment #8859968 -
Flags: review?(cbook) → review+
| Reporter | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/automation/sisyphus/rev/7aed1ad9a85f82563793c46310f3665487eed139
also verified fixed - its working now again! thanks bc!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•