Open Bug 924941 Opened 8 years ago Updated 8 years ago

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


(Testing :: Mochitest, defect)

Windows 7
Not set


(Not tracked)


(Reporter: mayhemer, Unassigned)


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 = '';
 const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', './server.js']
 0:06.54 | Server pid: 8264
 0:07.54 | 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

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/", line 479, in run_mochitest_plain
    return self.run_mochitest(test_file, 'plain', **kwargs)
  File "c:\Mozilla\src\mozilla-central\testing/mochitest/", line 534, in run_mochitest
  File "c:\Mozilla\src\mozilla-central\testing/mochitest/", line 334, in run_desktop_test
    result = runner.runTests(options)
  File "c:\Mozilla\src\mozilla-central\_obj-browser-opt\_tests\testing\mochitest\", line 963, in runTests
    testURL = self.buildTestPath(options)
  File "c:\Mozilla\src\mozilla-central\_obj-browser-opt\_tests\testing\mochitest\", 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.