mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-26 03:47:35 +00:00
The restorer blob may die silently due to anything: - Segmentation fault - OOM killer - User-sended SIGKILL - Child CRIU restorer did't abort futex on error path (and exited) We should terminate the restoring process and avoid locking self up on waiting for died restoree. Reviewed-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
27 lines
1.6 KiB
Bash
Executable File
27 lines
1.6 KiB
Bash
Executable File
#!/bin/bash
|
|
# Check known fault injections
|
|
set -e
|
|
source `dirname $0`/criu-lib.sh
|
|
prep
|
|
./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/maps00 --fault 3 --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
|
|
./test/zdtm.py run -t zdtm/static/env00 --fault 129 -f uns || fail
|
|
./test/zdtm.py run -t zdtm/transition/fork --fault 130 -f h || fail
|
|
./test/zdtm.py run -t zdtm/static/vdso01 --fault 127 || fail
|
|
./test/zdtm.py run -t zdtm/static/vdso-proxy --fault 127 --iters 3 || fail
|
|
|
|
./test/zdtm.py run -t zdtm/static/mntns_ghost --fault 2 --keep-going --report report || fail
|
|
./test/zdtm.py run -t zdtm/static/mntns_ghost --fault 4 --keep-going --report report || fail
|
|
|
|
./test/zdtm.py run -t zdtm/static/mntns_ghost --fault 6 --report report || fail
|
|
./test/zdtm.py run -t zdtm/static/mntns_link_remap --fault 6 --report report || fail
|
|
./test/zdtm.py run -t zdtm/static/unlink_fstat03 --fault 6 --report report || fail
|
|
|
|
./test/zdtm.py run -t zdtm/static/env00 --fault 5 --keep-going --report report || fail
|
|
./test/zdtm.py run -t zdtm/static/maps04 --fault 131 --keep-going --report report --pre 2:1 || fail
|
|
./test/zdtm.py run -t zdtm/transition/maps008 --fault 131 --keep-going --report report --pre 2:1 || fail
|
|
./test/zdtm.py run -t zdtm/static/maps01 --fault 132 -f h || fail
|
|
./test/zdtm.py run -t zdtm/static/session01 --fault 7 -f ns || fail
|