Closed Bug 800641 Opened 12 years ago Closed 12 years ago

Add mozfile to tests.zip

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(firefox18 fixed, firefox19 fixed)

RESOLVED FIXED
mozilla19
Tracking Status
firefox18 --- fixed
firefox19 --- fixed

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Attachments

(1 file)

mozfile isn't being packaged in tests.zip under mozbase, and this is causing Marionette runs on 10.8 to error out with:

15:31:40     INFO - Installing mozinstall into virtualenv /builds/slave/talos-slave/test/build/venv
15:31:40     INFO - Running command: ['/builds/slave/talos-slave/test/build/venv/bin/pip', 'install', '--find-links', 'http://puppetagain.pub.build.mozilla.org/data/python/packages', 'tests/mozbase/mozinstall'] in /builds/slave/talos-slave/test/build
15:31:40     INFO - Copy/paste: /builds/slave/talos-slave/test/build/venv/bin/pip install --find-links http://puppetagain.pub.build.mozilla.org/data/python/packages tests/mozbase/mozinstall
15:31:41     INFO -  Ignoring indexes: http://pypi.python.org/simple/
15:31:41     INFO -  Unpacking ./tests/mozbase/mozinstall
15:31:41     INFO -    Running setup.py egg_info for package from file:///builds/slave/talos-slave/test/build/tests/mozbase/mozinstall
15:31:41     INFO -  Requirement already satisfied (use --upgrade to upgrade): mozinfo==0.4 in ./venv/lib/python2.7/site-packages (from mozInstall)
15:31:41     INFO -  Downloading/unpacking mozfile (from mozInstall)
15:31:41     INFO -    Could not find any downloads that satisfy the requirement mozfile (from mozInstall)
15:31:41     INFO -  No distributions at all found for mozfile (from mozInstall)
15:31:41     INFO -  Storing complete log in /Users/cltbld/.pip/pip.log
15:31:41    ERROR - Return code: 1

I'm totally mystified why this is only a problem on 10.8, but fixing this bug and patching the Marionette mozharness script should fix it.
Should fix the problem.
Attachment #670608 - Flags: review?(jhammel)
Yikes, I had forgotten about this awfulness.  We can (and should) check this in now, but we really need to generate this list dynamically, espec wrt the scary:

# python packages to be installed IN INSTALLATION ORDER.
# Packages later in the list can depend only on packages earlier in the list.

I'm not sure if anything depends on the install order right now, but this is ripe to be broken (since I'm sure everyone has been checking the tree and fixing this list every time a setup.py has changed, right?)

Ultimately we should not depend on this here, though fwiw setup_development.py figures out this information both dynamically and correctly (and with the existing in-tree system of virtualenv + .pth files, that should be fine too...as long as we list all of them which we currently don't since once again that's ripe for breaking)
Attachment #670608 - Flags: review?(jhammel) → review+
So, the try run says this gets packaged correctly now. Marionette still fails on osx 10.8, but that's because we need a mozharness script change to pick up mozfile that's now in tests.zip.
https://hg.mozilla.org/mozilla-central/rev/c9b7e55872c9
Assignee: nobody → jgriffin
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Whiteboard: [automation-needed-in-aurora]
The run on ash looks good, pushed to aurora:  https://hg.mozilla.org/releases/mozilla-aurora/rev/c31b9aa6d4ad
Whiteboard: [automation-needed-in-aurora]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: