Commit 229a6edf authored by Sergey Bronnikov's avatar Sergey Bronnikov Committed by Pavel Emelyanov

jenkins: change jenkins script to run full set of tests

add options --keep-going and --report (if it was absent)
to run full testrun with report creation
Signed-off-by: 's avatarSergey Bronnikov <sergeyb@openvz.org>
Acked-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 1e0bc96a
......@@ -2,6 +2,6 @@
set -e
source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run --all -f best -x maps04 -x cgroup02 --norst --keep always || fail
./test/zdtm.py run --all -f best -x maps04 -x cgroup02 --norst --keep-going --report report --keep always || fail
PYTHONPATH="$(pwd)/lib/" ./test/crit-recode.py || fail
exit 0
......@@ -2,10 +2,10 @@
set -e
source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run --all --report report --parallel 4 -f h --pre 2 --dedup -x maps04 -x maps007 || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 -f h --pre 2 --dedup -x maps04 -x maps007 || fail
# Additionally run these two as they touch a lot of
# memory and it makes sense to additionally check it
# with delays petween iterations
./test/zdtm.py run -t zdtm/transition/maps007 --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/static/mem-touch --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/transition/maps007 --keep-going --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/static/mem-touch --keep-going --report report -f h --pre 8:.1 --dedup || fail
......@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --norst -x 'maps04' -x 'cgroup02' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --norst -x 'maps04' -x 'cgroup02' || fail
......@@ -2,6 +2,6 @@
set -e
source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run -t zdtm/static/env00 --fault 1 --report report -f h || fail
./test/zdtm.py run -t zdtm/static/unlink_fstat00 --fault 2 --report report -f h || fail
./test/zdtm.py run -t zdtm/static/inotify_irmap --fault 128 --pre 2 -f uns || fail
./test/zdtm.py run -t zdtm/static/env00 --fault 1 --keep-going --report report -f h || fail
./test/zdtm.py run -t zdtm/static/unlink_fstat00 --fault 2 --keep-going --report report -f h || fail
./test/zdtm.py run -t zdtm/static/inotify_irmap --fault 128 --keep-going --pre 2 -f uns || fail
......@@ -4,10 +4,10 @@ source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:f || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:f --pre 3 || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:f --norst || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:f || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:f --pre 3 || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:f --norst || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:t || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:t --pre 3 || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --report report --freezecg zdtm:t --norst || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:t || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:t --pre 3 || fail
./test/zdtm.py run -t zdtm/transition/thread-bomb -f h --keep-going --report report --freezecg zdtm:t --norst || fail
......@@ -4,4 +4,4 @@ source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py group --max 32 -x maps04 -x cgroup || fail
./test/zdtm.py --set groups run --all --report report -f best || fail
./test/zdtm.py --set groups run --all --keep-going --report report -f best || fail
......@@ -2,4 +2,4 @@
set -e
source `dirname $0`/criu-lib.sh
prep
./test//zdtm.py --set inhfd run --all -f h || fail
./test//zdtm.py --set inhfd run --all --keep-going --report report -f h || fail
......@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --iter 3 -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --iter 3 -x 'maps04' || fail
......@@ -4,4 +4,4 @@ source `dirname $0`/criu-lib.sh
prep
mkdir -p test.up test.work
mount -t overlay overlay -olowerdir=test,upperdir=test.up,workdir=test.work test
./test/zdtm.py run --all --report report --parallel 4 -x inotify -x mntns_open -x socket -x sk-unix -x unlink -x fsnotify -x fanotify -x ghost || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 -x inotify -x mntns_open -x socket -x sk-unix -x unlink -x fsnotify -x fanotify -x ghost || fail
......@@ -3,5 +3,5 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --pre 3 -x 'maps04' || fail
./test/zdtm.py run --all --report report --parallel 4 --pre 3 --page-server -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --pre 3 -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --pre 3 --page-server -x 'maps04' || fail
......@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --sibling --parallel 4 -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --sibling --parallel 4 -x 'maps04' || fail
......@@ -3,5 +3,5 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --pre 3 --snaps -x 'maps04' || fail
./test/zdtm.py run --all --report report --parallel 4 --pre 3 --snaps --page-server -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --pre 3 --snaps -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --pre 3 --snaps --page-server -x 'maps04' || fail
......@@ -3,4 +3,4 @@ set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --user --norst -x 'maps04' || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 --user --norst -x 'maps04' || fail
......@@ -2,4 +2,4 @@
set -e
source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run --all --report report --parallel 4 || fail
./test/zdtm.py run --all --keep-going --report report --parallel 4 || fail
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment