[CRIU] [PATCH 2/2] travis: don't run cgroup tests

Tycho Andersen tycho.andersen at canonical.com
Mon Feb 29 15:56:59 PST 2016


Travis uses cpusets in such a way [1] that we can't actually write to
cpuset.cpu_exclusive ever, so none of these tests will work. They'll still
work in jenkins, though, so disabling them is probably ok.

Closes #118

[1]: https://github.com/travis-ci/worker/blob/master/backend/docker.go#L66

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
CC: Andrew Vagin <avagin at virtuozzo.com>
---
 scripts/travis-tests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/travis-tests b/scripts/travis-tests
index d764d2c..fc7d050 100755
--- a/scripts/travis-tests
+++ b/scripts/travis-tests
@@ -8,4 +8,4 @@ apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobu
 chmod a+x $HOME
 make
 make -C test/zdtm
-python test/zdtm.py run -a -f h,ns
+python test/zdtm.py run -a -f h,ns -x 'cgroup*'
-- 
2.6.4



More information about the CRIU mailing list