[CRIU] socket_udp test failure

Douglas, William william.douglas at intel.com
Fri Mar 15 13:00:38 EDT 2013


Hi all,

I'm trying to use crtools v0.4 with your 3.9rc1 kernel (configured as
required) and running into a problem with the socket_udp test.

crtools check reports okay but shows errors with four of the following:
(00.001243) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
such file or directory)

And the output from the socket_udp test was:
(00.000052) ========================================


                        │·································
(00.000082) Dumping processes (pid: 5291)


                        │·································
(00.000088) ========================================


                        │·································
(00.000227) cpu: fpu:1 fxsr:1 xsave:0


                        │·································
(00.000235) Writing image inventory (version 1)


                        │·································
(00.000324) Collected 1.pid namespace


                        │·································
(00.000337) Collected 2.net namespace


                        │·································
(00.000348) Collected 3.ipc namespace


                        │·································
(00.000357) Collected 4.uts namespace


                        │·································
(00.000369) Collected 5.mnt namespace


                        │·································
(00.000399) Collecting tasks starting from 5291


                        │·································
(00.000466) Seized task 5291, state 1


                        │·································
(00.000540) Collected 5291 in 1 state


                        │·································
(00.000646) Lock network
(00.000701) Collecting mountinfo


                        │·································
(00.000779)     type unsupported source /dev/root 800001 / @ / flags
300000 options data=ordered,

                          │·································
(00.000793)     type devtmpfs source devtmpfs 5 / @ /dev flags 300000
options size=2020244k,nr_inodes=505061,mode=755,

                         │·································
(00.000806)     type proc source proc 3 / @ /proc flags 30000e options


                        │·································
(00.000816)     type sysfs source sysfs e / @ /sys flags 30000e
options

                               │·································
(00.000826)     type unsupported source securityfs f / @
/sys/kernel/security flags 30000e options


│·································
(00.000835)     type tmpfs source tmpfs 10 / @ /dev/shm flags 100006
options

                          │·································
(00.000845)     type devpts source devpts a / @ /dev/pts flags 30000a
options gid=5,mode=620,

                         │·································
(00.000854)     type tmpfs source tmpfs 11 / @ /run flags 100006
options mode=755,

                              │·································
(00.000865)     type tmpfs source tmpfs 12 / @ /sys/fs/cgroup flags
10000e options mode=755,

                           │·································
(00.000876)     type unsupported source cgroup 13 / @
/sys/fs/cgroup/systemd flags 30000e options
release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd,

│·································
(00.000886)     type unsupported source cgroup 14 / @
/sys/fs/cgroup/cpuset flags 30000e options cpuset,


│·································
(00.000924)     type unsupported source cgroup 15 / @
/sys/fs/cgroup/cpu,cpuacct flags 30000e options cpuacct,cpu,


│·································
(00.000934)     type unsupported source cgroup 16 / @
/sys/fs/cgroup/devices flags 30000e options devices,


│·································
(00.000946)     type unsupported source cgroup 17 / @
/sys/fs/cgroup/freezer flags 30000e options freezer,


│·································
(00.000957)     type unsupported source systemd-1 18 / @
/proc/sys/fs/binfmt_misc flags 300000 options
fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct,

│·································
(00.000966)     type unsupported source mqueue c / @ /dev/mqueue flags
300000 options

                        │·································
(00.000975)     type tmpfs source tmpfs 19 / @ /tmp flags 100000
options

                              │·································
(00.000983)     type unsupported source hugetlbfs 1a / @
/dev/hugepages flags 300000 options


│·································
(00.000994)     type unsupported source debugfs 7 / @
/sys/kernel/debug flags 300000 options


│·································
(00.001003)     type unsupported source fusectl 1b / @
/sys/fs/fuse/connections flags 300000 options


│·································
(00.001117)     Collected: ino 0x1c14 peer_ino 0 family    1 type    1
state 10 name /tmp/emacs1000/server

                        │·································
