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

Issue 846634 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Volume preferences are not persisted on login through autotest

Project Member Reported by maajid@chromium.org, May 25 2018

Issue description

Chrome Version: 10323.58.0
OS: Chrome

What steps will reproduce the problem?
(1) Get a device you can SSH into and mute it
(2) On your workstation, enter chroot with cros_sdk
(3) run test_that login:

test_that --autotest_dir ../third_party/autotest/files/ -b <board> <IP> login


What is the expected result?

Audio is still muted

What happens instead?

Audio becomes unmuted


 

Comment 1 by maajid@chromium.org, May 25 2018

Note:
AFAICT cras_test_client --mute 1 does nothing
Owner: maajid@chromium.org
Status: Unconfirmed (was: Untriaged)
I don't know how volume preferences work.  Is this a bug because test_that is actively resetting the volume preferences, or is there an idiosyncrasy in how volume preferences are persisted?  Is this breaking some test?
I mostly filed this bug because I was running a suite of tests against 3p ARC apps locally, and many of those apps play audio on startup. Despite me manually muting the device and confirming that a manual login to my own test account keeps the device muted, I noticed that on each subsequent autotest-driven login, the audio would become unmuted.

It's annoying for the device to play audio in the office, especially if I may not be at my desk when I am running a test. 
Cc: maajid@chromium.org ayatane@chromium.org
Owner: ----
Removing myself as owner of this bug
Status: WontFix (was: Unconfirmed)
That sounds like WAI, since tests run in a clean environment and letting persistent settings affect tests is bad.  A workaround for the audio issue is plugging something into the headphone jack

Sign in to add a comment