Closed Bug 876144 Opened 11 years ago Closed 11 years ago

running "mach marionette-test" generates a moznetwork import error

Categories

(Firefox Build System :: Mach Core, enhancement)

x86_64
Windows 7
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aw1231, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36

Steps to reproduce:

I ran "mach marionette-test"


Actual results:

It generated this output:
$ mach marionette-test
Error running mach:

    ['marionette-test']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ImportError: No module named moznetwork

  File "c:\Users\Stan\firefox\mozilla-central\testing/marionette/mach_commands.p
y", line 33, in run_marionette
    from marionette.runtests import (
  File "c:\Users\Stan\firefox\mozilla-central\testing/marionette/client\marionet
te\__init__.py", line 9, in <module>
    from runtests import MarionetteTestRunner
  File "c:\Users\Stan\firefox\mozilla-central\testing/marionette/client\marionet
te\runtests.py", line 17, in <module>
    import moznetwork


Expected results:

It should have run the marionette tests.
Component: Untriaged → mach
Product: Firefox → Core
Looks like we're probably just missing moznetwork from the packages.txt that populates the in-objdir virtualenv:
http://mxr.mozilla.org/mozilla-central/source/testing/mozbase/packages.txt
moznetwork itself is also not present;  it should be mirrored to mozilla-central with http://mxr.mozilla.org/mozilla-central/source/testing/mozbase/generate_diff.py which should update the packages.txt file ( I think )
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 876761
Did this fix itself with bug 876761?
Flags: needinfo?(astropiloto)
Or if not then, then bug 878204? (needinfo *=2)
I don't know which one did, but it works now.
Flags: needinfo?(astropiloto)
per comment #6
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.