audio_test.py: Unable to control recording volume. Test results may be wrong

Bug #1890526 reported by Leon Liao
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Unassigned
OEM Priority Project
Fix Committed
High
Leon Liao

Bug Description

Th message "Unable to control recording volume.Test results may be wrong" show up when run audio_test.

Reproduce step:
$ ./audio_test.py
INFO:root:Using PulseAudio identifier 1 (alsa_input.pci-0000_00_1f.3.analog-stereo) for input
INFO:root:Using PulseAudio identifier 0 (alsa_output.pci-0000_00_1f.3.analog-stereo) for output
INFO:root:Player: Starting
INFO:root:Recorder: Starting
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
ERROR:root:Unable to control recording volume.Test results may be wrong
INFO:root:Sampling complete, ending process
INFO:root:Player: Stopping
INFO:root:Recorder: Stopping
INFO:root:FAIL: Test frequency of 5035 is not in one of the bands with magnitude peaks
INFO:root:WARNING: Microphone seems broken, didn'

Related branches

Leon Liao (lihow731)
Changed in oem-priority:
importance: Undecided → High
assignee: nobody → Leon Liao (lihow731)
tags: added: test-case
Revision history for this message
Rex Tsai (chihchun) wrote :

The issue[1] is introduced by chagne for "bin:*.py: Fix all Flake8 errors". It seems the change is merged and released before it's even tested.

[1] plainbox-provider-checkbox - https://git.launchpad.net/plainbox-provider-checkbox/commit/?id=53a9dace03fea49a2de030e7cd1999155637b6ef

Rex Tsai (chihchun)
tags: added: oem-priority
Changed in plainbox-provider-checkbox:
milestone: none → 0.56.0
Changed in oem-priority:
status: New → In Progress
Changed in plainbox-provider-checkbox:
status: New → In Progress
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Lukas Waymann (meribold) wrote :

Currently audio/alsa_record_playback_automated and suspend/record_playback_after_suspend_auto almost always fail during SRU testing. I believe this bug is the cause of these failures. I'm not sure if there are other audio tests, or whether we are effectively unable to catch regressions related to audio playback and recording now. In case the latter is true, I would argue that a 0.55.1 plainbox-provider-checkbox point release with the fix for this bug is warranted.

Revision history for this message
Pierre Equoy (pieq) wrote :

Checked with:

networking/gateway_pingcheckbox-ng: 1.12.0rc1
checkbox-support: 0.49.0rc1
com.canonical.ce:oem: 1.0
certification-client: 0.44.0rc1
plainbox-provider-checkbox: 0.56.0rc1
plainbox-provider-resource-generic: 0.47.0rc1
plainbox-provider-tpm2: 1.15.0rc1

Can't reproduce the original issue when running the `audio_test.py` script on a laptop with 20.04 and the above Checkbox stack.

tags: added: cqa-verify
Leon Liao (lihow731)
Changed in oem-priority:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.