Closed Bug 1046120 Opened 11 years ago Closed 11 years ago

Marionette failing to connect

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: armenzg, Unassigned)

Details

It happens on master. It happens on my Hamachi 1.4 user build. 0:00.00 LOG: MainThread INFO fxos-certsuite version: 0.1 0:00.00 LOG: MainThread INFO Testing ADB connection 0:00.31 LOG: MainThread INFO Installing marionette extension 0:00.69 LOG: MainThread INFO Marionette is already installed 0:00.95 LOG: MainThread INFO Saving device state 0:09.27 LOG: MainThread INFO Running suite cert 0:09.27 LOG: MainThread DEBUG [u'cert', '--log-raw=/tmp/tmpwFK9bv/cert_structuredpermissions.log', '--log-mach=-', '--include=permissions', u'--version=1.4', u'--result-file=/tmp/tmpwFK9bv/results.json'] 0:09.27 LOG: MainThread DEBUG ['/tmp/tmpwFK9bv/cert_structuredpermissions.log', u'/tmp/tmpwFK9bv/results.json'] 0:09.27 LOG: MainThread DEBUG Process 'cert --log-raw=/tmp/tmpwFK9bv/cert_structuredpermissions.log --log-mach=- --include=permissions --version=1.4 --result-file=/tmp/tmpwFK9bv/results.json' is running 0:00.00 LOG: MainThread mozdevice DEBUG _checkCmd - command: adb version 0:00.00 LOG: Thread-1 mozdevice DEBUG Android Debug Bridge version 1.0.31 0:00.00 LOG: MainThread mozdevice DEBUG _checkCmd - command: adb shell echo 0:00.06 LOG: Thread-2 mozdevice DEBUG 0:00.07 LOG: MainThread mozdevice DEBUG _runCmd - command: adb shell id 0:00.15 LOG: Thread-3 mozdevice DEBUG uid=0(root) gid=0(root) 0:00.19 LOG: MainThread mozdevice DEBUG _runCmd - command: adb shell unzip 0:00.26 LOG: Thread-4 mozdevice DEBUG /system/bin/sh: unzip: not found 0:00.26 LOG: MainThread DEBUG Attempting to set up port forwarding for marionette 0:00.26 LOG: MainThread mozdevice DEBUG _checkCmd - command: adb forward tcp:2828 tcp:2828 0:25.30 LOG: MainThread CRITICAL Traceback (most recent call last): File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 705, in cli _run(args, logger) File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 400, in _run "Is the marionette extension installed?" % retries) Exception: Couldn't connect to marionette after 5 attempts. Is the marionette extension installed? Traceback (most recent call last): File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/bin/cert", line 9, in <module> load_entry_point('fxos-certsuite==0.1', 'console_scripts', 'cert')() File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 705, in cli _run(args, logger) File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/cert.py", line 400, in _run "Is the marionette extension installed?" % retries) Exception: Couldn't connect to marionette after 5 attempts. Is the marionette extension installed? 0:34.79 LOG: MainThread DEBUG Process finished 0:34.80 LOG: MainThread ERROR Encountered error: Traceback (most recent call last): File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/harness.py", line 323, in run_tests runner.run_suite(suite, groups, log_manager) File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/harness.py", line 209, in run_suite log_manager.add_file(path, "%s/%s" % (suite, file_name)) File "/home/armenzg/repos/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/certsuite/harness.py", line 87, in add_file self.zip_file.write(path, file_obj) File "/usr/lib/python2.7/zipfile.py", line 1114, in write st = os.stat(filename) OSError: [Errno 2] No such file or directory: '/tmp/tmpwFK9bv/results.json' 0:34.80 LOG: MainThread INFO Restoring device state
I updated my fxos-certsuite branch with the latest changes from master and it started working again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.