~sylvain-pineau/plainbox-provider-checkbox:fix-1854862

Last commit made on 2020-10-22
Get this branch:
git clone -b fix-1854862 https://git.launchpad.net/~sylvain-pineau/plainbox-provider-checkbox
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
fix-1854862
Repository:
lp:~sylvain-pineau/plainbox-provider-checkbox

Recent commits

c09ca46... by Sylvain Pineau

submission:raw_devices_dmi_json: Add the boot mode info to the BIOS dict

This new property comes from inxi which can take the following values:
  - BIOS
  - UEFI
  - UEFI [Legacy]
The last one is legacy BIOS boot mode in a system using UEFI but booted as BIOS/Legacy.
It is added to the existing json directly into the BIOS dict.

Fixes: lp:1854862

3aff1bc... by PMR <pmr@pmr-lander>

Merge #392119 from ~iamerin-c/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:fix-1893161

fix lp:1893161 xrandr_screens_after_suspend.tar.gz_auto

f360409... by Erin Chen

fix lp:1893161 xrandr_screens_after_suspend.tar.gz_auto

27531c3... by PMR <pmr@pmr-lander>

Merge #387916 from ~lihow731/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:master

Fix the "Unable to control recording volume..." bug

eaf611e... by Leon Liao

bin/audio_test.py: Fix the "Unable to control recording volume..." bug

Fix:
1. Remove the method parameter from PAVolumeController.__init__():
 Assum PAVolumeController class only be used in this audio_test.py.
2. Don't check the return value of self.method(command):
 In PAVolumeController._pactl_output(), when failed to execute the pactl command the exception will be thrown.
3. When pactl command fail (after retry 3 times), let audio_test stop.

Original issue:
In PAVolumeController class:
In set_volume() and mute(), the self.method(command) returns a zero-length string.
So, the set_volume() and mute() always return False. Then, in get_volume(), the self._volume always won't be set.
This is the root cause of the "Unable to control recording volume..."
issue.

More detail:
1. There is no ouptu from the `pactl set-souerce-volume ...` command.
2. The PAVolumeController._pactl_output fucntion will return
subprocess.check_output(). The subprocess.check_output function return the output of "command".

LP: #1890526

231ee99... by PMR <pmr@pmr-lander>

Merge #391931 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1815867

stress-ng: Run cpu and memory tests using systemd-inhibit

bc44637... by Sylvain Pineau

stress: Run stress-ng cpu and memory tests using systemd-inhibit

This runs stress-ng and inhibits system sleeping, shutdown and idle while
doing so.

Fixes lp:1815867

87b7dcd... by PMR <pmr@pmr-lander>

Merge #391917 from ~sylvain-pineau/plainbox-provider-checkbox:stress_s3_arm_rtcwake

45d62af... by Sylvain Pineau

stress:s3s4: Fallback to rtcwake if fwts s3 is not supported (e.g on arm)

b5c24a9... by PMR <pmr@pmr-lander>

Merge #391804 from ~jocave/plainbox-provider-checkbox:reapply-wireless-net-if-mgmt