Closed
Bug 1007011
Opened 11 years ago
Closed 10 years ago
Cannot run mochitest on local B2G build
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1002545
People
(Reporter: vichen, Unassigned)
Details
1. Get latest code
2. Config as emulator
3. Build
4. ./mach mochitest-remote
Error output:
vichen@vichen-mozilla:~/moz/b2g/emulator$ ./mach mochitest-remote
From _tests: Kept 11631 existing; Added/updated 0; Removed 0 files and 0 directories.
waiting for system-message-listener-ready...
...done
MochitestServer : launching [u'/home/vichen/moz/b2g/emulator/gaia/xulrunner-sdk-30/xulrunner-sdk/bin/xpcshell', '-g', u'/home/vichen/moz/b2g/emulator/gaia/xulrunner-sdk-30/xulrunner-sdk/bin', '-v', '170', '-f', u'/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpJzS6Z7'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '10.247.24.96'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/server.js']
runtests.py | Server pid: 16306
runtests.py | Websocket server pid: 16308
INFO | runtests.py | expected to find ssltunnel at /home/vichen/moz/b2g/emulator/gaia/xulrunner-sdk-30/xulrunner-sdk/bin/ssltunnel
Automation Error: Exception caught while running tests
Traceback (most recent call last):
File "/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/runtestsb2g.py", line 332, in run_remote_mochitests
retVal = mochitest.run_tests(options)
File "/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/runtestsb2g.py", line 117, in run_tests
self.startServers(options, None)
File "/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/runtestsb2g.py", line 209, in startServers
MochitestUtilsMixin.startServers(self, options, debuggerInfo)
File "/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/runtests.py", line 555, in startServers
self.sslTunnel.start()
File "/home/vichen/moz/b2g/emulator/objdir-gecko/_tests/testing/mochitest/runtests.py", line 742, in start
exit(1)
File "/usr/lib/python2.7/site.py", line 374, in __call__
raise SystemExit(code)
SystemExit: 1
Stopping web server
Stopping web socket server
Stopping ssltunnel
Reporter | ||
Comment 1•11 years ago
|
||
1. We add ssltunnel here: http://hg.mozilla.org/mozilla-central/rev/4c6a0f776c32
2. From here https://developer.mozilla.org/en-US/docs/Modifying_Mochitest_SSL_behavior it shows how to modify ssltunnel, but there is no obj-dir/build/pgo
Please help.
Flags: needinfo?(martin.thomson)
Reporter | ||
Comment 2•10 years ago
|
||
Looks like Bug 1002545
Comment 3•10 years ago
|
||
It's definitely bug 1002545. We're currently debating exactly how to proceed with this. Until then use the workaround (or apply some of the patches on that bug, if you know what you are doing).
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(martin.thomson)
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•10 years ago
|
||
Bug 1002545 Comment 1 works for me.
You need to log in
before you can comment on or make changes to this bug.
Description
•