[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-criu
Subject: Re: [CRIU] [PATCH] zdtm: suppress useless error messages
From: Andrei Vagin <avagin () virtuozzo ! com>
Date: 2018-01-31 18:14:11
Message-ID: 20180131181411.GB12428 () outlook ! office365 ! com
[Download RAW message or body]
Applied, thanks!
On Sun, Jan 28, 2018 at 11:11:33PM +0300, Andrei Vagin wrote:
> From: Andrei Vagin <avagin@virtuozzo.com>
>
> Start test
> ./mxcsr --pidfile=mxcsr.pid --outfile=mxcsr.out
> Run criu dump
> Unable to kill 44: [Errno 3] No such process <--------------- this one
> Run criu restore
> Run criu dump
>
> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
> ---
> test/zdtm.py | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/test/zdtm.py b/test/zdtm.py
> index 2abeb426d..8ed161471 100755
> --- a/test/zdtm.py
> +++ b/test/zdtm.py
> @@ -320,8 +320,7 @@ def wait_pid_die(pid, who, tmo = 30):
> while stime < tmo:
> try:
> os.kill(int(pid), 0)
> - except Exception, e:
> - print "Unable to kill %d: %s" % (pid, e)
> + except OSError, e:
> break
>
> print "Wait for %s(%d) to die for %f" % (who, pid, stime)
> --
> 2.13.6
>
_______________________________________________
CRIU mailing list
CRIU@openvz.org
https://lists.openvz.org/mailman/listinfo/criu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic