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

Issue 850874 link

Starred by 0 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-07-02
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 851863



Sign in to add a comment

TSET: USB audio test fails because g_audio can not be used

Project Member Reported by cychiang@chromium.org, Jun 8 2018

Issue description

Currently there are multiple test failures of usb audio.
It is caused by g_audio blocked by g_printer.
I will update chameleon shortly.
 
Components: OS>Kernel>Audio
Cc: waihong@chromium.org
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 8 2018

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

commit 0d6e32de70e44e7a0e492b7bdc73c6822b5cd071
Author: Cheng-Yi Chiang <cychiang@chromium.org>
Date: Fri Jun 08 17:38:13 2018

usb_printer_device: Unplug printer in Reset

If client does not Unplug printer in the end, printer will remain
plugged. It will block g_audio usage.

BUG=chromium:850874
TEST=Call Reset and see g_printer is removed.

Change-Id: I97802f3ef2b34c728b7e192bbb8a171b7b3c81f9
Reviewed-on: https://chromium-review.googlesource.com/1092617
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>

[modify] https://crrev.com/0d6e32de70e44e7a0e492b7bdc73c6822b5cd071/chameleond/devices/usb_printer_device.py

I have uploaded the bundle to r231, and verified that it can fix the issue.
However, I could not update to all chameleon in the lab because ahost got connection timeout.

(cr) ((9d43e566f...)) cychiang@cychiang-z840 ~/trunk/src/third_party/autotest/files $ ~/trunk/src/third_party/autotest/files/cli/atest host list -b 'chameleon'

Invalid server name http://cautotest: <urlopen error [Errno 110] Connection timed out>

usage: atest host list [options] <hosts>

On the other hand, host list tab on cautotest frontend works fine.
http://cautotest/afe/#tab_id=hosts

There are 94 boards with label chameleon.

Blockedon: 851863

Comment 7 by ka...@chromium.org, Jun 21 2018

Cc: sontis@chromium.org pgangishetty@chromium.org matthewjoseph@chromium.org
Components: Test>Chameleon
Labels: OS-Chrome
The Unplug fix version 0.0.2-r231 was failing some HDMI tests - issue 852502, and chameleon build was reverted to 0.0.2-r230.

I do not see USB audio issues after going back to v230 -https://screenshot.googleplex.com/yyOhJ06CY0w
Only auron_paine is failing with "Target input type USB not present". Is this the originating issue here?

Also I see printing e2e test is running - https://screenshot.googleplex.com/cVbHWVkqDeU
NextAction: 2018-07-02
I used command "modprobe -r g_printer" in chameleon to unplug USB printer from DUTs manually for those failures listed above.
Let's wait for a whlie to see the results.
The NextAction date has arrived: 2018-07-02

Sign in to add a comment