android swarming bots dying with libusb error |
||||
Issue descriptionBots will fall off indefinitely from this error: error: LIBUSB_ERROR_NOT_FOUND [-5] .1.zip/bot_code/bot_main.py", line 138, in get_state state = bot_config.get_state(botobj) File "swarming_bot.1.zip/config/bot_config.py", line 877, in get_state devices = _android_get_devices(bot) File "swarming_bot.1.zip/config/bot_config.py", line 368, in _android_get_devices return platforms.android.get_devices(bot, endpoints=endpoints) File "swarming_bot.1.zip/api/platforms/android.py", line 114, in get_devices as_root=True) File "swarming_bot.1.zip/adb/contrib/high.py", line 306, in GetLocalDevices as_root=as_root) File "swarming_bot.1.zip/adb/contrib/high.py", line 271, in _ConnectFromHandles devices = parallel.pmap(fn, handles) File "swarming_bot.1.zip/adb/contrib/parallel.py", line 50, in pmap return _pmap(_POOL, _QUEUE_IN, _QUEUE_OUT, fn, items) File "swarming_bot.1.zip/adb/contrib/parallel.py", line 91, in _run result = fn(item) File "swarming_bot.1.zip/adb/contrib/high.py", line 265, in fn device = HighDevice.Connect(handle, **kwargs) File "swarming_bot.1.zip/adb/contrib/high.py", line 377, in Connect return cls._Connect(adb_commands_safe.AdbCommandsSafe.Connect, **kwargs) File "swarming_bot.1.zip/adb/contrib/high.py", line 986, in _Connect device = constructor(**kwargs) File "swarming_bot.1.zip/adb/contrib/adb_commands_safe.py", line 167, in Connect obj._OpenHandle() File "swarming_bot.1.zip/adb/contrib/adb_commands_safe.py", line 750, in _OpenHandle self._handle.Open() File "swarming_bot.1.zip/adb/common.py", line 186, in Open self._handle.claimInterface(self._interface_number) File "/b/swarm_slave/swarming_bot.1.zip/python_libusb1/usb1.py", line 1133, in claimInterface mayRaiseUSBError(result) File "/b/swarm_slave/swarming_bot.1.zip/python_libusb1/usb1.py", line 106, in mayRaiseUSBError raiseUSBError(value) File "/b/swarm_slave/swarming_bot.1.zip/python_libusb1/usb1.py", line 102, in raiseUSBError raise STATUS_TO_EXCEPTION_DICT.get(value, USBError)(value) USBErrorNotFound: LIBUSB_ERROR_NOT_FOUND [-5] quarantined: True
,
Aug 3 2016
,
Aug 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/external/github.com/luci/luci-py.git/+/d2fb16a9f7109af44bbcfbeb0ec59f36369f5245 commit d2fb16a9f7109af44bbcfbeb0ec59f36369f5245 Author: stip <stip@chromium.org> Date: Wed Aug 03 23:14:00 2016 Roll python-adb to ebee7e2e. BUG= 634077 Review-Url: https://codereview.chromium.org/2207213002 [modify] https://crrev.com/d2fb16a9f7109af44bbcfbeb0ec59f36369f5245/appengine/third_party/python-adb/README.swarming [modify] https://crrev.com/d2fb16a9f7109af44bbcfbeb0ec59f36369f5245/appengine/third_party/python-adb/adb/contrib/adb_commands_safe.py
,
Aug 4 2016
Will hold this bug open for a week to see if we see this error again.
,
Aug 9 2016
,
Aug 10 2016
I think we've licked this. |
||||
►
Sign in to add a comment |
||||
Comment 1 by benhenry@chromium.org
, Aug 3 2016