~checkbox-dev/checkbox:fix-removable-partition-resource

Last commit made on 2023-01-31
Get this branch:
git clone -b fix-removable-partition-resource https://git.launchpad.net/~checkbox-dev/checkbox

Branch merges

Branch information

Name:
fix-removable-partition-resource
Repository:
lp:~checkbox-dev/checkbox

Recent commits

9952628... by Sylvain Pineau

Stop listing partitions if they contain the OS (root mountpoint / and /boot)

Use the udev parser special function find_pkname_is_root_mountpoint() to
filter out partitions if the corresponding media is actually the from where
the OS is running from ("/" and "/boot").

a0434fa... by Sylvain Pineau

Bump acpica-tools part tag to R10_20_22 (#320)

9556c01... by Sylvain Pineau

Fix: starting with snapd 2.59, systemctl calls all turn into no-ops (chroot env) (#316)

Workaround for https://bugs.launchpad.net/snapd/+bug/2003955
Setting SYSTEMD_IGNORE_CHROOT=1 helps to select the correct restart strategy.

Ref: https://systemd.io/ENVIRONMENT/

9250331... by Sylvain Pineau

Add new wireless jobs to check the WPA3 standard (#313)

* Add new wireless jobs to check the WPA3 standard

* Add AX SSID/PSK info for both WPA and WPA3 standards to checkbox-snap config_vars

9533289... by Sylvain Pineau

Remove IPDT tests from certification test plans (#318)

788a96f... by mreed8855 <email address hidden>

Adding additional support for Sapphire Rapids cpu's 0x806f8 (#309)

42cfe56... by Sylvain Pineau

Fix Morris Doctest (compliance with python3.11) (#311)

64f5c5e... by Sylvain Pineau

Update ppa installation commands (#302)

* Update ppa installation commands

Installing canonical-certification-client or canonical-certification-server is enough to get the full stack of dependencies.
Moreover the old commands were still referring to the plainbox-prefixed package names.

* Remove mention of checkbox-provider-certification-client in the install steps

f140160... by Yao Wei

bin:audio_test.py: use `pactl info` to get default source/sink in pactl (#10)

Get default source/sink from `pactl info` than manually parse through
source/sink list.

Signed-off-by: Yao Wei (魏銘廷) <email address hidden>

Signed-off-by: Yao Wei (魏銘廷) <email address hidden>

8af7c2d... by Pierre Equoy

Revamp Metabox Source Container (formerly known as Venv Container) (#305)

* Rework the Source Container Machine

The ContainerVenvMachine class used python virtual environments to
install Checkbox inside a container. It is renamed
ContainerSourceMachine and now deploys Checkbox directly into the
container using pip.

It now handles the creation of a systemd service, so that the service
container can be restarted, it will become reachable as soon as the
container is up.

It also copies over the following providers, so they can be used in
scenarios:

- base
- resource
- certification-client

Note that since Checkbox is now a monorepo, the `uri` parameter of the
configuration file has to point to the root of the Checkbox monorepo and
not to the checkbox-ng directory.

The configuration to use the source container is:

configuration = {
    'local': {
        'origin': 'source',
        'uri': '/path/to/checkbox',
        'releases': ['focal', 'jammy'],
    },
    'remote': {
        'origin': 'source',
        'uri': '/path/to/checkbox',
        'releases': ['focal'],
    },
    'service': {
        'origin': 'source',
        'uri': '/path/to/checkbox',
        'releases': ['focal'],
    },
}

* Add debugging info to Metabox

* Remove unnecessary parentheses in some Metabox modules

* Add jq as a dependency

jq is required for some JSON attachment jobs.

* Exit with error message if pylxd cannot create a client

* Send content of service directly in the container

Use textwrap.dedent() to prepare the content of the service file in a
more readable way, and put this content into a file directly instead of
relying on a bash command to avoid having to deal with escaping special
characters.

* Pass exception message (if any) when ClientConnectionFailed raised