[CRIU] test for external mounts

Tycho Andersen tycho.andersen at canonical.com
Fri Apr 17 13:34:13 PDT 2015


Hi all,

I'm having a problem getting my test for external sharing to work
correctly. The patch is attached, and when I run it I get:

sudo ./zdtm.sh -r ns/static/external_shared_mounts
Execute ns/static/external_shared_mounts
mkdir: cannot create directory ‘/tmp/criu-root.utSwRv/dev’: File exists
mknod: ‘/tmp/criu-root.utSwRv/dev/tty’: File exists
./external_shared_mounts --pidfile=external_shared_mounts.pid --outfile=external_shared_mounts.out --dirname=external_shared_mounts.test
/home/ubuntu/criu/test
Dump 2644
Restore
Test: zdtm/live/static/external_shared_mounts, Result: FAIL
==================================== ERROR ====================================
Test: zdtm/live/static/external_shared_mounts, Namespace: 1
Dump log   : /home/ubuntu/criu/test/dump/ns/static/external_shared_mounts/2644/1/dump.log
--------------------------------- grep Error ---------------------------------
------------------------------------- END -------------------------------------
Restore log: /home/ubuntu/criu/test/dump/ns/static/external_shared_mounts/2644/1/restore.log
--------------------------------- grep Error ---------------------------------
(00.007393)      1: Error (mount.c:276): Mountpoint 84 w/o parent 83 found @.criu.mntns.aDwkKj/12/ (root found)
(00.007844)      1: Error (mount.c:1881): Can't mount at .criu.mntns.aDwkKj/12/zdtm/live/static/external_shared_mounts.test/bind3: No such file or directory
(00.027555) Error (cr-restore.c:1879): Restoring FAILED.
------------------------------------- END -------------------------------------
================================= ERROR OVER =================================

I must be doing something wrong with the test suite, but I can't figure out what.

Thanks,

Tycho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-draft-of-test.patch
Type: text/x-diff
Size: 5275 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150417/b2edddd1/attachment.bin>


More information about the CRIU mailing list