mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
zdtm: suppress useless error messages
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> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
This commit is contained in:
@@ -313,8 +313,7 @@ def wait_pid_die(pid, who, tmo = 30):
|
|||||||
while stime < tmo:
|
while stime < tmo:
|
||||||
try:
|
try:
|
||||||
os.kill(int(pid), 0)
|
os.kill(int(pid), 0)
|
||||||
except Exception, e:
|
except OSError, e:
|
||||||
print "Unable to kill %d: %s" % (pid, e)
|
|
||||||
break
|
break
|
||||||
|
|
||||||
print "Wait for %s(%d) to die for %f" % (who, pid, stime)
|
print "Wait for %s(%d) to die for %f" % (who, pid, stime)
|
||||||
|
Reference in New Issue
Block a user