presco...@gmail.com
unread,Apr 17, 2015, 3:26:42 PM4/17/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tele...@chromium.org
Hello,
I am brand new to Telemetry and having trouble getting it up and running.
All I'm trying to do is make sure that I have my system setup so that I can run tests/benchmarks, but when I run:
run_benchmarks list
I get the following error which I have not been able to figure out what file or directory that I am missing.
Any insights would be greatly appreciated.
Traceback (most recent call last):
<module> at tools/perf/run_benchmark:20
sys.exit(benchmark_runner.main(environment))
main at tools/telemetry/telemetry/benchmark_runner.py:385
return command().Run(options)
Run at tools/telemetry/telemetry/benchmark_runner.py:112
possible_browser = browser_finder.FindBrowser(args)
Cacher at tools/telemetry/telemetry/decorators.py:31
cacher.__cache[key] = obj(*args, **kwargs)
FindBrowser at tools/telemetry/telemetry/core/browser_finder.py:64
devices = device_finder.GetDevicesMatchingOptions(options)
GetDevicesMatchingOptions at tools/telemetry/telemetry/core/device_finder.py:36
devices = _GetAllAvailableDevices(options)
_GetAllAvailableDevices at tools/telemetry/telemetry/core/device_finder.py:28
devices.extend(device.FindAllAvailableDevices(options))
FindAllAvailableDevices at tools/telemetry/telemetry/core/platform/android_device.py:136
return AndroidDevice.GetAllConnectedDevices()
GetAllConnectedDevices at tools/telemetry/telemetry/core/platform/android_device.py:34
device_serials = GetDeviceSerials()
GetDeviceSerials at tools/telemetry/telemetry/core/platform/android_device.py:47
device_serials = adb_commands.GetAttachedDevices()
GetAttachedDevices at tools/telemetry/telemetry/core/backends/adb_commands.py:43
return android_commands.GetAttachedDevices()
GetAttachedDevices at build/android/pylib/android_commands.py:172
'devices'])
GetCmdOutput at build/android/pylib/cmd_helper.py:114
(_, output) = GetCmdStatusAndOutput(args, cwd, shell)
GetCmdStatusAndOutput at build/android/pylib/cmd_helper.py:150
shell=shell, cwd=cwd)
Popen at build/android/pylib/cmd_helper.py:74
preexec_fn=lambda: signal.signal(signal.SIGPIPE, signal.SIG_DFL))
__init__ at /usr/lib/python2.7/subprocess.py:709
errread, errwrite)
_execute_child at /usr/lib/python2.7/subprocess.py:1326
raise child_exception
OSError: [Errno 2] No such file or directory
Locals:
_close_in_parent : <function _close_in_parent at 0x29c8410>
args : ['/home/nprescott/Desktop/telemetry/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']
c2pread : 3
c2pwrite : 4
child_exception : OSError(2, 'No such file or directory')
close_fds : True
creationflags : 0
cwd : None
data : 'cexceptions\nOSError\np0\n(I2\nS\'No such file or directory\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n File "/usr/lib/python2.7/subprocess.py", line 1281, in _execute_child\\n os.execvp(executable, args)\\n File "/usr/lib/python2.7/os.py", line 344, in execvp\\n _execvpe(file, args)\\n File "/usr/lib/python2.7/os.py", line 368, in _execvpe\\n func(file, *argrest)\\nOSError: [Errno 2] No such file or directory\\n\'\np6\nsb.'
env : None
errpipe_read : 7
errpipe_write : 8
errread : 5
errwrite : 6
executable : '/home/nprescott/Desktop/telemetry/src/third_party/android_tools/sdk/platform-tools/adb'
gc_was_enabled : True
p2cread : None
p2cwrite : None
preexec_fn : <function <lambda> at 0x29c82a8>
shell : False
startupinfo : None
to_close : set([3, 5])
universal_newlines : False
-Nick