Closed Bug 1580273 Opened 5 years ago Closed 5 years ago

Can't run all of the xpcshell tests in netwerk/ any more

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(1 file)

$ ./mach test netwerk/
...
 1:29.48 TEST_END: PASS
 1:29.50 TEST_END: PASS
 1:29.52 TEST_END: PASS
 1:29.54 TEST_END: PASS
 1:29.67 TEST_END: PASS
 1:29.85 TEST_END: PASS
 1:30.34 TEST_END: PASS
 1:30.36 TEST_END: PASS
 1:32.60 TEST_END: PASS
 1:32.90 TEST_END: PASS
 1:33.38 TEST_END: PASS
 1:33.40 TEST_END: PASS
 1:34.46 TEST_END: PASS
 1:34.83 TEST_END: PASS
 1:37.06 TEST_END: PASS
 1:37.31 TEST_END: PASS
 4:02.88 TEST_END: PASS
 4:02.91 TEST_START: netwerk/test/httpserver/test/test_host.js
 4:03.19 TEST_END: PASS
 4:03.20 TEST_START: netwerk/test/unit/test_altsvc.js
 4:09.92 TEST_END: PASS
 4:09.93 TEST_START: netwerk/test/unit/test_bug767025.js
 4:10.84 TEST_END: PASS
 4:10.84 TEST_START: netwerk/test/unit/test_captive_portal_service.js
 4:14.05 TEST_END: PASS
 4:14.06 TEST_START: netwerk/test/unit/test_header_Server_Timing.js
 4:15.17 TEST_END: PASS
 4:15.17 TEST_START: netwerk/test/unit/test_http2-proxy.js
 4:15.17 TEST_END: SKIP
 4:15.18 TEST_START: netwerk/test/unit/test_http2.js
 4:27.94 TEST_END: PASS
 4:27.96 TEST_START: netwerk/test/unit/test_immutable.js
 4:29.15 TEST_END: PASS
 4:29.16 TEST_START: netwerk/test/unit/test_offlinecache_custom-directory.js
 4:30.08 TEST_END: PASS
 4:30.08 INFO Retrying tests that failed when run in parallel.
 4:30.09 INFO Following exceptions were raised:
 4:30.09 ERROR Traceback (most recent call last):
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 186, in run
    self.run_test()
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 657, in run_test
    self.command.extend(self.buildCmdHead())
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 414, in buildCmdHead
    headfiles = self.getHeadFiles(self.test_object)
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 444, in getHeadFiles
    return list(sanitize_list(headlist, 'head'))
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 436, in sanitize_list
    raise Exception('%s file does not exist: %s' % (kind, path))
Exception: head file does not exist: /home/ehsan/moz/src/obj-ff-opt/_tests/xpcshell/services/common/tests/unit/head_global.js

Error running mach:

    ['test', 'netwerk']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Exception: head file does not exist: /home/ehsan/moz/src/obj-ff-opt/_tests/xpcshell/services/common/tests/unit/head_global.js

  File "/home/ehsan/moz/src/testing/mach_commands.py", line 389, in test
    argv=extra_args, test_objects=tests, **kwargs)
  File "/home/ehsan/moz/src/python/mach/mach/registrar.py", line 176, in dispatch
    return self._run_command_handler(handler, context=context, **kwargs)
  File "/home/ehsan/moz/src/python/mach/mach/registrar.py", line 133, in _run_command_handler
    result = fn(**kwargs)
  File "/home/ehsan/moz/src/testing/xpcshell/mach_commands.py", line 261, in run_xpcshell_test
    return xpcshell.run_test(**params)
  File "/home/ehsan/moz/src/testing/xpcshell/mach_commands.py", line 60, in run_test
    return self.run_suite(**kwargs)
  File "/home/ehsan/moz/src/testing/xpcshell/mach_commands.py", line 46, in run_suite
    return self._run_xpcshell_harness(**kwargs)
  File "/home/ehsan/moz/src/testing/xpcshell/mach_commands.py", line 136, in _run_xpcshell_harness
    result = xpcshell.runTests(filtered_args)
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 1451, in runTests
    mobileArgs, **kwargs)
  File "/home/ehsan/moz/src/testing/xpcshell/runxpcshelltests.py", line 1647, in runTestList
    raise exceptions[0]
Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83644c7869d2 Add the needed head files to support-files; r=leplatrem
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: