[CRIU] 1st test fails

Neal Becker ndbecker2 at gmail.com
Wed Jul 3 06:18:24 EDT 2013


(00.001466) Error (sk-unix.c:318): Can't stat socket
8577(./run/lvm/lvmetad.socket): Permission denied
(00.001525) Error (sk-unix.c:318): Can't stat socket
43707(./tmp/tramp.1789rAV.nbecker at nbecker7:22.OhswhsSZtGhIzqGd): No such
file or directory
(00.004524) Error (proc_parse.c:367): Can't open 2577's mapfile link
400000: Operation not permitted
(00.004552) Error (cr-dump.c:1273): Collect mappings (pid: 2577) failed
with -1
-zombie 2574 found, state R
(00.002271) Error (sk-unix.c:318): Can't stat socket
8577(./run/lvm/lvmetad.socket): Permission denied
(00.002330) Error (sk-unix.c:318): Can't stat socket
43707(./tmp/tramp.1789rAV.nbecker at nbecker7:22.OhswhsSZtGhIzqGd): No such
file or directory
(00.007805) Error (proc_parse.c:367): Can't open 2572's mapfile link
400000: Operation not permitted
(00.007837) Error (cr-dump.c:1273): Collect mappings (pid: 2572) failed
with -1

-------------- test_crtools.py --------------
import subprocess
import os
pid = os.getpid()
print 'pid:', pid
from time import sleep

if os.fork() == 0:
    from daemon import basic_daemonize
    basic_daemonize()
    ## os.setsid()
    o = os.open ('crtools.log', os.O_RDWR|os.O_CREAT)
    os.dup2 (o, 1)
    os.dup2 (o, 2)
    subprocess.call (['crtools', 'dump', '-t%d'%pid])
else:
    while True:
        sleep (10)
        print 'hi'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130703/d006a063/attachment.html>


More information about the CRIU mailing list