canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #85340
Re: [Merge] hwcert-jenkins-jobs:dev-kivu-update-job into hwcert-jenkins-jobs:master
thanks ! see below
Diff comments:
> diff --git a/jobs/kivu/run-kivu.sh b/jobs/kivu/run-kivu.sh
> index 4dd109a..559336c 100644
> --- a/jobs/kivu/run-kivu.sh
> +++ b/jobs/kivu/run-kivu.sh
> @@ -42,14 +42,22 @@ 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
thanks for the suggestion, that is great, right now, i would like to restart the upgrade at the end of the tests (see comment below - we will share some no-provisionable devices with cert team) so i will try not to remove the package completely, does that make sense for you ?
> +
> 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 apt-get -qq install -y wl-clipboard
> + _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 +74,19 @@ 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 wl-clipboard
> + _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
you are right, the reason is there is just a temporary need of test cleanup because we will do tests on no-provisionable devices that are shared with the cert team,
> EOF
>
> #Remove previous venv
--
https://code.launchpad.net/~hwcert-jenkins/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/438932
Your team hwcert-jenkins is subscribed to branch hwcert-jenkins-jobs:master.
References