All monitor audio test cases are failed when the audio of the test machine is DMIC.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Bin Li |
Bug Description
[Summary]
All monitor audio test cases are failed when the audio of the test machine is DMIC.
The issue affects audio related test cases:
[Steps to reproduce]
1. Install OEM image on Jazz2.0-2
2. Login system and install checkbox
3. Execute checkbox and select 'sutton-full-test' to run
4. Select audio/1_
5. Verify the result
[Expected result]
All test cases should be passed
[Actual result]
All test cases are failed
Although the cases are failed, but actually, we can hear the test 'tone' from monitors.
The monitor audio works normally, just the test cases are failed.
INFO:==
Traceback (most recent call last):
File "/tmp/nest-
sys.
File "/usr/lib/
set_
File "/usr/lib/
card, profile = _guess_
File "/usr/lib/
for record in parse_pactl_
File "/usr/lib/
return Document.
File "/usr/lib/
raise exc
File "/usr/lib/
se._parse( instring, loc )
File "/usr/lib/
value = self._parseNoCa
File "/usr/lib/
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/
value = self._parseNoCa
File "/usr/lib/
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/
raise ParseException(
pyparsing.
ERROR:Failed to find status for device: hdmi
Attempting to initialize Gstreamer pipeline: audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink
Pipeline initialized, now starting playback.
INFO:==
[Failure rate]
100%
[Note]
The issue can reproduce on all DMIC audio platforms.
Please refer to Jazz2.0-2 and Ratchet2.0-2 sosreports in attachments.
[Additional information]
SKU:
Image: sutton-
Manifest: canonical-
system-
system-
bios-version: N2YET13W (1.02 )
CPU: Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz (8x)
GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9b41] (rev 02)
kernel-version: 5.0.0-1047-oem-osp1
Related branches
- Sylvain Pineau (community): Approve
- Jonathan Cave: Pending requested
- Checkbox Developers: Pending requested
-
Diff: 929 lines (+827/-5)7 files modifiedcheckbox_support/parsers/pactl.py (+2/-2)
checkbox_support/parsers/tests/pactl_data/cards-desktop-bionic-x13.txt (+41/-0)
checkbox_support/parsers/tests/pactl_data/desktop-bionic-x13.txt (+685/-0)
checkbox_support/parsers/tests/pactl_data/sinks-desktop-bionic-x13.txt (+50/-0)
checkbox_support/parsers/tests/test_pactl.py (+32/-1)
checkbox_support/scripts/audio_settings.py (+2/-2)
checkbox_support/scripts/tests/test_audio_settings.py (+15/-0)
- Sylvain Pineau (community): Approve
- Jonathan Cave: Pending requested
- Checkbox Developers: Pending requested
-
Diff: 15 lines (+2/-2)1 file modifiedbin/gst_pipeline_test (+2/-2)
Changed in plainbox-provider-checkbox: | |
status: | New → In Progress |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.54.0 |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Confirmed → Fix Released |
We did a quick dig, found the pactl.py crash, it will parse the result of 'pactl list', now with DMIC support some format was changed from 'pactl list', so the script crash.