mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
travis: set permissions for test/, test/static/, test/transition
We need to allow read/write access for these directories to execute tests in user namespaces. zdtm.py does this too, but it is racy if we run a few tests in parallel. ------------------------ grep Error ------------------------ (00.748406) 5: Error (criu/files-reg.c:1487): File zdtm/static has bad mode 040777 (expect 040775) (00.752027) 1: Error (criu/cr-restore.c:1132): 5 exited, status=1 (00.790562) Error (criu/cr-restore.c:1135): 88 killed by signal 9: Killed (00.790623) Error (criu/cr-restore.c:2019): Restoring FAILED. ------------------------ ERROR OVER ------------------------ Signed-off-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
4ebfa9813b
commit
a654e551c9
@@ -29,6 +29,10 @@ export SKIP_PREP=1
|
||||
# https://github.com/xemul/criu/issues/207
|
||||
export CRIU_PMC_OFF=1
|
||||
|
||||
chmod 0777 test/
|
||||
chmod 0777 test/zdtm/static
|
||||
chmod 0777 test/zdtm/transition
|
||||
|
||||
./test/zdtm.py run -a -x 'cgroup*' -p 2
|
||||
|
||||
bash ./test/jenkins/criu-fault.sh
|
||||
|
Reference in New Issue
Block a user