~pieq/plainbox-provider-checkbox:1968943-rework-max-resolution-job

Last commit made on 2022-06-15
Get this branch:
git clone -b 1968943-rework-max-resolution-job https://git.launchpad.net/~pieq/plainbox-provider-checkbox
Only Pierre Equoy can upload to this branch. If you are Pierre Equoy please log in for upload directions.

Branch merges

Branch information

Name:
1968943-rework-max-resolution-job
Repository:
lp:~pieq/plainbox-provider-checkbox

Recent commits

a028a44... by Pierre Equoy

Remove: graphics_modes_info.py script and related jobs

The graphics_modes_info.py script is used in two jobs that are not
called in any of our test plans. Moreover, since it uses xrandr, the
output might be incorrect on recent versions of Ubuntu (22.04+) using
Wayland as default.

73af3e7... by Pierre Equoy

Change: graphics/*_maximum_resolution_* compatible with X and Wayland

On Wayland, xrandr returns the current resolution as the maximum
resolution, even when it is not. For instance, if a laptop has a
3840x2160 screen but is currently set to 2560x1440, xrandr would
return 2560x1440 as the maximum available resolution.

Moreover, the python oneliner to check current resolution breaks on
recent versions of Gtk because Gdk.Screen has been deprecated.

Introduce a new script that:

- retrieves monitor(s) info from sysfs (port, max resolution, status,
etc.)
- uses up-to-date Gtk 3 methods to grab the current resolution and
scale factor for each connected monitors
- displays this information for tester to review
- compares data from sysfs and Gtk and returns an error if their data
does not match (so that the graphics/*_maximum_resolution_* job status
is automatically set to Passed or Failed depending of the outcome)

Update the graphics/*_maximum_resolution_* job to call this script.

LP: #1968943

3071461... by Ubuntu <email address hidden>

Merge #423627 from ~kissiel/plainbox-provider-checkbox:delay-zapperized-usb-manipulation

613db51... by Maciej Kisielewski

assign categories to the zapperized usb tests

ef59fb2... by Maciej Kisielewski

delay zapperized insertion/removal for 5s

Previously the command to connect or disconnect the USB device was sent
almost at the same time that removable_watcher started waiting for that
change to take place. This meant that there was a big chance for that
action to happen _before_ the test could observe the change.

This patch introduces a delay (with a background thread) that calls
Zapper after 5 seconds from starting the observation. The whole test is
programmed to wait for 20s, so the delay doesn't change the duration of
the test. It's also not some fixing-race-conditions-with-random-sleeps
kind of fix.

58eb482... by Ubuntu <email address hidden>

Merge #423556 from ~mreed8855/plainbox-provider-checkbox:remove_uvt

The kvm virtualization test using the uvtool has been deprecated. I have removed the remaining code.

04417fd... by Michael Reed

Removing the uvt-kvm test in jobs.pxu

Removing uvt-kvm in virtualization.py

92397e7... by Ubuntu <email address hidden>

Merge #420282 from ~mreed8855/plainbox-provider-checkbox:lxd-vm-virtualization_2

Adding a test to start and verify virtual machines using lxd. This is replacing the older MP

https://code.launchpad.net/~mreed8855/plainbox-provider-checkbox/+git/plainbox-provider-checkbox/+merge/416851

This is related to the following MP:

https://code.launchpad.net/~mreed8855/plainbox-provider-certification-server/+git/plainbox-provider-certification-server/+merge/420291

6f10dd7... by Yao Wei

Merge branch 'fix-ssid-colon'

MP: https://code.launchpad.net/~medicalwei/plainbox-provider-checkbox/+git/plainbox-provider-checkbox/+merge/413392

d4a81eb... by Ubuntu <email address hidden>

Merge #421208 from ~kissiel/plainbox-provider-checkbox:zapperized-usb-insert-and-removal