From 4a8062990f33f33b3972feb0a7f2abe55bae16c7 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Mon, 11 Mar 2019 17:00:48 -0700 Subject: [PATCH] gvisor/kokoro: don't downgrade libseccomp It isn't required with a new vm image. PiperOrigin-RevId: 237915203 Change-Id: I813e7f1801d0766cec598413718e5ddd4c3d8cdf --- kokoro/run_tests.sh | 5 +++-- 1 file 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