System sound will turn to 0% after execute sound related test cases.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Pierre Equoy |
Bug Description
Plainbox version: 0.22.1 and 0.22.2
Steps:
1. Install plainbox 0.22.1 or plainbox 0.22.2 on system.
2. Execute 'checkbox-cli'.
3. Select OME testplan, such as 'Sutton full test – 14.04'.
4. Adjust the volume to 100%.
5. Run then testplan and go to test case 'Audio/
6. Verify the volume in indicator.
Expected result:
The test case is pass and the volume is 100%
Actual result:
The test case is pass, but the volume is 0%
Notes:
Though the test case is pass, the volume is 0%. It will lead to the rest of audio test case failed after let the volume maintain the value '0%'. So if we wan to get the rest of audio test case 'PASS', we have to adjust volume value manually after execute every audio test case.
Further analyze:
-------
Adjust the volume to 100%, execute command '$ pactl list | less',
Sink #0
Volume: 0: 100% 1: 100%
After run test case 'Audio/
Sink #0
Volume: 0: 0% 1: 0%
-------
adjust the volume to 98%, execute command '$ pactl list | less',
Sink #0
Volume: 0: 98% 1: 98%
After run test case 'Audio/
Sink #0
Volume: 0: 8% 1: 8%
-------
Conclusion, after run a audio related test case, the value of Volume in 'Sink #0' get the prev-value's unit position, not the totally.
Related branches
- Po-Hsu Lin: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcheckbox-support/checkbox_support/scripts/audio_settings.py (+1/-1)
Changed in plainbox-provider-checkbox: | |
status: | Confirmed → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
Confirmed with plainbox 0.22.2.
1. Set volume to 64% playback_ auto
2. run:
plainbox run -i .*audio/
3. Check volume
→ Volume is set to 4%
It looks like plainbox “truncates” the volume value and restores it with the bad value.