[CRIU] on zombie00 test-case failure

Cyrill Gorcunov gorcunov at openvz.org
Mon Jan 30 06:58:13 EST 2012


Pavel, I've got

[root at neptune crtools]# bash test/zdtm.sh static/zombie00
zombie00: no process killed
make: Entering directory `/home/crtools/test/zdtm/live/static'
rm -f -r *.pid *.out* *.test* *.state
make -C ../../lib
make[1]: Entering directory `/home/crtools/test/zdtm/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/crtools/test/zdtm/lib'
./zombie00 --pidfile=zombie00.pid --outfile=zombie00.out
make: Leaving directory `/home/crtools/test/zdtm/live/static'
total 0
lrwx------ 1 root root 64 Jan 30 14:55 0 -> /dev/null
lrwx------ 1 root root 64 Jan 30 14:55 1 -> /dev/null
lrwx------ 1 root root 64 Jan 30 14:55 2 -> /dev/null
total 0
lrwx------ 1 root root 64 Jan 30 14:55 0 -> /dev/null
lrwx------ 1 root root 64 Jan 30 14:55 1 -> /dev/null
lrwx------ 1 root root 64 Jan 30 14:55 2 -> /dev/null
make: Entering directory `/home/crtools/test/zdtm/live/static'
make -C ../../lib
make[1]: Entering directory `/home/crtools/test/zdtm/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/crtools/test/zdtm/lib'
kill -TERM `< zombie00.pid`
make: Leaving directory `/home/crtools/test/zdtm/live/static'
kid 5603 will 1/0
kid 5604 will 1/3
kid 5605 will 0/9
kid 5606 will 0/11
FAIL: zombie00.c:79: Exit with wrong status (5604)
 (errno = 4)
[root at neptune crtools]# git bisect bad
2e070f114ce57555f00e62538b3b72ea97ca960c is the first bad commit
commit 2e070f114ce57555f00e62538b3b72ea97ca960c
Author: Pavel Emelyanov <xemul at parallels.com>
Date:   Sun Jan 22 20:29:15 2012 +0400

    zdtm: Test for zombie tasks
    
    Test that 2 different exit()-ed zombies and 2 killed with different
    signals are handled properly.
    
    Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

:040000 040000 60458f0ab533b5b7d5dba930035d5d16de7436c2
2173181c12bbd6f540f60e52e8c27f9713f550d6 M	test

May it be test-case problem itself rather than crtools nit?

	Cyrill


More information about the CRIU mailing list