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

Issue 888115 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

[Autotest failure] network_WiFi_BluetoothStreamPerf failure

Project Member Reported by pbath...@chromium.org, Sep 21

Issue description

network_WiFi_BluetoothStreamPerf failes with the below error

"Unhandled AttributeError: 'NoneType' object has no attribute 'get_bluetooth_controller'"

Failure link : 

https://stainless.corp.google.com/search?exclude_retried=true&first_date=2018-09-15&master_builder_name=&builder_name_number=&shard=&exclude_acts=true&builder_name=&master_builder_name_number=&owner=&retry=&exclude_cts=true&exclude_non_production=false&hostname=&board=&test=%5Enetwork%5C_WiFi%5C_BluetoothStreamPerf%5C.11b%24&suite=&build=%5ER71%5C-11082%5C.0%5C.0%24&status=FAIL&status=ERROR&status=ABORT&reason=&waterfall=&exclude_not_run=false&last_date=2018-09-21&exclude_non_release=true&exclude_au=true&model=&view=list&board_model=%5Eceles%5C%2Fceles%24

Sample log : 

09/20 09:11:51.450 ERROR|             utils:0287| [stderr] cat: /tmp/sysinfo/autoserv-isqjHG/.checksum: No such file or directory
09/20 09:12:34.901 ERROR|             utils:0287| [stderr] cat: /usr/local/autotest/.checksum: No such file or directory
09/20 09:14:05.542 ERROR|             utils:0287| [stderr] cat: /usr/local/autotest/.checksum: No such file or directory
09/20 09:14:55.350 ERROR|             utils:0287| [stderr] cat: /usr/local/autotest/.checksum: No such file or directory
09/20 09:15:55.884 ERROR|   logging_manager:0626| tko parser: {'builds': "{'cros-version': 'veyron_minnie-release/R71-11082.0.0'}", 'job_started': 1537459764, 'hostname': 'chromeos15-row1-rack5-host7', 'status_version': 1, 'label': 'veyron_minnie-release/R71-11082.0.0/wifi_perf/network_WiFi_BluetoothStreamPerf.11b', 'parent_job_id': 240007139, 'build': 'veyron_minnie-release/R71-11082.0.0', 'drone': 'cros-full-0010.mtv.corp.google.com', 'user': 'chromeos-test', 'suite': 'wifi_perf', 'experimental': 'False', 'job_queued': 1537458346}
09/20 09:15:55.885 ERROR|   logging_manager:0626| tko parser: MACHINE NAME: chromeos15-row1-rack5-host7
09/20 09:15:55.885 ERROR|   logging_manager:0626| tko parser: MACHINE GROUP: veyron_minnie
09/20 09:15:55.885 ERROR|   logging_manager:0626| tko parser: parsing partial test ---- SERVER_JOB
09/20 09:15:55.885 ERROR|   logging_manager:0626| tko parser: parsing partial test network_WiFi_BluetoothStreamPerf.11b network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.885 ERROR|   logging_manager:0626| tko parser: RUNNING: RUNNING
09/20 09:15:55.886 ERROR|   logging_manager:0626| Subdir: network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.886 ERROR|   logging_manager:0626| Testname: network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.886 ERROR|   logging_manager:0626| 
09/20 09:15:55.886 ERROR|   logging_manager:0626| tko parser: update RUNNING reason: Unhandled AttributeError: 'NoneType' object has no attribute 'get_bluetooth_controller'
09/20 09:15:55.886 ERROR|   logging_manager:0626| tko parser: The following lines were ignored:
09/20 09:15:55.886 ERROR|   logging_manager:0626| tko parser:   Traceback (most recent call last):
09/20 09:15:55.887 ERROR|   logging_manager:0626| 
09/20 09:15:55.887 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/common_lib/test.py", line 800, in _call_test_function
09/20 09:15:55.887 ERROR|   logging_manager:0626| 
09/20 09:15:55.887 ERROR|   logging_manager:0626| tko parser:       return func(*args, **dargs)
09/20 09:15:55.887 ERROR|   logging_manager:0626| 
09/20 09:15:55.887 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/common_lib/test.py", line 464, in execute
09/20 09:15:55.888 ERROR|   logging_manager:0626| 
09/20 09:15:55.888 ERROR|   logging_manager:0626| tko parser:       postprocess_profiled_run, args, dargs)
09/20 09:15:55.888 ERROR|   logging_manager:0626| 
09/20 09:15:55.888 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/common_lib/test.py", line 371, in _call_run_once
09/20 09:15:55.888 ERROR|   logging_manager:0626| 
09/20 09:15:55.888 ERROR|   logging_manager:0626| tko parser:       self.run_once(*args, **dargs)
09/20 09:15:55.889 ERROR|   logging_manager:0626| 
09/20 09:15:55.889 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/server/site_tests/network_WiFi_BluetoothStreamPerf/network_WiFi_BluetoothStreamPerf.py", line 132, in run_once
09/20 09:15:55.889 ERROR|   logging_manager:0626| 
09/20 09:15:55.889 ERROR|   logging_manager:0626| tko parser:       source, bluetooth_widget)
09/20 09:15:55.889 ERROR|   logging_manager:0626| 
09/20 09:15:55.889 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/cros/chameleon/chameleon_audio_helper.py", line 409, in create_binder
09/20 09:15:55.890 ERROR|   logging_manager:0626| 
09/20 09:15:55.890 ERROR|   logging_manager:0626| tko parser:       return self._create_widget_binder(widgets[0], widgets[1])
09/20 09:15:55.890 ERROR|   logging_manager:0626| 
09/20 09:15:55.890 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/cros/chameleon/chameleon_audio_helper.py", line 396, in _create_widget_binder
09/20 09:15:55.890 ERROR|   logging_manager:0626| 
09/20 09:15:55.890 ERROR|   logging_manager:0626| tko parser:       source, self._link_factory.create_link(source, sink), sink)
09/20 09:15:55.891 ERROR|   logging_manager:0626| 
09/20 09:15:55.891 ERROR|   logging_manager:0626| tko parser:     File "/usr/local/autotest/client/cros/chameleon/chameleon_audio_helper.py", line 190, in create_link
09/20 09:15:55.891 ERROR|   logging_manager:0626| 
09/20 09:15:55.891 ERROR|   logging_manager:0626| tko parser:       self._audio_board.get_bluetooth_controller(),
09/20 09:15:55.891 ERROR|   logging_manager:0626| 
09/20 09:15:55.892 ERROR|   logging_manager:0626| tko parser:   AttributeError: 'NoneType' object has no attribute 'get_bluetooth_controller'
09/20 09:15:55.892 ERROR|   logging_manager:0626| 
09/20 09:15:55.892 ERROR|   logging_manager:0626| tko parser: ---------------------------------
09/20 09:15:55.892 ERROR|   logging_manager:0626| tko parser: parsing test network_WiFi_BluetoothStreamPerf.11b network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.892 ERROR|   logging_manager:0626| tko parser: ADD: FAIL
09/20 09:15:55.892 ERROR|   logging_manager:0626| Subdir: network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.892 ERROR|   logging_manager:0626| Testname: network_WiFi_BluetoothStreamPerf.11b
09/20 09:15:55.893 ERROR|   logging_manager:0626| Unhandled AttributeError: 'NoneType' object has no attribute 'get_bluetooth_controller'
09/20 09:15:55.893 ERROR|   logging_manager:0626| tko parser: parsing test ---- SERVER_JOB
 
