Skip to content

Instantly share code, notes, and snippets.

@dclarke
Created June 18, 2013 21:05
Show Gist options
  • Save dclarke/5809348 to your computer and use it in GitHub Desktop.
Save dclarke/5809348 to your computer and use it in GitHub Desktop.
error
localhost:mochitest dclarke$ python runtestsb2g.py --b2gpath /Volumes/Boot2Gecko/B2G/ --xre-path /Volumes/Boot2Gecko/mozilla-central/obj-x86_64-apple-darwin12.3.0/dist/bin/ --console-level INFO --emulator arm --test-path tests/dom/apps/tests/test_packaged_app_install.html
waiting for system-message-listener-ready...
done
args: ['/Volumes/Boot2Gecko/mozilla-central/obj-x86_64-apple-darwin12.3.0/dist/bin/xpcshell', '-g', '/Volumes/Boot2Gecko/mozilla-central/obj-x86_64-apple-darwin12.3.0/dist/bin', '-v', '170', '-f', './httpd.js', '-e', "const _PROFILE_PATH = '/var/folders/zg/gwxjd1ss2nl3jktt5khghk540000gn/T/tmpOHSnBh';const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1';\n const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', './server.js']
INFO | runtests.py | Server pid: 61009
INFO | runtests.py | Websocket server pid: 0
INFO | runtests.py | Running tests: start.
INFO | runtests.py | Received unexpected exception while running application
Traceback (most recent call last):
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 784, in runTests
onLaunch=onLaunch)
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/automation.py", line 1103, in runApp
stderr = subprocess.STDOUT)
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/b2gautomation.py", line 257, in Process
session = self.marionette.start_session()
File "/Volumes/Boot2Gecko/B2G/gecko/testing/marionette/client/marionette/marionette.py", line 443, in start_session
self.session = self._send_message('newSession', 'value')
File "/Volumes/Boot2Gecko/B2G/gecko/testing/marionette/client/marionette/marionette.py", line 349, in _send_message
self._handle_error(response)
File "/Volumes/Boot2Gecko/B2G/gecko/testing/marionette/client/marionette/marionette.py", line 410, in _handle_error
raise MarionetteException(message=message, status=status, stacktrace=stacktrace)
MarionetteException: Session already running
Automation Error: Exception caught while running tests
Traceback (most recent call last):
File "runtestsb2g.py", line 658, in run_remote_mochitests
retVal = mochitest.runTests(options)
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 796, in runTests
self.stopWebSocketServer(options)
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 566, in stopWebSocketServer
self.wsserver.stop()
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 509, in stop
self._process.kill()
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/b2gautomation.py", line 350, in kill
raise Exception("'kill' called on B2GInstance")
Exception: 'kill' called on B2GInstance
Traceback (most recent call last):
File "runtestsb2g.py", line 718, in <module>
main()
File "runtestsb2g.py", line 715, in main
run_remote_mochitests(automation, parser, options)
File "runtestsb2g.py", line 663, in run_remote_mochitests
mochitest.stopWebSocketServer(options)
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 566, in stopWebSocketServer
self.wsserver.stop()
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/runtests.py", line 509, in stop
self._process.kill()
File "/Volumes/Boot2Gecko/B2G/objdir-gecko/dist/test-package-stage/mochitest/b2gautomation.py", line 350, in kill
raise Exception("'kill' called on B2GInstance")
Exception: 'kill' called on B2GInstance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment