[CRIU] Cgroup testing failed
Pavel Emelyanov
xemul at virtuozzo.com
Thu Mar 3 05:15:12 PST 2016
On 03/03/2016 03:49 PM, Pavel Emelyanov wrote:
> Hi, Tycho
>
> After recent merge all ci.openvz.org jobs started to fail on cgroup02 like this
In order to unlock testing I've pushed a quick fix:
https://github.com/xemul/criu/commit/160a0d33375a2f16c01c5c867e2233b671d4b5a6
Plz, tune it incrementally if you find it appropriate :)
-- Pavel
> ======================== Run zdtm/static/cgroup02 in h =========================
> Start test
> Test is SUID
> ./cgroup02 --pidfile=cgroup02.pid --outfile=cgroup02.out --dirname=cgroup02.test
> Cleaning cgclean.fk807p (name=zdtmtst.defaultroot)
> cgclean.fk807p/oldroot
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> holder
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (name=zdtmtst)
> cgclean.fk807p/oldroot
> cgclean.fk807p/zdtmtstroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> holder
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (hugetlb)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (perf_event)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (pids)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (blkio)
> cgclean.fk807p/newroot
> Left there is:
> blkio.avg_queue_size
> blkio.dequeue
> blkio.empty_time
> blkio.group_wait_time
> blkio.idle_time
> blkio.io_merged
> blkio.io_merged_recursive
> blkio.io_queued
> blkio.io_queued_recursive
> blkio.io_service_bytes
> blkio.io_service_bytes_recursive
> blkio.io_serviced
> blkio.io_serviced_recursive
> blkio.io_service_time
> blkio.io_service_time_recursive
> blkio.io_wait_time
> blkio.io_wait_time_recursive
> blkio.leaf_weight
> blkio.leaf_weight_device
> blkio.reset_stats
> blkio.sectors
> blkio.sectors_recursive
> blkio.throttle.io_service_bytes
> blkio.throttle.io_serviced
> blkio.throttle.read_bps_device
> blkio.throttle.read_iops_device
> blkio.throttle.write_bps_device
> blkio.throttle.write_iops_device
> blkio.time
> blkio.time_recursive
> blkio.unaccounted_time
> blkio.weight
> blkio.weight_device
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> system.slice
> tasks
> user.slice
> Cleaning cgclean.fk807p (freezer)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (cpuset)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> cpuset.cpu_exclusive
> cpuset.cpus
> cpuset.effective_cpus
> cpuset.effective_mems
> cpuset.mem_exclusive
> cpuset.mem_hardwall
> cpuset.memory_migrate
> cpuset.memory_pressure
> cpuset.memory_pressure_enabled
> cpuset.memory_spread_page
> cpuset.memory_spread_slab
> cpuset.mems
> cpuset.sched_load_balance
> cpuset.sched_relax_domain_level
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (cpu,cpuacct)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> cpuacct.stat
> cpuacct.usage
> cpuacct.usage_percpu
> cpu.cfs_period_us
> cpu.cfs_quota_us
> cpu.shares
> cpu.stat
> notify_on_release
> release_agent
> system.slice
> tasks
> user.slice
> Cleaning cgclean.fk807p (devices)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> devices.allow
> devices.deny
> devices.list
> notify_on_release
> release_agent
> system.slice
> tasks
> user.slice
> Cleaning cgclean.fk807p (memory)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.event_control
> cgroup.procs
> cgroup.sane_behavior
> memory.failcnt
> memory.force_empty
> memory.kmem.failcnt
> memory.kmem.limit_in_bytes
> memory.kmem.max_usage_in_bytes
> memory.kmem.slabinfo
> memory.kmem.tcp.failcnt
> memory.kmem.tcp.limit_in_bytes
> memory.kmem.tcp.max_usage_in_bytes
> memory.kmem.tcp.usage_in_bytes
> memory.kmem.usage_in_bytes
> memory.limit_in_bytes
> memory.max_usage_in_bytes
> memory.memsw.failcnt
> memory.memsw.limit_in_bytes
> memory.memsw.max_usage_in_bytes
> memory.memsw.usage_in_bytes
> memory.move_charge_at_immigrate
> memory.numa_stat
> memory.oom_control
> memory.pressure_level
> memory.soft_limit_in_bytes
> memory.stat
> memory.swappiness
> memory.usage_in_bytes
> memory.use_hierarchy
> notify_on_release
> release_agent
> system.slice
> tasks
> user.slice
> Cleaning cgclean.fk807p (net_cls,net_prio)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> net_cls.classid
> net_prio.ifpriomap
> net_prio.prioidx
> notify_on_release
> release_agent
> tasks
> Cleaning cgclean.fk807p (name=systemd)
> cgclean.fk807p/newroot
> Left there is:
> cgroup.clone_children
> cgroup.procs
> cgroup.sane_behavior
> notify_on_release
> release_agent
> system.slice
> tasks
> user.slice
> Run criu dump
> Running zdtm/static/cgroup02.hook(--pre-restore)
> Run criu restore
> =[log]=> dump/zdtm/static/cgroup02/24/1/restore.log
> ------------------------ grep Error ------------------------
> (00.683227) 24: Error (cgroup.c:1075): cg: couldn't unshare cgns: Invalid argument
> (00.683235) 24: Error (cgroup.c:1089): cg: failed preparing cgns(00.683596) Error (cr-restore.c:2134): Restoring FAILED.
> ------------------------ ERROR OVER ------------------------
> ################ Test zdtm/static/cgroup02 FAIL at CRIU restore ################
>
> -- Pavel
>
More information about the CRIU
mailing list