(00.001133)     Collected: ino 0x142f peer_ino 0 family    1 type    1
state 10 name /run/systemd/private

                        │·································
(00.001141)     Collected: ino 0x143b peer_ino 0 family    1 type    1
state 10 name /run/lvm/lvmetad.socket

                        │·································
(00.001149)     Collected: ino 0x1440 peer_ino 0 family    1 type    2
state  7 name /run/systemd/shutdownd

                        │·································
(00.001158)     Collected: ino 0x1444 peer_ino 0 family    1 type    5
state 10 name /run/udev/control

                        │·································
(00.001167)     Collected: ino 0x144b peer_ino 0 family    1 type    1
state 10 name /run/systemd/journal/stdout

                        │·································
(00.001175)     Collected: ino 0x144e peer_ino 0 family    1 type    2
state  7 name /run/systemd/journal/socket

                        │·································
(00.001182)     Collected: ino 0x1450 peer_ino 0 family    1 type    2
state  7 name /dev/log

                        │·································
(00.001187)     Collected: ino 0x142e peer_ino 0 family    1 type    2
state  7 name

                        │·································
(00.001195)     Collected: ino 0xccd peer_ino 0 family    1 type    1
state 10 name /run/dbus/system_bus_socket

                         │·································
(00.001200)     Collected: ino 0x3abd peer_ino 0 family    1 type    2
state  7 name (null)

                        │·································
(00.001205)     Collected: ino 0x1157 peer_ino 0x1b09 family    1 type
   1 state  1 name (null)

                        │·································
(00.001210)     Collected: ino 0xd19 peer_ino 0x1766 family    1 type
  1 state  1 name (null)

                        │·································
(00.001214)     Collected: ino 0x1ba9 peer_ino 0x1baa family    1 type
   1 state  1 name (null)

                        │·································
(00.001219)     Collected: ino 0x1765 peer_ino 0x1764 family    1 type
   1 state  1 name (null)

                        │·································
(00.001223)     Collected: ino 0x7a7 peer_ino 0x7a6 family    1 type
 2 state  7 name (null)

                        │·································
(00.001235)     Collected: ino 0x15ca peer_ino 0x1b07 family    1 type
   1 state  1 name (null)

                        │·································
(00.001244)     Collected: ino 0x1b8b peer_ino 0x1b8a family    1 type
   1 state  1 name /tmp/emacs1000/server

                        │·································
(00.001249)     Collected: ino 0x1170 peer_ino 0x1767 family    1 type
   1 state  1 name (null)

                        │·································
(00.001253)     Collected: ino 0x1764 peer_ino 0x1765 family    1 type
   1 state  1 name (null)

                        │·································
(00.001258)     Collected: ino 0x1baa peer_ino 0x1ba9 family    1 type
   1 state  1 name (null)

                        │·································
(00.001262)     Collected: ino 0x10a8 peer_ino 0x144e family    1 type
   2 state  7 name (null)

                        │·································
(00.001267)     Collected: ino 0xeb9 peer_ino 0 family    1 type    1
state  7 name (null)

                         │·································
(00.001274)     Collected: ino 0x1767 peer_ino 0x1170 family    1 type
   1 state  1 name /run/dbus/system_bus_socket

                        │·································
(00.001279)     Collected: ino 0x138f peer_ino 0x1450 family    1 type
   2 state  7 name (null)

                        │·································
(00.001283)     Collected: ino 0x7a6 peer_ino 0x7a7 family    1 type
 2 state  7 name (null)

                        │·································
(00.001288)     Collected: ino 0xe50 peer_ino 0x1450 family    1 type
  2 state  7 name (null)

                        │·································
(00.001292)     Collected: ino 0x1b8a peer_ino 0x1b8b family    1 type
   1 state  1 name (null)

                        │·································
(00.001297)     Collected: ino 0x116a peer_ino 0x144e family    1 type
   2 state  7 name (null)

                        │·································
(00.001303)     Collected: ino 0x7f5 peer_ino 0x1b06 family    1 type
  1 state  1 name (null)

                        │·································
