Closed
Bug 1025887
Opened 11 years ago
Closed 11 years ago
Exception isn't handled after "No builds available for 64 bit Windows" error
Categories
(Testing :: mozregression, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: parkouss)
Details
Attachments
(2 files)
On Win8.1 x64, running:
$ mozregression --app=thunderbird --good=2014-06-06 --bad=2014-06-11
Gives:
No builds available for 64 bit Windows (try specifying --bits=32)
Exception AttributeError: "'ThunderbirdNightly' object has no attribute 'persist'" in <bound method ThunderbirdNightly.cleanup of <mozregression.runnightly.ThunderbirdNightly object at 0x02F57370>> ignored
In bug 1025879 I initially missed the solution ("use --bits=32"), due to the spam from the exception making me not see it in the console.
Given we have a useful error message, please can we catch the exception? :-)
$ pip show mozregression
---
Name: mozregression
Version: 0.18
Comment 1•11 years ago
|
||
(fwiw, this is specific to app=Thunderbird, and probably an unrelated error...)
Assignee | ||
Comment 2•11 years ago
|
||
The error appears because ThundebirdNightly is'nt properly initialized but garbage collected. Just move up the "self.persist = persist" line before any exception can happen solve the problem.
Attachment #8474650 -
Flags: review?(wlachance)
Comment 3•11 years ago
|
||
Comment on attachment 8474650 [details] [review]
fix the "no attribute persist" error when ThunderbirNightly is cleand - bug 1025887
Makes sense, ty!
Attachment #8474650 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 4•11 years ago
|
||
This patch is a start for using exceptions in mozregression. It does not resolve this bug, but it is still related. I put it as a attachment here to make sure it will be reviewed. :)
Attachment #8475785 -
Flags: review?(samdgarrett)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → j.parkouss
Comment 5•11 years ago
|
||
Comment on attachment 8475785 [details] [review]
make mozregression use exceptions
I merged this in. Thanks!
Attachment #8475785 -
Flags: review?(samdgarrett) → review+
Assignee | ||
Comment 6•11 years ago
|
||
This bug may be close I suppose (see the merged Attachment #8474650 [details]). William, what do you think ?
Flags: needinfo?(wlachance)
Comment 7•11 years ago
|
||
Yes, it should be. Thanks Julien!
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(wlachance)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•