New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 877151 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

[Autotest failure] bluetooth_AdapterPairing.mouse failing to get label HWIDLabel

Project Member Reported by harpreet@chromium.org, Aug 23

Issue description

bluetooth_AdapterPairing.mouse failing to get label HWIDLabel

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_AdapterPairing%5C.mouse%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 16:08:55.511 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 16:08:55.512 INFO |        base_label:0199| checking label InternalDisplayLabel
08/22 16:08:55.531 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

.
.
.

08/22 16:13:39.534 ERROR|bluetooth_adapter_:1004| test_disconnection_by_device (device): <Fault 1: "<class 'chameleond.utils.bluetooth_peripheral_kit.PeripheralKitException'>:Unexpected response in disconnecting from the remote device: ">
08/22 16:13:39.574 ERROR|bluetooth_adapter_:0309| test_disconnection_by_device failed at the 1st time.
08/22 16:13:39.575 INFO |bluetooth_adapter_:0313| test_disconnection_by_device: retry the 2nd time.
08/22 16:13:40.606 INFO |bluetooth_adapter_:0280| retry: creating a new serial device...
08/22 16:13:40.607 INFO |bluetooth_adapter_:0195| Remove the old serial device and create a new one.
08/22 16:13:41.430 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 16:13:41.431 INFO |bluetooth_adapter_:0214| Skip rebooting chameleon.
08/22 16:13:41.431 ERROR|bluetooth_adapter_:0378| [--- failed: test_disconnection_by_device ({'disconnection_seen_by_adapter': True, 'disconnection_by_device': False})]
08/22 16:13:41.474 ERROR|bluetooth_adapter_:0309| test_remove_pairing failed at the 1st time.
08/22 16:13:41.475 INFO |bluetooth_adapter_:0313| test_remove_pairing: retry the 2nd time.
08/22 16:13:42.500 INFO |bluetooth_adapter_:0280| retry: creating a new serial device...
08/22 16:13:42.500 INFO |bluetooth_adapter_:0195| Remove the old serial device and create a new one.
08/22 16:13:43.355 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 16:13:43.356 INFO |bluetooth_adapter_:0214| Skip rebooting chameleon.
08/22 16:13:43.356 ERROR|bluetooth_adapter_:0378| [--- failed: test_remove_pairing ({'pairing_removed': False, 'remove_pairing': False, 'device_is_paired_initially': False})]
08/22 16:13:43.356 INFO |bluetooth_AdapterP:0182| ===  (pass = 0, fail = 1) / total 1  ===

08/22 16:13:43.356 DEBUG|              test:0381| Test failed due to {'Round 1': ["[--- failed: test_discover_device ({'has_device_initially': False, 'start_discovery': False, 'device_discovered': False})]", "[--- failed: test_device_class_of_service ({'expected_class_of_service': 0, 'discovered_class_of_service': None, 'device_class': None})]", "[--- failed: test_device_class_of_device ({'discovered_class_of_device': None, 'expected_class_of_device': 1408, 'device_class': None})]", "[--- failed: test_pairing ({'paired': False, 'has_device': False})]", "[--- failed: test_connection_by_adapter ({'has_device': False, 'connected': False})]", "[--- failed: test_device_name ({'expected_device_name': 'RNBT-BA8E', 'discovered_device_name': None})]", '[--- failed: test_disconnection_by_adapter (None)]', "[--- failed: test_connection_by_device ({'connection_seen_by_adapter': False, 'connection_by_device': True})]", "[--- failed: test_disconnection_by_device ({'disconnection_seen_by_adapter': True, 'disconnection_by_device': False})]", "[--- failed: test_remove_pairing ({'pairing_removed': False, 'remove_pairing': False, 'device_is_paired_initially': False})]"]}.
 
Cc: wongmatthew@google.com pbath...@chromium.org
Owner: josephsih@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: bt-test-failures
Cc: shijinabraham@chromium.org

Sign in to add a comment