(00.001308)     Collected: ino 0x1084 peer_ino 0x144e family    1 type
   2 state  7 name (null)

                        │·································
(00.001312)     Collected: ino 0x3ac0 peer_ino 0x1450 family    1 type
   2 state  7 name (null)

                        │·································
(00.001320)     Collected: ino 0x1b06 peer_ino 0x7f5 family    1 type
  1 state  1 name /run/systemd/journal/stdout

                        │·································
(00.001327)     Collected: ino 0x1b07 peer_ino 0x15ca family    1 type
   1 state  1 name /run/systemd/journal/stdout

                        │·································
(00.001335)     Collected: ino 0x1766 peer_ino 0xd19 family    1 type
  1 state  1 name /run/dbus/system_bus_socket

                        │·································
(00.001342)     Collected: ino 0x1b09 peer_ino 0x1157 family    1 type
   1 state  1 name /run/systemd/journal/stdout

                        │·································
(00.001516)     Collected: ino 0x    176f family    2 type    1 port
    22 state 10 src_addr 0.0.0.0

                        │·································
(00.001526)     Collected: ino 0x     ecf family    2 type    1 port
    22 state  1 src_addr 192.168.1.3

                        │·································
(00.002965) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
such file or directory)

                         │·································
(00.004214) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
such file or directory)

                         │·································
(00.005711) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
such file or directory)

                         │·································
(00.006951) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
such file or directory)

                         │·································
(00.006980) Uncollected sockets! Will probably fail later.
(00.007432) ========================================


                        │·································
(00.007437) Dumping task (pid: 5291)


                        │·································
(00.007441) ========================================


                        │·································
(00.007452) Obtainting task stat ... (00.007489)


                        │·································
(00.007495) Collecting mappings (pid: 5291)


                        │·································
(00.007498) ----------------------------------------


                        │·································
(00.007636) Found anon-shmem piggie at 4


                        │·································
(00.007969) 0x400000-0x405000 (20K) prot 0x5 flags 0x2 off 0 reg fp
shmid: 0

                          │·································
(00.007979) 0x604000-0x605000 (4K) prot 0x3 flags 0x2 off 0x4000 reg
fp  shmid: 0

                          │·································
(00.007985) 0xb03000-0xb24000 (132K) prot 0x3 flags 0x22 off 0 reg
heap ap  shmid: 0

                            │·································
(00.007989) 0x7fc84f37b000-0x7fc84f51f000 (1680K) prot 0x5 flags 0x2
off 0 reg fp  shmid: 0

                          │·································
(00.007994) 0x7fc84f51f000-0x7fc84f71e000 (2044K) prot 0 flags 0x2 off
0x1a4000 reg fp  shmid: 0

                        │·································
(00.007999) 0x7fc84f71e000-0x7fc84f722000 (16K) prot 0x1 flags 0x2 off
0x1a3000 reg fp  shmid: 0

                        │·································
(00.008003) 0x7fc84f722000-0x7fc84f724000 (8K) prot 0x3 flags 0x2 off
0x1a7000 reg fp  shmid: 0

                         │·································
(00.008008) 0x7fc84f724000-0x7fc84f728000 (16K) prot 0x3 flags 0x22
off 0 reg ap  shmid: 0

                           │·································
(00.008012) 0x7fc84f728000-0x7fc84f749000 (132K) prot 0x5 flags 0x2
off 0 reg fp  shmid: 0

                           │·································
(00.008017) 0x7fc84f940000-0x7fc84f943000 (12K) prot 0x3 flags 0x22
off 0 reg ap  shmid: 0

                           │·································
(00.008021) 0x7fc84f949000-0x7fc84f94a000 (4K) prot 0x1 flags 0x2 off
0x21000 reg fp  shmid: 0

                         │·································
(00.008025) 0x7fc84f94a000-0x7fc84f94b000 (4K) prot 0x3 flags 0x2 off
0x22000 reg fp  shmid: 0

                         │·································
