Closed
Bug 752252
Opened 13 years ago
Closed 13 years ago
Lightning test failures, mozinfo package cannot be imported
Categories
(Calendar :: Build Config, defect)
Calendar
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Fallen, Assigned: Irving)
References
Details
Attachments
(1 file, 1 obsolete file)
11.79 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
The builders are getting the following errors on comm-central, which shows up as an orange. Maybe something changed how the xpcshell info is being processed? mozinfo is the information database for processing the xpcshell.ini.
Here is the error:
/tools/python/bin/python2.5 -u /buildbot/comm-central-linux/build/mozilla/config/pythonpath.py \
-I/buildbot/comm-central-linux/build/mozilla/build \
/buildbot/comm-central-linux/build/mozilla/testing/xpcshell/runxpcshelltests.py \
--symbols-path=../../mozilla/dist/crashreporter-symbols \
--build-info-json=../../mozilla/mozinfo.json \
\
/buildbot/comm-central-linux/build/objdir-tb/mozilla/dist/bin/xpcshell \
../../mozilla/_tests/xpcshell/calendar/test/unit
Traceback (most recent call last):
File "/buildbot/comm-central-linux/build/mozilla/config/pythonpath.py", line 52, in <module>
main(sys.argv[1:])
File "/buildbot/comm-central-linux/build/mozilla/config/pythonpath.py", line 44, in main
execfile(script, frozenglobals)
File "/buildbot/comm-central-linux/build/mozilla/testing/xpcshell/runxpcshelltests.py", line 48, in <module>
import mozinfo
ImportError: No module named mozinfo
make: *** [xpcshell-tests] Error 1
Reporter | ||
Comment 1•13 years ago
|
||
Oh it seems this is only on the linux builders.
Assignee | ||
Comment 2•13 years ago
|
||
I suspect it might be https://bugzilla.mozilla.org/show_bug.cgi?id=746545 - i'm tracking this down because running individual tests by hand under comm-central also fails (on OS X, for me)
Comment 3•13 years ago
|
||
there are different rules for running all tests, and for running individual tests, iirc. I've tried changing the path, but then I get complaints about not being able to find manifestparser, which may just be a downstream error.
Assignee | ||
Comment 4•13 years ago
|
||
Bring over a number of changes from mozilla-central rules.mk (see https://bugzilla.mozilla.org/show_bug.cgi?id=750368) to cope with the mozinfo.py removal from https://bugzilla.mozilla.org/show_bug.cgi?id=746545
Attachment #623238 -
Flags: review?(bugspam.Callek)
Comment 5•13 years ago
|
||
Comment on attachment 623238 [details] [diff] [review]
Port rules.mk changes to find mozinfo python module
I won't get at this for probably about a week or two, Mark might be able to grab it earlier
Attachment #623238 -
Flags: review?(mbanner)
Updated•13 years ago
|
Assignee: nobody → irving
Status: NEW → ASSIGNED
Comment 6•13 years ago
|
||
fwiw, this fixes running tests for me on windows (though it didn't quite apply cleanly, I think because of whitespace changes)
Comment 7•13 years ago
|
||
the patch up for review didn't apply cleanly for me, but this one does, and seems to work.
Assignee | ||
Comment 8•13 years ago
|
||
David's update to the patch looks fine; the original patch had some trivial whitespace removal that conflicted with someone else's change.
Comment 9•13 years ago
|
||
Ok, so a bit of digging reveals you're actually porting bug 620905 and at least part of bug 729098. Not a problem but useful to know for review.
Updated•13 years ago
|
Attachment #623238 -
Attachment is obsolete: true
Attachment #623238 -
Flags: review?(mbanner)
Attachment #623238 -
Flags: review?(bugspam.Callek)
Comment 10•13 years ago
|
||
Comment on attachment 625117 [details] [diff] [review]
perhaps de-bitrotted patch
Looks good. r=me.
Attachment #625117 -
Flags: review+
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•