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

Issue 774943 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

lars: chameleon bluetooth setup is broken in the lab

Project Member Reported by wuchengli@chromium.org, Oct 16 2017

Issue description

https://wmatrix.googleplex.com/matrix/unfiltered?tests=audio_AudioBasicBluetoothPlayback&days_back=20&hide_missing=True

audio_AudioBasicBluetoothPlayback has been always failing on lars for the following error:
"Unhandled ChameleonBluetoothAudioError: Can not find bluetooth module with MAC address 00:1F:84:01:03:70"

Ruchi. There's something wrong with chameleon bluetooth setup on Lars. Can you take a look?
 
Hi, this is due to having the incorrect mapping of MAC address in the chameleon_info file. 

https://cs.corp.google.com/chromeos_public/src/third_party/autotest/files/client/cros/chameleon/chameleon_info.py

^Based on this, the pairing given is '94:eb:2c:00:01:1a': ChameleonInfo('00:1F:84:01:03:70') -- which is incorrect given the test results.

Unfortunately, there's no good way to accurately assess the correct MAC address (as cychiang@ can confirm) because it relies on turning on and off the chameleon and then seeing which MAC address turns on and off out of around ~30/40 addresses. 

I can take a look sometime later this week.


I looked into this and was able to connect to some chameleon boards with different MAC addresses (:20, :49, :54). However, I got a different error (logs attached)

FAIL: Unhandled IndexError: list index out of range

16:28:16 INFO | autoserv| tko parser:   dominant_spectrals.append(spectral[0])
16:28:16 INFO | autoserv| tko parser:   IndexError: list index out of range

In any case, I can change the MAC address in chameleon_info file to 00:1F:84:01:03:20 (as :49 and :54 have been allocated to other devices).

audio_AudioBasicBluetoothPlayback.DEBUG
304 KB Download
Cc: wuchengli@chromium.org
Status: Fixed (was: Assigned)
Will reopen if this error continues to be seen.
Project Member

Comment 5 by bugdroid1@chromium.org, Oct 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/4579490065e555a489884f3638c446d325a41add

commit 4579490065e555a489884f3638c446d325a41add
Author: Ruchi Jahagirdar <rjahagir@google.com>
Date: Wed Oct 18 21:29:00 2017

[Chameleon] Changing lars bt mac address

Changing BT mac address for lars (2-10-9-15)

BUG= chromium:774943 
TEST=test_that <ip> audio_AudioBasicBluetoothPlayback

Change-Id: I0d10663f4e4d2da8363d5d85f8a51074bc2500e7
Reviewed-on: https://chromium-review.googlesource.com/724171
Commit-Ready: Ruchi Jahagirdar <rjahagir@chromium.org>
Tested-by: Ruchi Jahagirdar <rjahagir@chromium.org>
Reviewed-by: Wu-Cheng Li <wuchengli@chromium.org>

[modify] https://crrev.com/4579490065e555a489884f3638c446d325a41add/client/cros/chameleon/chameleon_info.py

Looks like lars is now failing to some different issues:

- Unhandled Exception: RPC error: audio.set_chrome_active_node_type
- Unhandled ChameleonBluetoothAudioError: Can not find bluetooth module with MAC address 00:1F:84:01:03:20
- Unhandled ChameleonBluetoothAudioError: Failed to pair Cros device and bluetooth module 00:1F:84:01:03:20

Comment 7 by dchan@chromium.org, Jan 22 2018

Status: archived (was: Fixed)

Comment 8 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)
Status: Verified (was: Fixed)

Sign in to add a comment