(00.008030) 0x7fc84f94b000-0x7fc84f94c000 (4K) prot 0x3 flags 0x22 off
0 reg ap  shmid: 0

                        │·································
(00.008041) 0x7fff48edd000-0x7fff48efe000 (132K) prot 0x3 flags 0x122
off 0 reg ap  shmid: 0

                         │·································
(00.008047) 0x7fff48fee000-0x7fff48fef000 (4K) prot 0x5 flags 0x22 off
0 reg vdso ap  shmid: 0

                        │·································
(00.008051) 0xffffffffff600000-0xffffffffff601000 (4K) prot 0x5 flags
0x22 off 0 vsys ap  shmid: 0

                         │·································
(00.008055) ----------------------------------------


                        │·································
(00.008059)


                        │·································
(00.008062) Collecting fds (pid: 5291)


                        │·································
(00.008066) ----------------------------------------


                        │·································
(00.008081) Found 5 file descriptors


                        │·································
(00.008086) ----------------------------------------


                        │·································
(00.008153) Putting parasite blob into 0x7f738175f000->0x7fc84f937000


                        │·································
(00.008201) Putting tsock into pid 5291


                        │·································
Parasite cmd 10/0xa process


                        │·································
(00.008308) sid=5291 pgid=5291 pid=5291


                        │·································
(00.008618)


                        │·································
(00.008624) Dumping opened files (pid: 5291)


                        │·································
(00.008629) ----------------------------------------


                        │·································
Parasite cmd 13/0xd process


                        │·································
(00.008718) 5291 fdinfo 0: pos: 0x               0 flags:
100002/0

                           │·································
(00.008754) Dumping path for 0 fd via self 46 [/dev/null]


                        │·································
(00.008817) fdinfo: type: 0x 1 flags: 0100002/0 pos: 0x       0 fd: 0


                        │·································
(00.008831) 5291 fdinfo 1: pos: 0x               0 flags:
102001/0

                           │·································
(00.008858) Dumping path for 1 fd via self 47
[/home/wdouglas/src/crtools/test/zdtm/live/static/socket_udp.out.inprogress]


│·································
(00.008876) fdinfo: type: 0x 1 flags: 0102001/0 pos: 0x       0 fd: 1


                        │·································
(00.008887) 5291 fdinfo 2: pos: 0x               0 flags:
102001/0

                           │·································
(00.008894) fdinfo: type: 0x 1 flags: 0102001/0 pos: 0x       0 fd: 2


                        │·································
(00.008905) 5291 fdinfo 3: pos: 0xffffffffffffffff flags:
  2/0

                        │·································
(00.008913)     Searching for socket 3757 (family 2)


                        │·································
(00.008925) No filter for socket


                        │·································
(00.008943) Dumping inet socket at 3


                        │·································
(00.008948)     Dumping: ino 0x    3757 family    2 type    2 port
   0 state  7 src_addr 0.0.0.0

                        │·································
(00.008954)     Dumped: family 2 type 2 proto 17 port 0 state 7
src_addr 0.0.0.0

                               │·································
(00.008959) fdinfo: type: 0x 4 flags: 02/0 pos: 0xffffffffffffffff fd:
3

                        │·································
(00.008969) 5291 fdinfo 4: pos: 0xffffffffffffffff flags:
  2/0

                        │·································
(00.008975)     Searching for socket 3758 (family 2)


                        │·································
(00.008980) Error (sk-inet.c:183): Name resolved on unconnected socket


                        │·································
(00.008987) ----------------------------------------


                        │·································
(00.008991) Error (cr-dump.c:1325): Dump files (pid: 5291) failed with
-1

                        │·································
Parasite cmd 3/0x3 process


                        │·································
(00.009116) Unlock network


                        │·································
(00.009126) Unfreezing tasks into 1


                        │·································
(00.009131)     Unseizeing 5291 into 1


Is this an issue with using a newer kernel than the recommended 3.7rc1
with v0.4? Any recommendations on how to work around this problem?


Thanks,
William



More information about the CRIU mailing list