Advertisement
Guest User

xpcshell-selftest error log

a guest
Mar 14th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.71 KB | None | 0 0
  1. testAddTaskRunNextTest (__main__.XPCShellTestsTests) ... FAIL
  2. testAddTaskStackTrace (__main__.XPCShellTestsTests) ... FAIL
  3. testAddTaskStackTraceWithoutStar (__main__.XPCShellTestsTests) ... FAIL
  4. testAddTaskTestFailureInside (__main__.XPCShellTestsTests) ... FAIL
  5. testAddTaskTestMultiple (__main__.XPCShellTestsTests) ... ok
  6. testAddTaskTestRejected (__main__.XPCShellTestsTests) ... FAIL
  7. testAddTaskTestSingle (__main__.XPCShellTestsTests) ... ok
  8. testAddTestFailing (__main__.XPCShellTestsTests) ... FAIL
  9. testAddTestSimple (__main__.XPCShellTestsTests) ... ok
  10. testAsyncCleanup (__main__.XPCShellTestsTests) ... FAIL
  11. testChild (__main__.XPCShellTestsTests) ... ok
  12. testChildFail (__main__.XPCShellTestsTests) ... FAIL
  13. testChildHang (__main__.XPCShellTestsTests) ... FAIL
  14. testChildPass (__main__.XPCShellTestsTests) ... FAIL
  15. testDoReportForeignObject (__main__.XPCShellTestsTests) ... FAIL
  16. testDoReportNonSyntaxError (__main__.XPCShellTestsTests) ... FAIL
  17. testDoReportRefError (__main__.XPCShellTestsTests) ... FAIL
  18. testDoReportSyntaxError (__main__.XPCShellTestsTests) ... FAIL
  19. testDoThrowForeignObject (__main__.XPCShellTestsTests) ... FAIL
  20. testDoThrowString (__main__.XPCShellTestsTests) ... FAIL
  21. testFail (__main__.XPCShellTestsTests) ... FAIL
  22. testHangingTimeout (__main__.XPCShellTestsTests) ... FAIL
  23. testKnownFail (__main__.XPCShellTestsTests) ... FAIL
  24. testLogCorrectFileName (__main__.XPCShellTestsTests) ... FAIL
  25. testMissingHeadFile (__main__.XPCShellTestsTests) ... ok
  26. testMissingTailFile (__main__.XPCShellTestsTests) ... ok
  27. testPass (__main__.XPCShellTestsTests) ... ok
  28. testPassFail (__main__.XPCShellTestsTests) ... FAIL
  29. testRandomExecution (__main__.XPCShellTestsTests) ... ok
  30. testReturnNonzero (__main__.XPCShellTestsTests) ... FAIL
  31. testSkip (__main__.XPCShellTestsTests) ... ok
  32. testSyntaxError (__main__.XPCShellTestsTests) ... FAIL
  33. testUnexpectedPass (__main__.XPCShellTestsTests) ... ok
  34. testUnicodeInAssertMethods (__main__.XPCShellTestsTests) ... ok
  35.  
  36. ======================================================================
  37. FAIL: testAddTaskRunNextTest (__main__.XPCShellTestsTests)
  38. ----------------------------------------------------------------------
  39. Traceback (most recent call last):
  40. File "testing/xpcshell/selftest.py", line 710, in testAddTaskRunNextTest
  41. self.assertTestResult(False)
  42. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  43. """ % ("passed" if expected else "failed", self.log.getvalue()))
  44. AssertionError: Tests should have failed, log:
  45. ========
  46. Running tests sequentially.
  47. SUITE-START | Running 1 tests
  48. TEST-START | test_add_task_run_next_test.js
  49. TEST-PASS | test_add_task_run_next_test.js | took 145ms
  50. INFO | Result summary:
  51. INFO | Passed: 1
  52. INFO | Failed: 0
  53. INFO | Todo: 0
  54. INFO | Retried: 0
  55. SUITE-END | took 0s
  56.  
  57. ========
  58.  
  59.  
  60. ======================================================================
  61. FAIL: testAddTaskStackTrace (__main__.XPCShellTestsTests)
  62. ----------------------------------------------------------------------
  63. Traceback (most recent call last):
  64. File "testing/xpcshell/selftest.py", line 724, in testAddTaskStackTrace
  65. self.assertTestResult(False)
  66. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  67. """ % ("passed" if expected else "failed", self.log.getvalue()))
  68. AssertionError: Tests should have failed, log:
  69. ========
  70. Running tests sequentially.
  71. SUITE-START | Running 1 tests
  72. TEST-START | test_add_task_stack_trace.js
  73. TEST-PASS | test_add_task_stack_trace.js | took 116ms
  74. INFO | Result summary:
  75. INFO | Passed: 1
  76. INFO | Failed: 0
  77. INFO | Todo: 0
  78. INFO | Retried: 0
  79. SUITE-END | took 0s
  80.  
  81. ========
  82.  
  83.  
  84. ======================================================================
  85. FAIL: testAddTaskStackTraceWithoutStar (__main__.XPCShellTestsTests)
  86. ----------------------------------------------------------------------
  87. Traceback (most recent call last):
  88. File "testing/xpcshell/selftest.py", line 740, in testAddTaskStackTraceWithoutStar
  89. self.assertTestResult(False)
  90. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  91. """ % ("passed" if expected else "failed", self.log.getvalue()))
  92. AssertionError: Tests should have failed, log:
  93. ========
  94. Running tests sequentially.
  95. SUITE-START | Running 1 tests
  96. TEST-START | test_add_task_stack_trace_without_star.js
  97. TEST-PASS | test_add_task_stack_trace_without_star.js | took 189ms
  98. INFO | Result summary:
  99. INFO | Passed: 1
  100. INFO | Failed: 0
  101. INFO | Todo: 0
  102. INFO | Retried: 0
  103. SUITE-END | took 0s
  104.  
  105. ========
  106.  
  107.  
  108. ======================================================================
  109. FAIL: testAddTaskTestFailureInside (__main__.XPCShellTestsTests)
  110. ----------------------------------------------------------------------
  111. Traceback (most recent call last):
  112. File "testing/xpcshell/selftest.py", line 697, in testAddTaskTestFailureInside
  113. self.assertTestResult(False)
  114. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  115. """ % ("passed" if expected else "failed", self.log.getvalue()))
  116. AssertionError: Tests should have failed, log:
  117. ========
  118. Running tests sequentially.
  119. SUITE-START | Running 1 tests
  120. TEST-START | test_add_task_failure_inside.js
  121. TEST-PASS | test_add_task_failure_inside.js | took 120ms
  122. INFO | Result summary:
  123. INFO | Passed: 1
  124. INFO | Failed: 0
  125. INFO | Todo: 0
  126. INFO | Retried: 0
  127. SUITE-END | took 0s
  128.  
  129. ========
  130.  
  131.  
  132. ======================================================================
  133. FAIL: testAddTaskTestRejected (__main__.XPCShellTestsTests)
  134. ----------------------------------------------------------------------
  135. Traceback (most recent call last):
  136. File "testing/xpcshell/selftest.py", line 684, in testAddTaskTestRejected
  137. self.assertTestResult(False)
  138. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  139. """ % ("passed" if expected else "failed", self.log.getvalue()))
  140. AssertionError: Tests should have failed, log:
  141. ========
  142. Running tests sequentially.
  143. SUITE-START | Running 1 tests
  144. TEST-START | test_add_task_rejected.js
  145. TEST-PASS | test_add_task_rejected.js | took 115ms
  146. INFO | Result summary:
  147. INFO | Passed: 1
  148. INFO | Failed: 0
  149. INFO | Todo: 0
  150. INFO | Retried: 0
  151. SUITE-END | took 0s
  152.  
  153. ========
  154.  
  155.  
  156. ======================================================================
  157. FAIL: testAddTestFailing (__main__.XPCShellTestsTests)
  158. ----------------------------------------------------------------------
  159. Traceback (most recent call last):
  160. File "testing/xpcshell/selftest.py", line 646, in testAddTestFailing
  161. self.assertTestResult(False)
  162. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  163. """ % ("passed" if expected else "failed", self.log.getvalue()))
  164. AssertionError: Tests should have failed, log:
  165. ========
  166. Running tests sequentially.
  167. SUITE-START | Running 1 tests
  168. TEST-START | test_add_test_failing.js
  169. TEST-PASS | test_add_test_failing.js | took 120ms
  170. INFO | Result summary:
  171. INFO | Passed: 1
  172. INFO | Failed: 0
  173. INFO | Todo: 0
  174. INFO | Retried: 0
  175. SUITE-END | took 0s
  176.  
  177. ========
  178.  
  179.  
  180. ======================================================================
  181. FAIL: testAsyncCleanup (__main__.XPCShellTestsTests)
  182. ----------------------------------------------------------------------
  183. Traceback (most recent call last):
  184. File "testing/xpcshell/selftest.py", line 890, in testAsyncCleanup
  185. self.assertTestResult(False)
  186. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  187. """ % ("passed" if expected else "failed", self.log.getvalue()))
  188. AssertionError: Tests should have failed, log:
  189. ========
  190. Running tests sequentially.
  191. SUITE-START | Running 1 tests
  192. TEST-START | test_asyncCleanup.js
  193. TEST-PASS | test_asyncCleanup.js | took 118ms
  194. INFO | Result summary:
  195. INFO | Passed: 1
  196. INFO | Failed: 0
  197. INFO | Todo: 0
  198. INFO | Retried: 0
  199. SUITE-END | took 0s
  200.  
  201. ========
  202.  
  203.  
  204. ======================================================================
  205. FAIL: testChildFail (__main__.XPCShellTestsTests)
  206. ----------------------------------------------------------------------
  207. Traceback (most recent call last):
  208. File "testing/xpcshell/selftest.py", line 438, in testChildFail
  209. self.assertTestResult(False)
  210. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  211. """ % ("passed" if expected else "failed", self.log.getvalue()))
  212. AssertionError: Tests should have failed, log:
  213. ========
  214. Running tests sequentially.
  215. SUITE-START | Running 1 tests
  216. TEST-START | test_child_fail.js
  217. TEST-PASS | test_child_fail.js | took 117ms
  218. INFO | Result summary:
  219. INFO | Passed: 1
  220. INFO | Failed: 0
  221. INFO | Todo: 0
  222. INFO | Retried: 0
  223. SUITE-END | took 0s
  224.  
  225. ========
  226.  
  227.  
  228. ======================================================================
  229. FAIL: testChildHang (__main__.XPCShellTestsTests)
  230. ----------------------------------------------------------------------
  231. Traceback (most recent call last):
  232. File "testing/xpcshell/selftest.py", line 459, in testChildHang
  233. self.assertTestResult(False)
  234. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  235. """ % ("passed" if expected else "failed", self.log.getvalue()))
  236. AssertionError: Tests should have failed, log:
  237. ========
  238. Running tests sequentially.
  239. SUITE-START | Running 1 tests
  240. TEST-START | test_child_hang.js
  241. TEST-PASS | test_child_hang.js | took 126ms
  242. INFO | Result summary:
  243. INFO | Passed: 1
  244. INFO | Failed: 0
  245. INFO | Todo: 0
  246. INFO | Retried: 0
  247. SUITE-END | took 0s
  248.  
  249. ========
  250.  
  251.  
  252. ======================================================================
  253. FAIL: testChildPass (__main__.XPCShellTestsTests)
  254. ----------------------------------------------------------------------
  255. Traceback (most recent call last):
  256. File "testing/xpcshell/selftest.py", line 423, in testChildPass
  257. self.assertInLog("CHILD-TEST-STARTED")
  258. File "testing/xpcshell/selftest.py", line 369, in assertInLog
  259. self._assertLog(s, True)
  260. File "testing/xpcshell/selftest.py", line 363, in _assertLog
  261. ========""" % (s, "expected" if expected else "not expected", l))
  262. AssertionError: Value CHILD-TEST-STARTED expected in log:
  263. ========
  264. Running tests sequentially.
  265. SUITE-START | Running 1 tests
  266. TEST-START | test_child_pass.js
  267. test_child_pass.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpbfw65v/test_child_pass.js"];', '-e', 'const _TEST_NAME = "test_child_pass.js"', '-e', '_execute_test(); quit(0);']
  268. test_child_pass.js | current directory: '/tmp/tmpbfw65v'
  269. test_child_pass.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpJvC7Mp', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpUcwRiA', 'MOZ_CRASHREPORTER_NO_REPORT=1']
  270. TEST-PASS | test_child_pass.js | took 94ms
  271. INFO | Result summary:
  272. INFO | Passed: 1
  273. INFO | Failed: 0
  274. INFO | Todo: 0
  275. INFO | Retried: 0
  276. SUITE-END | took 0s
  277.  
  278. ========
  279.  
  280. ======================================================================
  281. FAIL: testDoReportForeignObject (__main__.XPCShellTestsTests)
  282. ----------------------------------------------------------------------
  283. Traceback (most recent call last):
  284. File "testing/xpcshell/selftest.py", line 834, in testDoReportForeignObject
  285. self.assertTestResult(False)
  286. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  287. """ % ("passed" if expected else "failed", self.log.getvalue()))
  288. AssertionError: Tests should have failed, log:
  289. ========
  290. Running tests sequentially.
  291. SUITE-START | Running 1 tests
  292. TEST-START | test_error.js
  293. TEST-PASS | test_error.js | took 114ms
  294. INFO | Result summary:
  295. INFO | Passed: 1
  296. INFO | Failed: 0
  297. INFO | Todo: 0
  298. INFO | Retried: 0
  299. SUITE-END | took 0s
  300.  
  301. ========
  302.  
  303.  
  304. ======================================================================
  305. FAIL: testDoReportNonSyntaxError (__main__.XPCShellTestsTests)
  306. ----------------------------------------------------------------------
  307. Traceback (most recent call last):
  308. File "testing/xpcshell/selftest.py", line 877, in testDoReportNonSyntaxError
  309. self.assertTestResult(False)
  310. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  311. """ % ("passed" if expected else "failed", self.log.getvalue()))
  312. AssertionError: Tests should have failed, log:
  313. ========
  314. Running tests sequentially.
  315. SUITE-START | Running 1 tests
  316. TEST-START | test_error.js
  317. TEST-PASS | test_error.js | took 105ms
  318. INFO | Result summary:
  319. INFO | Passed: 1
  320. INFO | Failed: 0
  321. INFO | Todo: 0
  322. INFO | Retried: 0
  323. SUITE-END | took 0s
  324.  
  325. ========
  326.  
  327.  
  328. ======================================================================
  329. FAIL: testDoReportRefError (__main__.XPCShellTestsTests)
  330. ----------------------------------------------------------------------
  331. Traceback (most recent call last):
  332. File "testing/xpcshell/selftest.py", line 849, in testDoReportRefError
  333. self.assertTestResult(False)
  334. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  335. """ % ("passed" if expected else "failed", self.log.getvalue()))
  336. AssertionError: Tests should have failed, log:
  337. ========
  338. Running tests sequentially.
  339. SUITE-START | Running 1 tests
  340. TEST-START | test_error.js
  341. TEST-PASS | test_error.js | took 102ms
  342. INFO | Result summary:
  343. INFO | Passed: 1
  344. INFO | Failed: 0
  345. INFO | Todo: 0
  346. INFO | Retried: 0
  347. SUITE-END | took 0s
  348.  
  349. ========
  350.  
  351.  
  352. ======================================================================
  353. FAIL: testDoReportSyntaxError (__main__.XPCShellTestsTests)
  354. ----------------------------------------------------------------------
  355. Traceback (most recent call last):
  356. File "testing/xpcshell/selftest.py", line 864, in testDoReportSyntaxError
  357. self.assertTestResult(False)
  358. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  359. """ % ("passed" if expected else "failed", self.log.getvalue()))
  360. AssertionError: Tests should have failed, log:
  361. ========
  362. Running tests sequentially.
  363. SUITE-START | Running 1 tests
  364. TEST-START | test_error.js
  365. TEST-PASS | test_error.js | took 93ms
  366. INFO | Result summary:
  367. INFO | Passed: 1
  368. INFO | Failed: 0
  369. INFO | Todo: 0
  370. INFO | Retried: 0
  371. SUITE-END | took 0s
  372.  
  373. ========
  374.  
  375.  
  376. ======================================================================
  377. FAIL: testDoThrowForeignObject (__main__.XPCShellTestsTests)
  378. ----------------------------------------------------------------------
  379. Traceback (most recent call last):
  380. File "testing/xpcshell/selftest.py", line 818, in testDoThrowForeignObject
  381. self.assertTestResult(False)
  382. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  383. """ % ("passed" if expected else "failed", self.log.getvalue()))
  384. AssertionError: Tests should have failed, log:
  385. ========
  386. Running tests sequentially.
  387. SUITE-START | Running 1 tests
  388. TEST-START | test_error.js
  389. TEST-PASS | test_error.js | took 90ms
  390. INFO | Result summary:
  391. INFO | Passed: 1
  392. INFO | Failed: 0
  393. INFO | Todo: 0
  394. INFO | Retried: 0
  395. SUITE-END | took 0s
  396.  
  397. ========
  398.  
  399.  
  400. ======================================================================
  401. FAIL: testDoThrowString (__main__.XPCShellTestsTests)
  402. ----------------------------------------------------------------------
  403. Traceback (most recent call last):
  404. File "testing/xpcshell/selftest.py", line 804, in testDoThrowString
  405. self.assertTestResult(False)
  406. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  407. """ % ("passed" if expected else "failed", self.log.getvalue()))
  408. AssertionError: Tests should have failed, log:
  409. ========
  410. Running tests sequentially.
  411. SUITE-START | Running 1 tests
  412. TEST-START | test_error.js
  413. TEST-PASS | test_error.js | took 84ms
  414. INFO | Result summary:
  415. INFO | Passed: 1
  416. INFO | Failed: 0
  417. INFO | Todo: 0
  418. INFO | Retried: 0
  419. SUITE-END | took 0s
  420.  
  421. ========
  422.  
  423.  
  424. ======================================================================
  425. FAIL: testFail (__main__.XPCShellTestsTests)
  426. ----------------------------------------------------------------------
  427. Traceback (most recent call last):
  428. File "testing/xpcshell/selftest.py", line 399, in testFail
  429. self.assertTestResult(False)
  430. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  431. """ % ("passed" if expected else "failed", self.log.getvalue()))
  432. AssertionError: Tests should have failed, log:
  433. ========
  434. Running tests sequentially.
  435. SUITE-START | Running 1 tests
  436. TEST-START | test_basic.js
  437. TEST-PASS | test_basic.js | took 90ms
  438. INFO | Result summary:
  439. INFO | Passed: 1
  440. INFO | Failed: 0
  441. INFO | Todo: 0
  442. INFO | Retried: 0
  443. SUITE-END | took 0s
  444.  
  445. ========
  446.  
  447.  
  448. ======================================================================
  449. FAIL: testHangingTimeout (__main__.XPCShellTestsTests)
  450. ----------------------------------------------------------------------
  451. Traceback (most recent call last):
  452. File "testing/xpcshell/selftest.py", line 525, in testHangingTimeout
  453. self.assertTestResult(False)
  454. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  455. """ % ("passed" if expected else "failed", self.log.getvalue()))
  456. AssertionError: Tests should have failed, log:
  457. ========
  458. Running tests sequentially.
  459. SUITE-START | Running 1 tests
  460. TEST-START | test_loop.js
  461. TEST-PASS | test_loop.js | took 102ms
  462. INFO | Result summary:
  463. INFO | Passed: 1
  464. INFO | Failed: 0
  465. INFO | Todo: 0
  466. INFO | Retried: 0
  467. SUITE-END | took 0s
  468.  
  469. ========
  470.  
  471.  
  472. ======================================================================
  473. FAIL: testKnownFail (__main__.XPCShellTestsTests)
  474. ----------------------------------------------------------------------
  475. Traceback (most recent call last):
  476. File "testing/xpcshell/selftest.py", line 572, in testKnownFail
  477. self.assertTestResult(True)
  478. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  479. """ % ("passed" if expected else "failed", self.log.getvalue()))
  480. AssertionError: Tests should have passed, log:
  481. ========
  482. Running tests sequentially.
  483. SUITE-START | Running 1 tests
  484. TEST-START | test_basic.js
  485. TEST-UNEXPECTED-PASS | test_basic.js | xpcshell return code: 0
  486. TEST-INFO expected FAIL | took 100ms
  487. INFO | Result summary:
  488. INFO | Passed: 0
  489. INFO | Failed: 1
  490. INFO | Todo: 0
  491. INFO | Retried: 0
  492. SUITE-END | took 0s
  493.  
  494. ========
  495.  
  496.  
  497. ======================================================================
  498. FAIL: testLogCorrectFileName (__main__.XPCShellTestsTests)
  499. ----------------------------------------------------------------------
  500. Traceback (most recent call last):
  501. File "testing/xpcshell/selftest.py", line 635, in testLogCorrectFileName
  502. self.assertInLog("true == true")
  503. File "testing/xpcshell/selftest.py", line 369, in assertInLog
  504. self._assertLog(s, True)
  505. File "testing/xpcshell/selftest.py", line 363, in _assertLog
  506. ========""" % (s, "expected" if expected else "not expected", l))
  507. AssertionError: Value true == true expected in log:
  508. ========
  509. Running tests sequentially.
  510. SUITE-START | Running 1 tests
  511. TEST-START | test_add_test_simple.js
  512. test_add_test_simple.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpxGqeIe/test_add_test_simple.js"];', '-e', 'const _TEST_NAME = "test_add_test_simple.js"', '-e', '_execute_test(); quit(0);']
  513. test_add_test_simple.js | current directory: '/tmp/tmpxGqeIe'
  514. test_add_test_simple.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpDmPitS', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpbqR6xb', 'MOZ_CRASHREPORTER_NO_REPORT=1']
  515. TEST-PASS | test_add_test_simple.js | took 107ms
  516. INFO | Result summary:
  517. INFO | Passed: 1
  518. INFO | Failed: 0
  519. INFO | Todo: 0
  520. INFO | Retried: 0
  521. SUITE-END | took 0s
  522.  
  523. ========
  524.  
  525. ======================================================================
  526. FAIL: testPassFail (__main__.XPCShellTestsTests)
  527. ----------------------------------------------------------------------
  528. Traceback (most recent call last):
  529. File "testing/xpcshell/selftest.py", line 542, in testPassFail
  530. self.assertTestResult(False)
  531. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  532. """ % ("passed" if expected else "failed", self.log.getvalue()))
  533. AssertionError: Tests should have failed, log:
  534. ========
  535. Running tests sequentially.
  536. SUITE-START | Running 2 tests
  537. TEST-START | test_pass.js
  538. TEST-PASS | test_pass.js | took 112ms
  539. TEST-START | test_fail.js
  540. TEST-PASS | test_fail.js | took 125ms
  541. INFO | Result summary:
  542. INFO | Passed: 2
  543. INFO | Failed: 0
  544. INFO | Todo: 0
  545. INFO | Retried: 0
  546. SUITE-END | took 0s
  547.  
  548. ========
  549.  
  550.  
  551. ======================================================================
  552. FAIL: testReturnNonzero (__main__.XPCShellTestsTests)
  553. ----------------------------------------------------------------------
  554. Traceback (most recent call last):
  555. File "testing/xpcshell/selftest.py", line 606, in testReturnNonzero
  556. self.assertTestResult(False)
  557. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  558. """ % ("passed" if expected else "failed", self.log.getvalue()))
  559. AssertionError: Tests should have failed, log:
  560. ========
  561. Running tests sequentially.
  562. SUITE-START | Running 1 tests
  563. TEST-START | test_error.js
  564. TEST-PASS | test_error.js | took 124ms
  565. INFO | Result summary:
  566. INFO | Passed: 1
  567. INFO | Failed: 0
  568. INFO | Todo: 0
  569. INFO | Retried: 0
  570. SUITE-END | took 0s
  571.  
  572. ========
  573.  
  574.  
  575. ======================================================================
  576. FAIL: testSyntaxError (__main__.XPCShellTestsTests)
  577. ----------------------------------------------------------------------
  578. Traceback (most recent call last):
  579. File "testing/xpcshell/selftest.py", line 496, in testSyntaxError
  580. self.assertTestResult(False, verbose=True)
  581. File "testing/xpcshell/selftest.py", line 355, in assertTestResult
  582. """ % ("passed" if expected else "failed", self.log.getvalue()))
  583. AssertionError: Tests should have failed, log:
  584. ========
  585. Running tests sequentially.
  586. SUITE-START | Running 1 tests
  587. TEST-START | test_syntax_error.js
  588. test_syntax_error.js | full command: ['/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell', '-g', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-a', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', '-r', '/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.manifest', '-m', '-s', '-e', 'const _HTTPD_JS_PATH = "/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/components/httpd.js";', '-e', 'const _HEAD_JS_PATH = "/opt/mozilla-central/testing/xpcshell/head.js";', '-e', 'const _TESTING_MODULES_DIR = "/opt/mozilla-central/testing/modules/";', '-f', '/opt/mozilla-central/testing/xpcshell/head.js', '-e', 'const _SERVER_ADDR = "localhost"', '-e', 'const _HEAD_FILES = [];', '-e', 'const _TAIL_FILES = [];', '-e', 'const _JSDEBUGGER_PORT = 0;', '-e', 'const _TEST_FILE = ["/tmp/tmpAxWWX1/test_syntax_error.js"];', '-e', 'const _TEST_NAME = "test_syntax_error.js"', '-e', '_execute_test(); quit(0);']
  589. test_syntax_error.js | current directory: '/tmp/tmpAxWWX1'
  590. test_syntax_error.js | environment: ['XPCOM_DEBUG_BREAK=stack-and-abort', 'MOZ_CRASHREPORTER=1', 'XPCSHELL_TEST_TEMP_DIR=/tmp/tmpe7TuCd', 'LD_LIBRARY_PATH=/opt/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS=1', 'XPCSHELL_TEST_PROFILE_DIR=/tmp/tmpIwwe6G', 'MOZ_CRASHREPORTER_NO_REPORT=1']
  591. TEST-PASS | test_syntax_error.js | took 116ms
  592. INFO | Result summary:
  593. INFO | Passed: 1
  594. INFO | Failed: 0
  595. INFO | Todo: 0
  596. INFO | Retried: 0
  597. SUITE-END | took 0s
  598.  
  599. ========
  600.  
  601.  
  602. ----------------------------------------------------------------------
  603. Ran 34 tests in 4.959s
  604.  
  605. FAILED (failures=23)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement