Closed Bug 840954 Opened 11 years ago Closed 11 years ago

Add mozbase to the list of packaged directories for Thunderbird's tests

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
major

Tracking

(thunderbird20 fixed, thunderbird21 fixed, thunderbird-esr1720+ fixed)

RESOLVED FIXED
Thunderbird 22.0
Tracking Status
thunderbird20 --- fixed
thunderbird21 --- fixed
thunderbird-esr17 20+ fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [mozbase])

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #840481 +++

Thunderbird's XPCShell tests started failing permanently yesterday. Unzipping the mozbase* modules causes them to fail, the Tinderbox push log shows as summary: "Summary is empty." The log reads: "program finished with exit code 11)" for unzipping the tests.

Broken (now):
https://tbpl.mozilla.org/php/getParsedLog.php?id=19663456&tree=Thunderbird-Trunk&full=1
'unzip' '-oq' u'thunderbird-21.0a1.en-US.win32.tests.zip' 'mozbase*' 'bin*' 'certs*' 'modules*' 'xpcshell*'

Working (before):
https://tbpl.mozilla.org/php/getParsedLog.php?id=19631037&tree=Thunderbird-Trunk&full=1
'unzip' '-oq' u'thunderbird-21.0a1.en-US.win32.tests.zip' 'bin*' 'certs*' 'modules*' 'xpcshell*'

The difference is the added 'mozbase*' parameter.
Severity: blocker → major
Blocks: 827446
I thought this was fixed yesterday in bug 840481.  If this is different, please explain, otherwise we can mark this as a dup.
Thunderbird's mozmill tests are special and separate to Firefox's, so what we do currently is we have our own package-tests target, and package just what we need.

As part of the findings in the blocking bugs, we need to add mozbase to the list of items we're packaging in the test targets.
Attachment #713364 - Flags: review?(irving)
(In reply to Joel Maher (:jmaher) from comment #1)
> I thought this was fixed yesterday in bug 840481.  If this is different,
> please explain, otherwise we can mark this as a dup.

That bug only works around the fact that Thunderbird wasn't packaging mozbase, by not expecting to have packaged mozbase. If things in core start using mozbase, then Thunderbird will need it as well, so we might as well start packaging it. Additionally we can then back out the Thunderbird specific workaround that releng now has.
(In reply to Mark Banner (:standard8) from comment #3)
> (In reply to Joel Maher (:jmaher) from comment #1)
> > I thought this was fixed yesterday in bug 840481.  If this is different,
> > please explain, otherwise we can mark this as a dup.
> 
> That bug only works around the fact that Thunderbird wasn't packaging
> mozbase, by not expecting to have packaged mozbase. If things in core start
> using mozbase, then Thunderbird will need it as well, so we might as well
> start packaging it. Additionally we can then back out the Thunderbird
> specific workaround that releng now has.

Yes, we are working on centralizing the code for a considerable portion of our python infrastructure to mozbase (where applicable): https://wiki.mozilla.org/Auto-tools/Goals/2013Q1 . I'm happy to help figure out how to make the transition a good one for Thunderbird and answer questions you may have about the when, how, why, and what of the matter.
Attachment #713364 - Flags: review?(irving) → review?(mconley)
Comment on attachment 713364 [details] [diff] [review]
Add mozbase to the list of items to package for Thunderbird

Looks good, thanks!
Attachment #713364 - Flags: review?(mconley) → review+
https://hg.mozilla.org/comm-central/rev/0a57d13a21a3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 22.0
Comment on attachment 713364 [details] [diff] [review]
Add mozbase to the list of items to package for Thunderbird

[Triage Comment]
This will need to be on aurora as well, so I'll land it after the tree is confirmed green.
Attachment #713364 - Flags: approval-comm-aurora+
Comment on attachment 713364 [details] [diff] [review]
Add mozbase to the list of items to package for Thunderbird

[Triage Comment]
I made a mistake before, this is needed on all active trees.
Attachment #713364 - Flags: approval-comm-esr17+
Attachment #713364 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: