[CRIU] on zombie00 test-case failure

Cyrill Gorcunov gorcunov at openvz.org
Mon Jan 30 07:20:30 EST 2012


On Mon, Jan 30, 2012 at 04:11:01PM +0400, Cyrill Gorcunov wrote:
> > 
> > It's some strange test issue -- tasks should exit with codes 0 and 3 which
> > they actually DO according to logs.
> 
> I'll try to digg some more...
> 

I've added some debug printing

                       if (WEXITSTATUS(status) != zombie[i].exitcode) {
                                fail("Exit with wrong status (%d: %d <=> %d)\n",
                                        zombie[i].pid, WEXITSTATUS(status),
                                        zombie[i].exitcode);
                                exit(1);
                        }

and got

kid 6045 will 1/0
kid 6046 will 1/3
kid 6047 will 0/9
kid 6048 will 0/11

FAIL: zombie00.c:81: Exit with wrong status (6046: 0 <=> 3)

Ie we've passed the signal as

	kill(6046, 3);

and got WEXITSTATUS = 0 here. Weird.

	Cyrill


More information about the CRIU mailing list