Hi all
I am trying to run TPS to ensure my patch works for bug 852041
(https://bugzilla.mozilla.org/show_bug.cgi?id=852041)
However, I got some errors when I ran the following. Could someone give me
some suggestions how to fix it please?
1. source /Users/raymond/Documents/virtualenv/bin/activate
2. runtps --binary=/Users/raymond/Documents/mozilla-central/obj-ff-dbg/
====== START ======
using result file tps_result.json
['/Users/raymondlee/Documents/appcoast/mozilla-central2/obj-ff-dbg/',
'-profile',
'/var/folders/43/d4b7hbz56jn2gvhmdhtrytxw0000gn/T/tmpozAsVT.mozrunner', '-tps',
'/var/folders/43/d4b7hbz56jn2gvhmdhtrytxw0000gn/T/tps_test_Uwxl4Y',
'-tpsphase', u'1', '-tpslogfile',
'/Users/raymondlee/Documents/appcoast/mozilla-central2/obj-ff-dbg/dist/tps.log']
Traceback (most recent call last):
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/tps-0.4-py2.7.egg/tps/testrunner.py",
line 331, in run_tests
self.run_test_group()
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/tps-0.4-py2.7.egg/tps/testrunner.py",
line 405, in run_test_group
result = self.run_single_test(testdir, test)
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/tps-0.4-py2.7.egg/tps/testrunner.py",
line 223, in run_single_test
phase.run()
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/tps-0.4-py2.7.egg/tps/phase.py",
line 49, in run
profile=self.profile)
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/tps-0.4-py2.7.egg/tps/firefoxrunner.py",
line 90, in run
self.runner.start()
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/mozrunner-5.15-py2.7.egg/mozrunner/runner.py",
line 183, in start
self.process_handler.run(timeout, outputTimeout)
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/mozprocess-0.9-py2.7.egg/mozprocess/processhandler.py",
line 621, in run
self.proc = self.Process(self.cmd, **args)
File
"/Users/raymondlee/Documents/appcoast/virtualenv/lib/python2.7/site-packages/mozprocess-0.9-py2.7.egg/mozprocess/processhandler.py",
line 76, in __init__
universal_newlines, startupinfo, creationflags)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 679, in __init__
errread, errwrite)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
Test Summary
Exception AttributeError: "'ProcessHandler' object has no attribute 'proc'" in
<bound method FirefoxRunner.cleanup of <mozrunner.runner.FirefoxRunner object
at 0x1088e4e90>> ignored
====== END ======
Thanks
Raymond
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform