Skip to content

Commit 7b1a7de

Browse files
committed
Disable criu tests in Travis CI
Temporarily disable criu tests until the 5.0.0 CI kernel issue is resolved. Also update criu to v3.13 Signed-off-by: Phil Estes <[email protected]>
1 parent ff48f57 commit 7b1a7de

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ install:
5959
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-runc ; fi
6060
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-cni ; fi
6161
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-critools ; fi
62-
- if [ "$TRAVIS_GOOS" = "linux" ]; then wget https://github.com/checkpoint-restore/criu/archive/v3.12.tar.gz -O /tmp/criu.tar.gz ; fi
62+
- if [ "$TRAVIS_GOOS" = "linux" ]; then wget https://github.com/checkpoint-restore/criu/archive/v3.13.tar.gz -O /tmp/criu.tar.gz ; fi
6363
- if [ "$TRAVIS_GOOS" = "linux" ]; then tar -C /tmp/ -zxf /tmp/criu.tar.gz ; fi
64-
- if [ "$TRAVIS_GOOS" = "linux" ]; then cd /tmp/criu-3.12 && sudo make install-criu ; fi
64+
- if [ "$TRAVIS_GOOS" = "linux" ]; then cd /tmp/criu-3.13 && sudo make install-criu ; fi
6565
- cd $TRAVIS_BUILD_DIR
6666

6767
before_script:
@@ -83,9 +83,9 @@ script:
8383
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo make install ; fi
8484
- if [ "$TRAVIS_GOOS" = "linux" ]; then make coverage ; fi
8585
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make root-coverage ; fi
86-
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration ; fi
86+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration EXTRA_TESTFLAGS=-no-criu ; fi
8787
# Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
88-
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
88+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration EXTRA_TESTFLAGS=-no-criu ; fi
8989
- |
9090
if [ "$TRAVIS_GOOS" = "linux" ]; then
9191
sudo mkdir -p /etc/containerd

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ GO_GCFLAGS=$(shell \
111111
BINARIES=$(addprefix bin/,$(COMMANDS))
112112

113113
# Flags passed to `go test`
114-
TESTFLAGS ?= $(TESTFLAGS_RACE)
114+
TESTFLAGS ?= $(TESTFLAGS_RACE) $(EXTRA_TESTFLAGS)
115115
TESTFLAGS_PARALLEL ?= 8
116116

117117
.PHONY: clean all AUTHORS build binaries test integration generate protos checkprotos coverage ci check help install uninstall vendor release mandir install-man genman

0 commit comments

Comments
 (0)