[CRIU] remap_dead_pid test hang?

Tycho Andersen tycho.andersen at canonical.com
Fri Mar 20 06:55:52 PDT 2015


Hi Pavel, Andrey,

On Fri, Mar 20, 2015 at 01:41:57PM +0300, Andrew Vagin wrote:
>
> No, I don't. I tried to reproduce on my ubuntu VM, but it works.
> 
> Tycho, could you apply this patch to be sure that kill doesn't return
> an error.
> 
> @@ -45,7 +45,10 @@ int main(int argc, char **argv)
>                 fd = open(path, O_RDONLY);
>  
>                 /* no matter what, we should kill the child */
> -               kill(pid, SIGINT);
> +               if (kill(pid, SIGINT)) {
> +                       err("kill");
> +                       return -1;
> +               }
>                 result = waitpid(pid, NULL, 0);
>                 if (result < 0) {
>                         fail("failed waitpid()");

I tried something like this yesterday, but I couldn't find the output.
It looks like it should be redirected to a file called
static_remap_dead_pid.log, but I couldn't figure out where the test
suite put that file. I see later the file is catted, but it's hard to
read with all the output from the parallel run jumbled together.

Tycho

> > 
> > Thanks,
> > Pavel
> > 
> > 


More information about the CRIU mailing list