summaryrefslogtreecommitdiffhomepage
path: root/kokoro
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-03-11 17:00:48 -0700
committerShentubot <shentubot@google.com>2019-03-11 17:01:49 -0700
commit4a8062990f33f33b3972feb0a7f2abe55bae16c7 (patch)
treed7ed0b673d68524a5a95a103271fb9d55f81f8ff /kokoro
parentbc9b979b9412ad5852872c1a9bee462f73d2455e (diff)
gvisor/kokoro: don't downgrade libseccomp
It isn't required with a new vm image. PiperOrigin-RevId: 237915203 Change-Id: I813e7f1801d0766cec598413718e5ddd4c3d8cdf
Diffstat (limited to 'kokoro')
-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