Closed Bug 689126 Opened 13 years ago Closed 10 years ago

Running xpcshell-tests on a Mac production builder fails for Lightning

Categories

(Calendar :: Build Config, defect, P2)

All
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: standard8, Assigned: Fallen)

References

Details

From bug 405007. When we tried to run xpcshell-tests on the Mac production builds, we were hit with the following failures:

TEST-UNEXPECTED-FAIL | /builds/slave/comm-central-macosx64/build/objdir-tb/i386/mozilla/_tests/xpcshell/calendar/test/unit/test_attendee.js | test failed (with xpcshell return code: 3), see following log:
>>>>>>>
uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.import]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: /builds/slave/comm-central-macosx64/build/objdir-tb/i386/mozilla/_tests/xpcshell/calendar/test/unit/head_consts.js :: <TOP_LEVEL> :: line 54"  data: no]
<<<<<<<

I'm pretty sure these worked locally, so I wonder if this is something to do with universal builds.
We should try enabling these again and figuring out why they are failing.
Priority: -- → P2
I would suggest using try server first - especially as these don't seem to be running on any platform atm, afaict (there were changes recently to not have master manifests).
Of course, will do so. In which cases are the test actually run on the builder itself? We have another bug on getting packaged tests to run, but I'm not clear when the tests are run packaged and when they are not?
Oh darn, I'd forgotten about the packaged test stuff. So you probably can't look at this until you get that fixed...

That may be simpler to fix once c-c is in m-c.
I have the packaged tests almost figured out, just waiting on a unittest builder to test my theory. I hope things don't change significantly after the ccrework lands.
Mark, what exactly do we need to do here with the packaged tests running? In what cases are the tests referenced here run not part of the packaged tests?
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Flags: needinfo?(standard8)
iirc this was probably filed way before the packaged test functionality, if there's no specific exclusions in the test code, then they should be running already, and indeed they are (search for calendar):

https://tbpl.mozilla.org/php/getParsedLog.php?id=47678216&tree=Thunderbird-Trunk&full=1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(standard8)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.