[CRIU] [PATCH 0/4] add join-ns option to criu restore

Pavel Emelyanov xemul at virtuozzo.com
Wed Apr 6 02:55:22 PDT 2016


Yup, applied to criu-dev, thanks.

I have a question regarding patch #4 (with test):

> @@ -1226,6 +1231,14 @@ def run_tests(opts):
>  		print "Parallel launch with freezer not supported"
>  		opts['parallel'] = None
> 
> +	if opts['join_ns']:
> +		print "[WARNING] Option --join-ns will skip ns and uns flavors, and some socket related tests."
> +		r = re.compile('^(?!.*sock).*$')
> +		torun = filter(lambda x: r.match(x), torun)
> +		opts['keep_going'] = True
> +		run_all = True
> +		subprocess.Popen(["ip", "netns", "add", "zdtm_netns"])
> +
>  	l = launcher(opts, len(torun))
>  	try:
>  		for t in torun:

Why do you exclude all sock tests from --join-ns run?


More information about the CRIU mailing list