Closed Bug 899569 Opened 11 years ago Closed 11 years ago

Can't run make mochitest: 'ImportError: cannot import name DEFAULT_PORTS'

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: joe, Unassigned)

Details

$ make mochitest-plain
rm -f ./mochitest-plain.log && /src/mozilla-central/obj-ff-debug/_virtualenv/bin/python _tests/testing/mochitest/runtests.py --autorun --close-when-done --console-level=INFO --log-file=./mochitest-plain.log --file-level=INFO --failure-file=/src/mozilla-central/obj-ff-debug/_tests/testing/mochitest/makefailures.json --testing-modules-dir=/src/mozilla-central/obj-ff-debug/_tests/modules --extra-profile-file=./dist/plugins --symbols-path=./dist/crashreporter-symbols  
Traceback (most recent call last):
  File "_tests/testing/mochitest/runtests.py", line 26, in <module>
    from mochitest_options import MochitestOptions
  File "/src/mozilla-central/obj-ff-debug/_tests/testing/mochitest/mochitest_options.py", line 8, in <module>
    from mozprofile import DEFAULT_PORTS
ImportError: cannot import name DEFAULT_PORTS
make: *** [mochitest-plain] Error 1
It turns out that I needed to bootstrap again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.