~checkbox-dev/checkbox:fix-56-manifest-graphics-ports

Last commit made on 2022-12-26
Get this branch:
git clone -b fix-56-manifest-graphics-ports https://git.launchpad.net/~checkbox-dev/checkbox

Branch merges

Branch information

Name:
fix-56-manifest-graphics-ports
Repository:
lp:~checkbox-dev/checkbox

Recent commits

9836e57... by Pierre Equoy

Remove display resource job

This job was not reliable since it was based on heuristics that often
failed, especially on 22.04.

Replaced by manual manifest entries that are more accurate.

4939ddf... by Pierre Equoy

Use graphics ports manifest entries to decide whether jobs should be run

Instead of relying on the display resource job (that relies on
xrandr/gnome-randr to determine heuristically support for different
connectors), use manifest entries to determine if the monitor and audio
jobs should be run at all. Since manifest entries are decided manually
at the beginning of a test session, it will be more accurate.

Some very old jobs (monitor/{index}_svideo_{product_slug} and
monitor/{index}_rca_{product_slug}) that are not used in our current
test plans are kept, but the requirement on the display resource job is
removed so the display resource job can be removed entirely.

In addition, now that there is a dedicated manifest to handle video
output through the USB Type-C connector, a lot of jobs are updated to use
it instead of the older `has_usb_type_c`.

Fix #56

c26633f... by Pierre Equoy

Update jobs requiring `has_usbc_data` manifest

646c948... by Pierre Equoy

Split USB-C manifest entry

Some devices under test (DUT) have one or more USB Type-C connectors.
Some of these connectors offer direct HDMI/DisplayPort outputs if user
has an appropriate cables, while for others, a USB Type-C to
HDMI/DisplayPort adapter can be used to connect the DUT to an external
monitor.

For these cases, a new manifest (`has_usbc_video`) is created.

The old one, `has_usb_type_c`, is renamed `has_usbc_data` as it's used
for all tests related to data, be it USB drives, Ethernet adapters or
HID (keyboard, etc.).

7c19081... by Pierre Equoy

Add manifest entries for graphics ports

3b51519... by Pierre Equoy

metabox: fix container creation (and other various fixes) (#272)

* metabox: add origin in string representation

MachineConfig.__str__() is used as the container's name when creating
it. Some scenarios could use the same role and alias, but different
origin. In that case, metabox would fail when trying to create a
container that already exists.

Adding the origin to the MachineConfig string representation prevents
this.

* metabox: change origin naming from `classic_snap` to `classic-snap`

LXC container name can only include alphanumeric characters and
hyphens.[1]

Since origin is used in the MachineConfig string representation, and
since this is in turn used when creating the container, the underscore
is replaced with an hyphen.

[1]
https://linuxcontainers.org/lxd/docs/master/reference/instance_properties/#instance-properties

* metabox: change default snap name to `checkbox`

checkbox-snappy and checkbox-snappy-classic snaps have been deprecated
in favor of the checkbox snap.

* metabox: follow branches and snap naming convention for the checkbox snap

The snap track map for the classic snap now follows the release number
(e.g '20.04' instead of '20').

There are also a new track and a new snap for Jammy.

* metabox: add debug logging info during container init

* metabox: typo

7702717... by Pierre Equoy

metabox: Change container creation timeout (#271)

69f235c... by Paolo Gentili

Edid resources (#265)

* Run EDID only if zapper resources reports its availability
* Run HDMI-hotplug only if zapper resources reports its availability

09293e9... by clairlin53 <email address hidden>

Add manifest to detect the job that supports bluetooth. (#268)

f581d23... by Pierre Equoy

Update Checkbox documentation section about side-loading providers (#269)