Closed Bug 738338 Opened 14 years ago Closed 14 years ago

Regression: Talos extensions no longer work

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Unassigned)

References

Details

(Whiteboard: [mozharness+talos][jetpack+talos])

Attachments

(1 file)

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.
Whiteboard: [mozharness+talos][jetpack+talos]
Blocks: 729205
Attached patch fixSplinter Review
Attachment #608378 - Flags: review?(jmaher)
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+
(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)
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]
looks pretty green; pushing
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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
The only failures are on android which we're not testing anyway
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.

Attachment

General

Creator:
Created:
Updated:
Size: