Code review comment for ~medicalwei/pc-enablement/+git/prepare-checkbox-sanity:feat/init-remote-change-ppa

Revision history for this message
Yao Wei (medicalwei) wrote :

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.

Running command: ssh -t -o StrictHostKeyChecking=no ubuntu@[ip] sudo /tmp/prepare-checkbox-sanity --init-remote
Repository: 'deb https://ppa.launchpadcontent.net/hardware-certification/public/ubuntu/ jammy main'
Description:
Hardware certification packages.

To install Checkbox testing suite, please do the following:

sudo add-apt-repository ppa:hardware-certification/public
sudo apt-get update
sudo apt-get install checkbox-ng plainbox-provider-resource-generic plainbox-provider-certification-client plainbox-provider-checkbox

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.

« Back to merge proposal