Note that if the target is jammy, the remote has to be using jammy to run the remote test, otherwise rpyc is not able to control the remote checkbox-cli session.
The following is the excerpt running:
checkbox-run-plan -b -r [ip] pc-sanity-smoke-test-no-dgpu-switching
on a jammy container.
You can then run Checkbox by running:
- checkbox-cli (textual user interface)
More info: https://launchpad.net/~hardware-certification/+archive/ubuntu/public
Adding repository.
Found existing deb entry in /etc/apt/sources.list.d/hardware-certification-ubuntu-public-jammy.list
Adding deb entry to /etc/apt/sources.list.d/hardware-certification-ubuntu-public-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/hardware-certification-ubuntu-public-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/hardware-certification-ubuntu-public-jammy.list
Adding key to /etc/apt/trusted.gpg.d/hardware-certification-ubuntu-public.gpg with fingerprint F0CE4906AAFDCDA039F7810E101B58111FEADE10
Hit:1 http://tw.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://tw.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://tw.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 https://ppa.launchpadcontent.net/hardware-certification/public/ubuntu jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/oem-solutions-group/pc-sanity-daily/ubuntu jammy InRelease
Reading package lists... Done
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'deb https://ppa.launchpadcontent.net/oem-solutions-group/pc-sanity-daily/ubuntu/ jammy main'
More info: https://launchpad.net/~oem-solutions-group/+archive/ubuntu/pc-sanity-daily
Adding repository.
Found existing deb entry in /etc/apt/sources.list.d/oem-solutions-group-ubuntu-pc-sanity-daily-jammy.list
Adding deb entry to /etc/apt/sources.list.d/oem-solutions-group-ubuntu-pc-sanity-daily-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/oem-solutions-group-ubuntu-pc-sanity-daily-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/oem-solutions-group-ubuntu-pc-sanity-daily-jammy.list
Adding key to /etc/apt/trusted.gpg.d/oem-solutions-group-ubuntu-pc-sanity-daily.gpg with fingerprint 7B85BB3BB81D9DAFF9F06250B52B913A41086767
Hit:1 http://tw.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://tw.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://tw.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 https://ppa.launchpadcontent.net/hardware-certification/public/ubuntu jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/oem-solutions-group/pc-sanity-daily/ubuntu jammy InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
checkbox-ng is already the newest version (1.16.0+git202204131847+pkg182~ubuntu22.04.1).
plainbox-provider-pc-sanity is already the newest version (1.0.2-0~202204110804~ubuntu22.04.1).
The following packages were automatically installed and are no longer required:
dmraid gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 kpartx kpartx-boot libdebian-installer4 libdmraid1.0.0.rc16 libtimezonemap-data libtimezonemap1 python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
Package: linux-tools-5.17.0-1003-oem
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 238
Maintainer: Ubuntu Kernel Team <email address hidden>
Architecture: amd64
Source: linux-oem-5.17
Version: 5.17.0-1003.3
Depends: linux-oem-5.17-tools-5.17.0-1003
Description: Linux kernel version specific tools for version 5.17.0-1003
This package provides the architecture dependant parts for kernel
version locked tools (such as perf and x86_energy_perf_policy) for
version 5.17.0-1003 on
64 bit x86.
please reboot , then you can run checkbox with sru jobs by /usr/sbin/checkbox-run-plain ${plan under com.canonical.certification::}
or \'/usr/sbin/checkbox-run-plain --help\' for detail usage
Connection to [ip] closed.
Note that if the target is jammy, the remote has to be using jammy to run the remote test, otherwise rpyc is not able to control the remote checkbox-cli session.
The following is the excerpt running: smoke-test- no-dgpu- switching
checkbox-run-plan -b -r [ip] pc-sanity-
on a jammy container.
Running command: ssh -t -o StrictHostKeyCh ecking= no ubuntu@[ip] sudo /tmp/prepare- checkbox- sanity --init-remote /ppa.launchpadc ontent. net/hardware- certification/ public/ ubuntu/ jammy main'
Repository: 'deb https:/
Description:
Hardware certification packages.
To install Checkbox testing suite, please do the following:
sudo add-apt-repository ppa:hardware- certification/ public provider- resource- generic plainbox- provider- certification- client plainbox- provider- checkbox
sudo apt-get update
sudo apt-get install checkbox-ng plainbox-
You can then run Checkbox by running: /launchpad. net/~hardware- certification/ +archive/ ubuntu/ public sources. list.d/ hardware- certification- ubuntu- public- jammy.list sources. list.d/ hardware- certification- ubuntu- public- jammy.list sources. list.d/ hardware- certification- ubuntu- public- jammy.list sources. list.d/ hardware- certification- ubuntu- public- jammy.list trusted. gpg.d/hardware- certification- ubuntu- public. gpg with fingerprint F0CE4906AAFDCDA 039F7810E101B58 111FEADE10 tw.archive. ubuntu. com/ubuntu jammy InRelease tw.archive. ubuntu. com/ubuntu jammy-updates InRelease tw.archive. ubuntu. com/ubuntu jammy-backports InRelease /dl.google. com/linux/ chrome/ deb stable InRelease security. ubuntu. com/ubuntu jammy-security InRelease /ppa.launchpadc ontent. net/hardware- certification/ public/ ubuntu jammy InRelease /ppa.launchpadc ontent. net/oem- solutions- group/pc- sanity- daily/ubuntu jammy InRelease /ppa.launchpadc ontent. net/oem- solutions- group/pc- sanity- daily/ubuntu/ jammy main' /launchpad. net/~oem- solutions- group/+ archive/ ubuntu/ pc-sanity- daily sources. list.d/ oem-solutions- group-ubuntu- pc-sanity- daily-jammy. list sources. list.d/ oem-solutions- group-ubuntu- pc-sanity- daily-jammy. list sources. list.d/ oem-solutions- group-ubuntu- pc-sanity- daily-jammy. list sources. list.d/ oem-solutions- group-ubuntu- pc-sanity- daily-jammy. list trusted. gpg.d/oem- solutions- group-ubuntu- pc-sanity- daily.gpg with fingerprint 7B85BB3BB81D9DA FF9F06250B52B91 3A41086767 tw.archive. ubuntu. com/ubuntu jammy InRelease tw.archive. ubuntu. com/ubuntu jammy-updates InRelease tw.archive. ubuntu. com/ubuntu jammy-backports InRelease /dl.google. com/linux/ chrome/ deb stable InRelease security. ubuntu. com/ubuntu jammy-security InRelease /ppa.launchpadc ontent. net/hardware- certification/ public/ ubuntu jammy InRelease /ppa.launchpadc ontent. net/oem- solutions- group/pc- sanity- daily/ubuntu jammy InRelease git202204131847 +pkg182~ ubuntu22. 04.1). provider- pc-sanity is already the newest version (1.0.2- 0~202204110804~ ubuntu22. 04.1). timezonemap- 1.0 gir1.2-xkl-1.0 kpartx kpartx-boot libdebian- installer4 libdmraid1.0.0.rc16 libtimezonemap-data libtimezonemap1 python3-icu python3-pam rdate 5.17.0- 1003-oem 5.17-tools- 5.17.0- 1003 perf_policy) for checkbox- run-plain ${plan under com.canonical. certification: :} sbin/checkbox- run-plain --help\' for detail usage
- checkbox-cli (textual user interface)
More info: https:/
Adding repository.
Found existing deb entry in /etc/apt/
Adding deb entry to /etc/apt/
Found existing deb-src entry in /etc/apt/
Adding disabled deb-src entry to /etc/apt/
Adding key to /etc/apt/
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 https:/
Hit:5 http://
Hit:6 https:/
Hit:7 https:/
Reading package lists... Done
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'deb https:/
More info: https:/
Adding repository.
Found existing deb entry in /etc/apt/
Adding deb entry to /etc/apt/
Found existing deb-src entry in /etc/apt/
Adding disabled deb-src entry to /etc/apt/
Adding key to /etc/apt/
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 https:/
Hit:5 http://
Hit:6 https:/
Hit:7 https:/
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
checkbox-ng is already the newest version (1.16.0+
plainbox-
The following packages were automatically installed and are no longer required:
dmraid gir1.2-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
Package: linux-tools-
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 238
Maintainer: Ubuntu Kernel Team <email address hidden>
Architecture: amd64
Source: linux-oem-5.17
Version: 5.17.0-1003.3
Depends: linux-oem-
Description: Linux kernel version specific tools for version 5.17.0-1003
This package provides the architecture dependant parts for kernel
version locked tools (such as perf and x86_energy_
version 5.17.0-1003 on
64 bit x86.
please reboot , then you can run checkbox with sru jobs by /usr/sbin/
or \'/usr/
Connection to [ip] closed.