Hector CAO has proposed merging hwcert-jenkins-jobs:dev-kivu-update-job into hwcert-jenkins-jobs:master.
Commit message: Update for kivu project - Teardown cleanup - Update system provisioning to Ubuntu 22.04.2 - Update according to latest release of checkbox-kivu-provider KIVU-108 Requested reviews: hwcert-jenkins (hwcert-jenkins) For more details, see: https://code.launchpad.net/~hwcert-jenkins/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/438932 -- Your team hwcert-jenkins is requested to review the proposed merge of hwcert-jenkins-jobs:dev-kivu-update-job into hwcert-jenkins-jobs:master.
diff --git a/jobs/kivu/checkbox.conf b/jobs/kivu/checkbox.conf index 13ae237..ec98b3e 100644 --- a/jobs/kivu/checkbox.conf +++ b/jobs/kivu/checkbox.conf @@ -14,5 +14,8 @@ [ui] type = silent + [manifest] + com.canonical.certification::has_camera = true + [transport:c3] secure_id = \$HEXR_DEVICE_SECURE_ID diff --git a/jobs/kivu/run-kivu.sh b/jobs/kivu/run-kivu.sh index 4dd109a..5d456ed 100644 --- a/jobs/kivu/run-kivu.sh +++ b/jobs/kivu/run-kivu.sh @@ -9,7 +9,7 @@ cat > job.yaml <<EOF global_timeout: 18000 output_timeout: 1200 provision_data: - distro: desktop-22-04-uefi + distro: desktop-22-04-2-uefi test_data: {test_data} test_cmds: | @@ -42,14 +42,21 @@ cat > job.yaml <<EOF mkdir -p artifacts cp checkbox-launcher artifacts + # stop auto-upgrades + _run sudo systemctl stop unattended-upgrades.service + _run sudo systemctl stop apt-daily-upgrade.service + echo "preparing the system..." _run sudo add-apt-repository -y universe _run sudo apt-get -qq update - _run sudo apt-get -qq install -y openssh-server pastebinit intel-gpu-tools intel-media-va-driver-non-free gstreamer1.0-vaapi gstreamer1.0-tools vainfo + _run sudo apt-get -qq install -y openssh-server pastebinit intel-gpu-tools radeontop intel-media-va-driver-non-free gstreamer1.0-vaapi gstreamer1.0-tools vainfo mpv gnome-screensaver ydotool + _run sudo add-apt-repository -y ppa:kivuteam/ppa + _run sudo apt-get -qq update + _run sudo apt-get -qq install -y gfxi _run sudo apt-get -qq upgrade -y _run sudo snap install --channel beta/hwacc chromium _run sudo snap install checkbox22 - _run sudo snap install checkbox-kivu-classic --classic + _run sudo snap install --channel latest/edge checkbox-kivu-classic --classic echo Starting # DISPLAY=:0 to make sure graphic test jobs were tested expectedly (not necessary in remote) @@ -66,6 +73,18 @@ cat > job.yaml <<EOF mv submission.json artifacts echo "Files in artifacts:" ls artifacts + + # cleanup (do not remove everything because some package can be already here ..) + _run sudo snap remove checkbox-kivu-classic + _run sudo snap remove checkbox22 + _run sudo snap remove chromium + _run sudo apt-get remove -y gfxi + _run sudo add-apt-repository -d -y ppa:kivuteam/ppa + _run sudo apt-get remove -y pastebinit intel-gpu-tools radeontop intel-media-va-driver-non-free gstreamer1.0-vaapi gstreamer1.0-tools mpv gnome-screensaver ydotool + + # restart auto-upgrades + _run sudo systemctl start unattended-upgrades.service + _run sudo systemctl start apt-daily-upgrade.service EOF #Remove previous venv
-- Mailing list: https://launchpad.net/~canonical-hw-cert Post to : canonical-hw-cert@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-hw-cert More help : https://help.launchpad.net/ListHelp