From 992d5cadfbeee52ac6a781cb68b9ec888a57f865 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 14 Apr 2020 16:18:15 -0700 Subject: [PATCH] travis: enable fs2 driver test on fedora Run in the same environment as systemd tests. Disable CRIU tests because: - they all fail with cgroup v2; - CRIU v3.14 is required and it's not yet released, and rebuilding it from sources with patches applied (like it is currently done in Dockerfile) is too much work. Signed-off-by: Kir Kolyshkin --- .travis.yml | 2 ++ tests/integration/checkpoint.bats | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 84213eadb28..34e63ce80af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,8 @@ matrix: - sudo ssh default sudo podman run --privileged --cgroupns=private -v /lib/modules:/lib/modules:ro test make localunittest # cgroupv2+systemd: test on vagrant host itself as we need systemd - sudo ssh default -t 'cd /vagrant && sudo make localintegration RUNC_USE_SYSTEMD=yes' + # same setup but with fs2 driver instead of systemd + - sudo ssh default -t 'cd /vagrant && sudo make localintegration' allow_failures: - go: tip diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index 87696df6ee9..6c11d083eb1 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -6,6 +6,8 @@ function setup() { if [[ -n "${RUNC_USE_SYSTEMD}" ]] ; then skip "CRIU test suite is skipped on systemd cgroup driver for now." fi + # All checkpoint tests are currently failing on v2 + requires cgroups_v1 teardown_busybox setup_busybox