bluetooth_AdapterHIDReports.mouse.reboot failing to get advertised name in entering command mode
See the failure reason at the link below:
https://stainless.corp.google.com/search?view=list&first_date=2018-08-17&last_date=2018-08-23&suite=%5Ebluetooth%5C_chameleon%24&test=%5Ebluetooth_AdapterHIDReports%5C.mouse%5C.reboot%24&status=FAIL&status=ERROR&status=ABORT&exclude_cts=true&exclude_not_run=false&exclude_non_release=true&exclude_au=true&exclude_acts=true&exclude_retried=true&exclude_non_production=false
Sample test debug log...
08/22 17:02:07.061 ERROR|bluetooth_adapter_:0378| [--- failed: test_mouse_click_and_drag (None)]
08/22 17:02:07.200 ERROR|bluetooth_adapter_:0309| test_disconnection_by_adapter failed at the 1st time.
08/22 17:02:07.200 INFO |bluetooth_adapter_:0313| test_disconnection_by_adapter: retry the 2nd time.
08/22 17:02:08.344 INFO |bluetooth_adapter_:0280| retry: creating a new serial device...
08/22 17:02:08.344 INFO |bluetooth_adapter_:0195| Remove the old serial device and create a new one.
08/22 17:02:09.570 ERROR|bluetooth_adapter_:0062| EnterCommandMode: <Fault 1: "<class 'chameleond.utils.bluetooth_rn42.RN42Exception'>:Failure to get advertised name in entering command mode: Unexpected response in getting advertised name: .">
08/22 17:02:09.571 INFO |bluetooth_adapter_:0214| Skip rebooting chameleon.
08/22 17:02:09.571 ERROR|bluetooth_adapter_:0378| [--- failed: test_disconnection_by_adapter (None)]
08/22 17:02:09.710 ERROR|bluetooth_adapter_:0309| test_remove_pairing failed at the 1st time.
08/22 17:02:09.711 INFO |bluetooth_adapter_:0313| test_remove_pairing: retry the 2nd time.
08/22 17:02:10.853 INFO |bluetooth_adapter_:0280| retry: creating a new serial device...
08/22 17:02:10.853 INFO |bluetooth_adapter_:0195| Remove the old serial device and create a new one.
08/22 17:02:12.084 ERROR|bluetooth_adapter_:0062| EnterCommandMode: <Fault 1: "<class 'chameleond.utils.bluetooth_rn42.RN42Exception'>:Failure to get advertised name in entering command mode: Unexpected response in getting advertised name: .">
08/22 17:02:12.084 INFO |bluetooth_adapter_:0214| Skip rebooting chameleon.
08/22 17:02:12.084 ERROR|bluetooth_adapter_:0378| [--- failed: test_remove_pairing ({'pairing_removed': False, 'remove_pairing': False, 'device_is_paired_initially': False})]
08/22 17:02:12.085 INFO |bluetooth_AdapterH:0127| === (pass = 0, fail = 1) / total 1 ===
08/22 17:02:12.085 DEBUG| test:0381| Test failed due to {'Round 1': ["[--- failed: test_discover_device ({'has_device_initially': False, 'start_discovery': True, 'device_discovered': False})]", "[--- failed: test_pairing ({'paired': False, 'has_device': False})]", "[--- failed: test_connection_by_adapter ({'has_device': False, 'connected': False})]", "[--- failed: test_device_is_paired ({'paired': False, 'has_device': False})]", '[--- failed: test_connection_by_device (None)]', "[--- failed: test_device_name ({'expected_device_name': False, 'discovered_device_name': None})]", '[--- failed: test_mouse_left_click (None)]', '[--- failed: test_mouse_right_click (None)]', '[--- failed: test_mouse_move_in_x (None)]', '[--- failed: test_mouse_move_in_y (None)]', '[--- failed: test_mouse_move_in_xy (None)]', '[--- failed: test_mouse_scroll_down (None)]', '[--- failed: test_mouse_scroll_up (None)]', '[--- failed: test_mouse_click_and_drag (None)]', '[--- failed: test_disconnection_by_adapter (None)]', "[--- failed: test_remove_pairing ({'pairing_removed': False, 'remove_pairing': False, 'device_is_paired_initially': False})]"]}.
Comment 1 by harpreet@chromium.org
, Aug 23And this error... 08/22 15:55:32.456 ERROR| base_label:0204| error getting label HWIDLabel. Traceback (most recent call last): File "/usr/local/autotest/server/hosts/base_label.py", line 201, in get_labels labels.extend(label.get(host)) File "/usr/local/autotest/server/hosts/base_label.py", line 81, in get return self.generate_labels(host) File "/usr/local/autotest/server/hosts/cros_label.py", line 583, in generate_labels self.key_file).get('labels', []) File "/usr/local/autotest/site_utils/hwid_lib.py", line 51, in get_hwid_info with open(key_file) as f: IOError: [Errno 2] No such file or directory: '/usr/local/autotest/hwid_key' 08/22 15:55:32.457 INFO | base_label:0199| checking label InternalDisplayLabel 08/22 15:55:32.471 ERROR| base_label:0204| error getting label InternalDisplayLabel. Traceback (most recent call last): File "/usr/local/autotest/server/hosts/base_label.py", line 201, in get_labels labels.extend(label.get(host)) File "/usr/local/autotest/server/hosts/base_label.py", line 81, in get return self.generate_labels(host) File "/usr/local/autotest/server/hosts/cros_label.py", line 530, in generate_labels from autotest_lib.client.cros.graphics import graphics_utils File "/usr/local/autotest/client/cros/graphics/graphics_utils.py", line 24, in <module> import uinput ImportError: No module named uinput