mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
[root@fedora criu]# ./test/zdtm.py run -t zdtm/static/pty-console --iters 2 --keep-going --ignore-taint [WARNING] Option --keep-going is more useful when running multiple tests userns is supported === Run 1/1 ================ zdtm/static/pty-console ====================== Run zdtm/static/pty-console in uns ====================== Start test Test is SUID ./pty-console --pidfile=pty-console.pid --outfile=pty-console.out Run criu dump Run criu restore Run criu dump =[log]=> dump/zdtm/static/pty-console/62/2/dump.log ------------------------ grep Error ------------------------ b'(00.009325) 101 fdinfo 3: pos: 0 flags: 100000/0' b'(00.009332) Dumping path for 3 fd via self 19 [/zdtm/static]' b'(00.009345) 101 fdinfo 4: pos: 0 flags: 100002/0' b'(00.009352) tty: Dumping tty 20 with id 0xc' b"(00.009358) Error (criu/files-reg.c:1710): Can't lookup mount=1647 for fd=4 path=/ptmx" b'(00.009361) ----------------------------------------' b'(00.009369) Error (criu/cr-dump.c:1368): Dump files (pid: 101) failed with -1' b'(00.009696) Running network-unlock scripts' b'(00.012401) Unfreezing tasks into 1' b'(00.012410) \tUnseizing 86 into 1' b'(00.012415) \tUnseizing 101 into 1' b'(00.012428) Error (criu/cr-dump.c:1788): Dumping FAILED.' ------------------------ ERROR OVER ------------------------ ################ Test zdtm/static/pty-console FAIL at CRIU dump ################ Test output: ================================ <<< ================================ Send the 9 signal to 86 Wait for zdtm/static/pty-console(86) to die for 0.100000 ##################################### FAIL ##################################### Restore on second iteration with mount-v2 fails, that is because devpts_restore which is called from do_new_mount_v2 via fstype->restore opens ptmx file in service mntns and saves it to fdstore for later use. So after first c/r open ptmx fd changes mnt_id in fdinfo to a detached mount. Let's just disable mount-v2 for this test for now. FIXME: We should create separate fstype hook to do_mount_in_right_mntns, so that we can open files from this hook in actual restored mntns. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> |
||
|---|---|---|
| .. | ||
| compel | ||
| exhaustive | ||
| inhfd | ||
| javaTests | ||
| jenkins | ||
| others | ||
| pki | ||
| zdtm | ||
| .gitignore | ||
| abrt.sh | ||
| check_actions.py | ||
| crit-recode.py | ||
| empty-netns-prep.sh | ||
| groups.desc | ||
| inhfd.desc | ||
| Makefile | ||
| pycriu | ||
| show_action.sh | ||
| umount2.c | ||
| zdtm.desc | ||
| zdtm.py | ||
| zdtm_ct.c | ||
| zdtm_mount_cgroups | ||
| zdtm_umount_cgroups | ||