Closed Bug 1528258 Opened 6 years ago Closed 6 years ago

Intermittent ../testing/xpcshell/selftest.py::XPCShellTestsTests::testAssertStack 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=228656478&repo=mozilla-inbound

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

[task 2019-02-15T14:48:45.712Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testAddTestUncaughtRejectionJSM PASSED
[task 2019-02-15T14:48:45.712Z] 14:48:45 WARNING - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testAssertStack TEST-UNEXPECTED-FAIL
[task 2019-02-15T14:48:45.712Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testAsyncCleanup PASSED
[task 2019-02-15T14:48:45.712Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testChild PASSED
[task 2019-02-15T14:48:45.712Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testChildFail PASSED
[task 2019-02-15T14:48:45.712Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testChildHang PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testChildMozinfo PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testChildPass PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseExplicit PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseInManifest PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoPrintWhenVerboseNotExplicit PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoReportForeignObject PASSED
[task 2019-02-15T14:48:45.713Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoReportNonSyntaxError PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoReportRefError PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoReportSyntaxError PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoThrowForeignObject PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testDoThrowString PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testFail PASSED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testHangingTimeout <- ../../../../../usr/lib/python2.7/unittest/case.py SKIPPED
[task 2019-02-15T14:48:45.714Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testKnownFail PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testLogCorrectFileName PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testMissingHeadFile PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testMozinfo PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTask PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTaskFail PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTaskMultiple PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTest PASSED
[task 2019-02-15T14:48:45.715Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTestAddTask PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestAddTestFail PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNoRunTestEmptyTest PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNotSkipForAddTask PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testNotSkipForAddTest PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testPass PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testPassFail PASSED
[task 2019-02-15T14:48:45.716Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testRandomExecution PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testReturnNonzero PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkip PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTask PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTest PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSyntaxError PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejection PASSED
[task 2019-02-15T14:48:45.717Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejectionJSM PASSED
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnexpectedPass PASSED
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnicodeInAssertMethods PASSED
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - =================================== FAILURES ===================================
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - ______________________ XPCShellTestsTests.testAssertStack ______________________
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - self = <selftest.XPCShellTestsTests testMethod=testAssertStack>
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - @unittest.skipIf(mozinfo.isWin or not mozinfo.info.get('debug'),
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - 'We don\'t have a stack fixer on hand for windows.')
[task 2019-02-15T14:48:45.718Z] 14:48:45 INFO - def testAssertStack(self):
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - """
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - When an assertion is hit, we should produce a useful stack.
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - """
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - self.writeFile("test_assert.js", '''
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - add_test(function test_asserts_immediately() {
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - Components.classes["@mozilla.org/xpcom/debug;1"]
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - .getService(Components.interfaces.nsIDebug2)
[task 2019-02-15T14:48:45.719Z] 14:48:45 INFO - .assertion("foo", "assertion failed", "test.js", 1)
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - run_next_test();
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - });
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - ''')
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - self.writeManifest(["test_assert.js"])
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - self.assertTestResult(False)
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - > self.assertInLog("###!!! ASSERTION")
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py:597:
[task 2019-02-15T14:48:45.720Z] 14:48:45 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py:541: in assertInLog
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - self._assertLog(s, True)
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - ../testing/xpcshell/selftest.py:535: in _assertLog
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - ========""" % (s, "expected" if expected else "not expected", l))
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - E AssertionError: Value ###!!! ASSERTION expected in log:
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - E ========
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - E MOZ_NODE_PATH environment variable not set. Tests requiring http/2 will fail.
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - E Running tests sequentially.
[task 2019-02-15T14:48:45.721Z] 14:48:45 INFO - E SUITE-START | Running 1 tests
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E TEST-START | test_assert.js
[task 2019-02-15T14:48:45.722Z] 14:48:45 WARNING - E TEST-UNEXPECTED-FAIL | test_assert.js | xpcshell return code: -11
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E TEST-INFO took 1062ms
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E >>>>>>>
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E PID 6556 | ** (xpcshell:6556): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E <<<<<<<
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E INFO | Result summary:
[task 2019-02-15T14:48:45.722Z] 14:48:45 INFO - E INFO | Passed: 0
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E INFO | Failed: 1
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E INFO | Todo: 0
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E INFO | Retried: 0
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E SUITE-END | took 1s
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - E ========
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - =============== 1 failed, 53 passed, 1 skipped in 83.21 seconds ================
[task 2019-02-15T14:48:45.723Z] 14:48:45 INFO - Setting retcode to 1 from /builds/worker/workspace/build/src/testing/xpcshell/selftest.py
[task 2019-02-15T14:49:04.876Z] 14:49:04 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.