Closed Bug 1528185 Opened 6 years ago Closed 6 years ago

Intermittent ../testing/xpcshell/selftest.py::XPCShellTestsTests::testPassFail TEST-UNEXPECTED-FAIL

Categories

(Testing :: XPCShell Harness, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1527803

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: rmaries [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=228606748&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/OKdN4MIeRVeJNdVHCanlhw/runs/0/artifacts/public/logs/live_backing.log

[task 2019-02-15T09:24:57.268Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNotSkipForAddTest PASSED
[task 2019-02-15T09:24:57.268Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testPass PASSED
[task 2019-02-15T09:24:57.268Z] 09:24:57 WARNING - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testPassFail TEST-UNEXPECTED-FAIL
[task 2019-02-15T09:24:57.268Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testRandomExecution PASSED
[task 2019-02-15T09:24:57.268Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testReturnNonzero PASSED
[task 2019-02-15T09:24:57.268Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkip PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTask PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTest PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSyntaxError PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejection PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejectionJSM PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnexpectedPass PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnicodeInAssertMethods PASSED
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - =================================== FAILURES ===================================
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - _______________________ XPCShellTestsTests.testPassFail ________________________
[task 2019-02-15T09:24:57.269Z] 09:24:57 INFO - self = <selftest.XPCShellTestsTests testMethod=testPassFail>
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - def testPassFail(self):
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - """
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - Check that running more than one test works.
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - """
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - self.writeFile("test_pass.js", SIMPLE_PASSING_TEST)
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - self.writeFile("test_fail.js", SIMPLE_FAILING_TEST)
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - self.writeManifest(["test_pass.js", "test_fail.js"])
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - self.assertTestResult(False)
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - self.assertEquals(2, self.x.testCount)
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - > self.assertEquals(1, self.x.passCount)
[task 2019-02-15T09:24:57.270Z] 09:24:57 INFO - E AssertionError: 1 != 0
[task 2019-02-15T09:24:57.271Z] 09:24:57 INFO - ../testing/xpcshell/selftest.py:822: AssertionError
[task 2019-02-15T09:24:57.271Z] 09:24:57 INFO - =============== 1 failed, 53 passed, 1 skipped in 89.48 seconds ================
[task 2019-02-15T09:24:57.271Z] 09:24:57 INFO - Setting retcode to 1 from /builds/worker/workspace/build/src/testing/xpcshell/selftest.py
[task 2019-02-15T09:25:07.700Z] 09:25:07 INFO - /builds/worker/workspace/build/src/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.