From bf25c38098ff0b66d3584069aee7caefbb2be0f3 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 11 Nov 2020 14:21:21 -0800 Subject: [PATCH] automatically try install kvm for kvm2 tests --- hack/jenkins/linux_integration_tests_kvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/jenkins/linux_integration_tests_kvm.sh b/hack/jenkins/linux_integration_tests_kvm.sh index 65038e0cdb..75ed7375f7 100755 --- a/hack/jenkins/linux_integration_tests_kvm.sh +++ b/hack/jenkins/linux_integration_tests_kvm.sh @@ -36,4 +36,8 @@ EXTRA_TEST_ARGS="-gvisor" mkdir -p cron && gsutil -qm rsync "gs://minikube-builds/${MINIKUBE_LOCATION}/cron" cron || echo "FAILED TO GET CRON FILES" sudo install cron/cleanup_and_reboot_Linux.sh /etc/cron.hourly/cleanup_and_reboot || echo "FAILED TO INSTALL CLEANUP" +sudo apt-get -y install --no-install-recommends qemu-system libvirt-clients libvirt-daemon-system +sudo adduser jenkins libvirt + + source ./common.sh