summaryrefslogtreecommitdiffhomepage
path: root/kokoro/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/run_tests.sh')
-rwxr-xr-xkokoro/run_tests.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index f0195a5a4..c52bdfc1b 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -44,6 +44,9 @@ use_bazel.sh latest
which bazel
bazel version
+# Load the kvm module
+sudo -n -E modprobe kvm
+
# Bazel start-up flags for RBE.
BAZEL_RBE_FLAGS=(
"--bazelrc=${WORKSPACE_DIR}/.bazelrc_rbe"
@@ -99,9 +102,7 @@ install_runtime() {
# Install dependencies for the crictl tests.
install_crictl_test_deps() {
# Install containerd.
- # libseccomp2 needs to be downgraded in order to install libseccomp-dev.
sudo -n -E apt-get update
- sudo -n -E apt-get install -y --force-yes libseccomp2=2.1.1-1ubuntu1~trusty5
sudo -n -E apt-get install -y btrfs-tools libseccomp-dev
# go get will exit with a status of 1 despite succeeding, so ignore errors.
go get -d github.com/containerd/containerd || true