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

Issue 820358 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

[Test bed ]audio_AudioBasicUSBPlayback: TestFail: Wrong output node(s) selected ['HEADPHONE'] expected: ['USB']

Project Member Reported by chinyue@chromium.org, Mar 9 2018

Issue description

board: link
build: 10471.0.0

https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/182033420-chromeos-test/chromeos2-row10-rack5-host11

03/08 19:18:16.850 WARNI|              test:0637| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 631, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 831, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 495, in execute
    dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 362, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 400, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/audio_AudioBasicUSBPlayback/audio_AudioBasicUSBPlayback.py", line 57, in run_once
    audio_test_utils.check_audio_nodes(audio_facade, (['USB'], None))
  File "/usr/local/autotest/client/cros/chameleon/audio_test_utils.py", line 98, in check_audio_nodes
    'expected: %s' % (str(curr_out_nodes), str(out_audio_nodes)))
TestFail: Wrong output node(s) selected ['HEADPHONE'] expected: ['USB']

 

Comment 1 by ka...@chromium.org, Mar 9 2018

Cc: matthewjoseph@chromium.org pgangishetty@chromium.org sontis@chromium.org
Components: Test
It looks like link is the device that mostly fails both tests audio_AudioBasicUSBPlayback and audio_AudioBasicUSBRecord

7 days view - https://screenshot.googleplex.com/gHw6nSmphxq

If we change the view for board link and present the host name, we see
https://screenshot.googleplex.com/nX8OnX9MKSD
that host chromeos2-row10-rack5-host11 is at fault, while the host chromeos15-audiobox4-host2(in audio box)works fine.

Host chromeos2-row10-rack5-host11 could be consistently failing b/c:
- unplugged USB cable, or bad chameleon (FPGA)
- by some reason the all time plugged audio jack setup for chameleon is affecting the USB connection

To find out
1) Will check on USB cable plugged status
2) will re-direct the perbuild tests to the another host in Atlantis(chromeos2)
3) will unplug audio jack and re-run the test.

Sridhar, please go over these checks.


Comment 2 by ka...@chromium.org, Mar 9 2018

Summary: [Test bed ]audio_AudioBasicUSBPlayback: TestFail: Wrong output node(s) selected ['HEADPHONE'] expected: ['USB'] (was: audio_AudioBasicUSBPlayback: TestFail: Wrong output node(s) selected ['HEADPHONE'] expected: ['USB'])

Comment 3 by ka...@chromium.org, Mar 9 2018

The USB tests on the nightly suite show chromeos2-row10-rack5-host13 does not have this issue. So I guess it is more of a specific host problem.
https://screenshot.googleplex.com/jXj04ydfLNt

I guess 1) will resolve the issue. 

Comment 4 by ka...@chromium.org, Mar 9 2018

Cc: louiscollard@chromium.org
 Issue 819984  has been merged into this issue.
Status: Fixed (was: Untriaged)
USB connection issue (Bad cable).
Replacing USB cable fixed this issue.
-------------------------------------------------------------------------------------------------------
/tmp/test_that_results_s5hJXE/results-1-audio_AudioBasicUSBRecord                           [  PASSED  ]
/tmp/test_that_results_s5hJXE/results-1-audio_AudioBasicUSBRecord/audio_AudioBasicUSBRecord [  PASSED  ]
-------------------------------------------------------------------------------------------------------


-----------------------------------------------------------------------------------------------------------
/tmp/test_that_results_XBn3ds/results-1-audio_AudioBasicUSBPlayback                             [  PASSED  ]
/tmp/test_that_results_XBn3ds/results-1-audio_AudioBasicUSBPlayback/audio_AudioBasicUSBPlayback [  PASSED  ]
-----------------------------------------------------------------------------------------------------------
Total PASS: 2/2 (100%)

Comment 7 by ka...@chromium.org, Mar 9 2018

Thanks Sridhar for fixing the test bed. 

Sign in to add a comment