Owner: npoojary@chromium.org
Cc: josephsih@chromium.org
Cc: shijinabraham@chromium.org
Re C#0: 

  The log snippet showed that 
    tko parser:       self._audio_board.get_bluetooth_controller(),
    tko parser:   AttributeError: 'NoneType' object has no attribute 'get_bluetooth_controller'
  
  It looked that self._audio_board is None. So checking up the failure link in C#0, and clicked into one of the logs. It showed that
    09/20 09:10:59.619 INFO |         chameleon:0231| There is no audio board on this Chameleon.

  Not every chameleon board is equipped with an audio board. So maybe need to check why the host is assigned the "audio_board" label.

josephsih@ - these tests are running on devices in wificell that have fizz boxes (not chameleons anymore).
Cc: ka...@chromium.org cychiang@chromium.org
Thanks, Harpreet!

Just discussed this issue with Jimmy. Jimmy said that the "audio_board" label is statically assigned to the chameleon hosts. Since the chameleon hosts were replaced with fizz hosts, the network_WiFi_BluetoothStreamPerf test would fail due to the lack of the audio board.

Neeraj is working on using the RN-52 dongle to replace the original audio board. This is expected to fix the test when the dongle is ready.
Status: Started (was: Assigned)
CL:1312276 and CL:1313015 have completed review and are in CQ.
Project Member

Comment 9 by bugdroid1@chromium.org, Dec 14

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/chameleon/+/342e2d28c3c653809279bbe12653eacdb98e9eef

commit 342e2d28c3c653809279bbe12653eacdb98e9eef
Author: Neeraj Poojary <npoojary@google.com>
Date: Fri Dec 14 00:12:42 2018

Added support for RN52 as a Bluetooth A2DP sink for BT A2DP streaming tests

BUG=chromium:888115
TEST={grunt,octopus} in custom cell with RN52 hardware

Change-Id: Ice3e763c2df0e355493c18421f62847ae9d23c8b
Reviewed-on: https://chromium-review.googlesource.com/1313015
Commit-Ready: Neeraj Poojary <npoojary@google.com>
Tested-by: Neeraj Poojary <npoojary@google.com>
Reviewed-by: Kirtika Ruchandani <kirtika@chromium.org>

[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/bluetooth_bluefruitle.py
[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/ids.py
[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/bluetooth_rn42.py
[add] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/bluetooth_a2dp.py
[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/interface.py
[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/drivers/fpga_tio.py
[add] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/bluetooth_rn52.py
[modify] https://crrev.com/342e2d28c3c653809279bbe12653eacdb98e9eef/chameleond/utils/bluetooth_peripheral_kit.py

Sign in to add a comment