Closed
Bug 679746
Opened 14 years ago
Closed 14 years ago
If a signed candidate build cannot be found the script should fall back to unsigned builds
Categories
(Mozilla QA Graveyard :: Mozmill Automation, defect)
Mozilla QA Graveyard
Mozmill Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file, 2 obsolete files)
|
7.03 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
When we have to run functional tests for release candidate builds we don't have signed builds for Windows in nearly all the cases. Right now the download script fails because it expects signed builds. In case of no signed builds available the script has to download the unsigned ones. For now it only applies to Windows but we should implement it flexible so it will also work for other platforms.
| Assignee | ||
Comment 1•14 years ago
|
||
Beside the new feature of downloading unsigned builds as fallback, this patch also fixes a couple of bugs in different scripts.
Attachment #553817 -
Flags: review?(gmealer)
| Assignee | ||
Comment 2•14 years ago
|
||
I should qrefresh first.
Attachment #553817 -
Attachment is obsolete: true
Attachment #553817 -
Flags: review?(gmealer)
Attachment #553818 -
Flags: review?(gmealer)
Comment on attachment 553818 [details] [diff] [review]
Patch v1.1
r+.
I'd like to address that "Downloading build:" logging at some point. Using build.final_url is problematic because if final_url doesn't resolve it throws an exception without telling you what it was trying to download.
The solution I would have proposed would have been to have testrun_release.py log the information it initialized build with. By moving the logging into download(), I don't know if that same strategy would work.
It's definitely the number one pain-point I've had with the script, though, esp. for the -real/-realreal type directories they occasionally do where the build name isn't intuitive.
On that subject, in:
ReleaseScraper(MozillaScraper)
...where you have the exception handler that falls back to unsigned, would it make sense to have a little bit of log output saying it had to do that?
Attachment #553818 -
Flags: review?(gmealer) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
(In reply to Geo Mealer [:geo] from comment #3)
> I'd like to address that "Downloading build:" logging at some point. Using
> build.final_url is problematic because if final_url doesn't resolve it
> throws an exception without telling you what it was trying to download.
>
> The solution I would have proposed would have been to have
> testrun_release.py log the information it initialized build with. By moving
> the logging into download(), I don't know if that same strategy would work.
I'm aware of this and it's something I will address with the refactoring which is necessary to get more types of builds included. Lets do that in another patch.
> On that subject, in:
>
> ReleaseScraper(MozillaScraper)
>
> ...where you have the exception handler that falls back to unsigned, would
> it make sense to have a little bit of log output saying it had to do that?
Sure. I can add this before the check-in.
| Assignee | ||
Comment 5•14 years ago
|
||
Updated patch with a logging line if we fallback to unsigned builds.
Attachment #553818 -
Attachment is obsolete: true
Attachment #553923 -
Flags: review+
| Assignee | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•