Open Bug 924941 Opened 6 years ago Updated 6 years ago

./mach mochitest-plain --run-until-failure --repeat 999999 fails

Categories

(Testing :: Mochitest, defect)

x86_64
Windows 7
defect
Not set

Tracking

(Not tracked)

People

(Reporter: mayhemer, Unassigned)

Details

win7, opt test enabled build

$ ./mach mochitest-plain content/events/test/test_bug409604.html --run-until-failure --repeat 999999
From _tests: Kept 11043 existing; Added/updated 0; Removed 0 files and 0 directories.
 0:06.54 MochitestServer : launching [u'c:\\Mozilla\\src\\mozilla-central\\_obj-browser-opt\\dist\\bin\\xpcshell.exe', '-g', u'c:\\Mozilla\\src\\mozilla-c
entral\\_obj-browser-opt\\dist\\bin', '-v', '170', '-f', 'c:\\Mozilla\\src\\mozilla-central\\_obj-browser-opt\\_tests\\testing\\mochitest/httpd.js', '-e',
 "const _PROFILE_PATH = 'c:\\\\users\\\\mayhemer\\\\appdata\\\\local\\\\temp\\\\tmpelkrnj'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1';
 const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', './server.js']
 0:06.54 runtests.py | Server pid: 8264
 0:07.54 runtests.py | Websocket server pid: 6116
Error running mach:

    ['mochitest-plain', 'content/events/test/test_bug409604.html', '--run-until-failure', '--repeat', '999999']

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 should consider filing a bug for this issue.

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

The details of the failure are as follows:

AttributeError: 'Mochitest' object has no attribute 'PLAIN_LOOP_PATH'

  File "c:\Mozilla\src\mozilla-central\testing/mochitest/mach_commands.py", line 479, in run_mochitest_plain
    return self.run_mochitest(test_file, 'plain', **kwargs)
  File "c:\Mozilla\src\mozilla-central\testing/mochitest/mach_commands.py", line 534, in run_mochitest
    **kwargs)
  File "c:\Mozilla\src\mozilla-central\testing/mochitest/mach_commands.py", line 334, in run_desktop_test
    result = runner.runTests(options)
  File "c:\Mozilla\src\mozilla-central\_obj-browser-opt\_tests\testing\mochitest\runtests.py", line 963, in runTests
    testURL = self.buildTestPath(options)
  File "c:\Mozilla\src\mozilla-central\_obj-browser-opt\_tests\testing\mochitest\runtests.py", line 367, in buildTestPath
    testURL = ("/").join([testHost, self.PLAIN_LOOP_PATH])
You need to log in before you can comment on or make changes to this bug.