Closed
Bug 738338
Opened 14 years ago
Closed 14 years ago
Regression: Talos extensions no longer work
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Unassigned)
References
Details
(Whiteboard: [mozharness+talos][jetpack+talos])
Attachments
(1 file)
|
2.98 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Talos no longer works with addons. Two issues:
1. Extensions get set twice because of our brain-dead parser. Because
we do in typical fashion:
if self.extensions and ('extensions: []' in line):
This matches the documentation line
# Extensions to install in test (use "extensions: []" for none)
(This doesn't actually cause a problem ATM, it is just stupid and bad
behaviour)
2. I regressed zip_extractall with making the indentation consistent
with the horrible 2-space indentation in
http://hg.mozilla.org/build/talos/diff/099171bc6da5/talos/utils.py
. This causes the addon to not be extracted correctly if it is an .xpi.
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [mozharness+talos][jetpack+talos]
| Reporter | ||
Comment 1•14 years ago
|
||
Attachment #608378 -
Flags: review?(jmaher)
Comment 2•14 years ago
|
||
Comment on attachment 608378 [details] [diff] [review]
fix
Review of attachment 608378 [details] [diff] [review]:
-----------------------------------------------------------------
looks good
::: talos/ffsetup.py
@@ +158,5 @@
> tmpdir = tempfile.mkdtemp(suffix = "." + os.path.split(addon)[-1])
> zip_extractall(zipfile.ZipFile(addon), tmpdir)
> addonSrcPath = tmpdir
>
> + doc = minidom.parse(os.path.join(addonSrcPath, 'install.rdf'))
what changed here?
Attachment #608378 -
Flags: review?(jmaher) → review+
| Reporter | ||
Comment 3•14 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #2)
> > + doc = minidom.parse(os.path.join(addonSrcPath, 'install.rdf'))
>
> what changed here?
removal of trailing whitespace. (just happened to be debugging in this file)
| Reporter | ||
Comment 4•14 years ago
|
||
tested locally with android + ts and tsvg; pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=af3f63856d7f
Whiteboard: [mozharness+talos][jetpack+talos] → [mozharness+talos][jetpack+talos][talos-checkin-needed]
| Reporter | ||
Comment 5•14 years ago
|
||
looks pretty green; pushing
| Reporter | ||
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
Try run for af3f63856d7f is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=af3f63856d7f
Results (out of 75 total builds):
success: 73
failure: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jhammel@mozilla.com-af3f63856d7f
| Reporter | ||
Comment 8•14 years ago
|
||
The only failures are on android which we're not testing anyway
Updated•13 years ago
|
Whiteboard: [mozharness+talos][jetpack+talos][talos-checkin-needed] → [mozharness+talos][jetpack+talos]
You need to log in
before you can comment on or make changes to this bug.
Description
•