Closed Bug 949123 Opened 9 years ago Closed 9 years ago

Upload an osx xre.zip to tooltool

Categories

(Release Engineering :: General, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Unassigned)

References

Details

The gaia ui tests are running osx b2g desktop on Cedar but are failing because they are trying to use the linux xre.zip:
https://tbpl.mozilla.org/php/getParsedLog.php?id=31752727&tree=Cedar

We should add one based on http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2013/12/2013-12-11-03-02-06-mozilla-central/xulrunner-29.0a1.en-US.mac.tar.bz2 or similar.
Do you have an example bug to point to? It's not clear to me whether we're uploading an exact copy of a xulrunner we already produce, a subset of something from one, or something else entirely.
I think http://people.mozilla.org/~ahalberstadt/getb2g/xre-macosx.zip is what we want. It's twice as big as the linux version for some reason.. not sure if I could pare it down more, or if that's just how it is.

Aki, once this is uploaded, I'll have to modify the mozharness script so that it uses the correct zip based on platform. Do you think this would be better as a command line option passed in via buildbot-configs? Or would it be better to put in the scripts.
(In reply to Ben Hearsum [:bhearsum] from comment #1)
> Do you have an example bug to point to? It's not clear to me whether we're
> uploading an exact copy of a xulrunner we already produce, a subset of
> something from one, or something else entirely.

I was searching for a similar bug earlier, but was having trouble finding one :/. I also asked Aki on irc, but he couldn't remember either. I believe the zip in the link will work, though I don't know if you also generate something similar which you'd rather use.
(In reply to Andrew Halberstadt [:ahal] from comment #2)
> I think http://people.mozilla.org/~ahalberstadt/getb2g/xre-macosx.zip is
> what we want. It's twice as big as the linux version for some reason.. not
> sure if I could pare it down more, or if that's just how it is.

I uploaded this. Details:
filename: /mnt/netapp/relengweb/tooltool/pvt/build/sha512/cb675b8a50a4df7c510d0ba09ddec99950aaa63373f69e69ee86b89755fd04944b140ce02ffdc9faa80e34f53752896a38c91fbab0febc81c583cb80e8515e9e (or should this be xre-macosx.zip?)
filesize: 46194868
sha512: cb675b8a50a4df7c510d0ba09ddec99950aaa63373f69e69ee86b89755fd04944b140ce02ffdc9faa80e34f53752896a38c91fbab0febc81c583cb80e8515e9e
(In reply to Andrew Halberstadt [:ahal] from comment #2)
> I think http://people.mozilla.org/~ahalberstadt/getb2g/xre-macosx.zip is
> what we want. It's twice as big as the linux version for some reason.. not
> sure if I could pare it down more, or if that's just how it is.
> 
> Aki, once this is uploaded, I'll have to modify the mozharness script so
> that it uses the correct zip based on platform. Do you think this would be
> better as a command line option passed in via buildbot-configs? Or would it
> be better to put in the scripts.

I think either works, as long as we want one xre zip for a platform across all branches.  In this case, in the script might be easiest, or even in the config file (check for os.name or platform.system in the config file, and specify the tooltool stuff in that block)

If we want to do anything more granular, we probably want to do it in buildbot-configs.
Thanks Ben! I'll re-open this if it turns out the zip I uploaded doesn't work for some reason.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 949454
For the future, is there documentation somewhere on the process to create the xre zip file ?
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.