Intermittent ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTest TEST-UNEXPECTED-FAIL
Categories
(Testing :: XPCShell Harness, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Assigned: gbrown)
Details
(Keywords: intermittent-failure, regression)
#[markdown(off)]
Filed by: ncsoregi [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=229392845&repo=autoland
[task 2019-02-20T08:10:29.105Z] 08:10:29 WARNING - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSkipForAddTest TEST-UNEXPECTED-FAIL
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testSyntaxError PASSED
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejection PASSED
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUncaughtRejectionJSM PASSED
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnexpectedPass PASSED
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py::XPCShellTestsTests::testUnicodeInAssertMethods PASSED
[task 2019-02-20T08:10:29.105Z] 08:10:29 INFO - =================================== FAILURES ===================================
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - ____________________ XPCShellTestsTests.testSkipForAddTest _____________________
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - self = <selftest.XPCShellTestsTests testMethod=testSkipForAddTest>
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - def testSkipForAddTest(self):
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - """
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - Check that add_test is skipped if |skip_if| condition is true
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - """
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - self.writeFile("test_skip.js", """
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - add_test({
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - skip_if: () => true,
[task 2019-02-20T08:10:29.106Z] 08:10:29 INFO - }, function test_should_be_skipped() {
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - Assert.ok(false);
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - run_next_test();
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - });
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - """)
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - self.writeManifest(["test_skip.js"])
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - > self.assertTestResult(True, verbose=True)
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py:693:
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - ../testing/xpcshell/selftest.py:527: in assertTestResult
[task 2019-02-20T08:10:29.107Z] 08:10:29 INFO - """ % ("passed" if expected else "failed", self.log.getvalue()))
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E AssertionError: Tests should have passed, log:
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E ========
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E MOZ_NODE_PATH environment variable not set. Tests requiring http/2 will fail.
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E Running tests sequentially.
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E SUITE-START | Running 1 tests
[task 2019-02-20T08:10:29.108Z] 08:10:29 INFO - E TEST-START | test_skip.js
[task 2019-02-20T08:10:29.109Z] 08:10:29 INFO - E test_skip.js | full command: ['/builds/worker/workspace/build/src/obj-firefox/dist/bin/xpcshell', '-g', '/builds/worker/workspace/build/src/obj-firefox/dist/bin', '-a', '/builds/worker/workspace/build/src/obj-firefox/dist/bin', '-r', '/builds/worker/workspace/build/src/obj-firefox/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HEAD_JS_PATH = "/builds/worker/workspace/build/src/testing/xpcshell/head.js";', '-e', 'const _MOZINFO_JS_PATH = "/tmp/xpc-profile-KLP6sC/mozinfo.json";', '-e', 'const _PREFS_FILE = "/tmp/user.js";', '-e', 'const _TESTING_MODULES_DIR = "/builds/worker/workspace/build/src/obj-firefox/_tests/modules/";', '-f', '/builds/worker/workspace/build/src/testing/xpcshell/head.js', '-e', 'const _HEAD_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpcuAGQ6/test_skip.js"];', '-e', 'const _TEST_NAME = "test_skip.js";', '-e', '_execute_test(); quit(0);']
[task 2019-02-20T08:10:29.109Z] 08:10:29 INFO - E test_skip.js | current directory: '/tmp/tmpcuAGQ6'
[task 2019-02-20T08:10:29.109Z] 08:10:29 INFO - E test_skip.js | environment: ['XPCSHELL_TEST_PROFILE_DIR=/tmp/xpc-profile-KLP6sC', 'MOZ_CRASHREPORTER=1', 'LD_LIBRARY_PATH=/builds/worker/workspace/build/src/obj-firefox/dist/bin:/builds/worker/workspace/build/src/obj-firefox/dist/bin:/builds/worker/workspace/build/src/clang/lib:/builds/worker/workspace/build/src/clang/lib32', 'MOZ_DEVELOPER_REPO_DIR=/builds/worker/workspace/build/src', 'MOZ_DISABLE_CONTENT_SANDBOX=1', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/xpc-other-9nX4qc']
[task 2019-02-20T08:10:29.110Z] 08:10:29 INFO - E test_skip.js | as shell command: (cd /tmp/tmpcuAGQ6; XPCSHELL_TEST_PROFILE_DIR=/tmp/xpc-profile-KLP6sC MOZ_CRASHREPORTER=1 LD_LIBRARY_PATH=/builds/worker/workspace/build/src/obj-firefox/dist/bin:/builds/worker/workspace/build/src/obj-firefox/dist/bin:/builds/worker/workspace/build/src/clang/lib:/builds/worker/workspace/build/src/clang/lib32 MOZ_DEVELOPER_REPO_DIR=/builds/worker/workspace/build/src MOZ_DISABLE_CONTENT_SANDBOX=1 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 XPCSHELL_TEST_TEMP_DIR=/tmp/xpc-other-9nX4qc /builds/worker/workspace/build/src/obj-firefox/dist/bin/xpcshell -g /builds/worker/workspace/build/src/obj-firefox/dist/bin -a /builds/worker/workspace/build/src/obj-firefox/dist/bin -r /builds/worker/workspace/build/src/obj-firefox/dist/bin/components/httpd.manifest -m -s -e 'const _HEAD_JS_PATH = "/builds/worker/workspace/build/src/testing/xpcshell/head.js";' -e 'const _MOZINFO_JS_PATH = "/tmp/xpc-profile-KLP6sC/mozinfo.json";' -e 'const _PREFS_FILE = "/tmp/user.js";' -e 'const _TESTING_MODULES_DIR = "/builds/worker/workspace/build/src/obj-firefox/_tests/modules/";' -f /builds/worker/workspace/build/src/testing/xpcshell/head.js -e 'const _HEAD_FILES = [];' -e 'const _JSDEBUGGER_PORT = 0;' -e 'const _TEST_FILE = ["/tmp/tmpcuAGQ6/test_skip.js"];' -e 'const _TEST_NAME = "test_skip.js";' -e '_execute_test(); quit(0);')
[task 2019-02-20T08:10:29.110Z] 08:10:29 INFO - E PID 7303 | ** (xpcshell:7303): 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-20T08:10:29.110Z] 08:10:29 INFO - E PID 7303 | [7303, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2528
[task 2019-02-20T08:10:29.110Z] 08:10:29 WARNING - E TEST-UNEXPECTED-FAIL | test_skip.js | xpcshell return code: -11
[task 2019-02-20T08:10:29.110Z] 08:10:29 INFO - E TEST-INFO took 1056ms
[task 2019-02-20T08:10:29.110Z] 08:10:29 INFO - E INFO | Result summary:
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E INFO | Passed: 0
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E INFO | Failed: 1
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E INFO | Todo: 0
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E INFO | Retried: 0
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E SUITE-END | took 1s
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - E ========
[task 2019-02-20T08:10:29.111Z] 08:10:29 INFO - =============== 1 failed, 53 passed, 1 skipped in 83.46 seconds ================
Assignee | ||
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•