[lxc-devel] [PATCH 2/2] tests: require criu >= 1.3.1 for criu test

Serge Hallyn serge.hallyn at ubuntu.com
Fri Sep 12 23:06:14 UTC 2014


Quoting Tycho Andersen (tycho.andersen at canonical.com):
> CRIU 1.3 has a pretty crippling deadlock which will cause dumping containers to
> fail fairly often. This is fixed in criu 1.3.1, so we shouldn't run the tests
> on anything less than that.
> 
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/tests/lxc-test-checkpoint-restore | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/tests/lxc-test-checkpoint-restore b/src/tests/lxc-test-checkpoint-restore
> index c25d941..181b693 100755
> --- a/src/tests/lxc-test-checkpoint-restore
> +++ b/src/tests/lxc-test-checkpoint-restore
> @@ -21,7 +21,7 @@ verlte() {
>  
>  criu_version="$(criu --version | head -n1 | cut -d' ' -f 2)"
>  
> -if verlte "$criu_version" "1.3"; then
> +if verlte "$criu_version" "1.3.1"; then
>  	echo "SKIP: skipping test because no (or wrong) criu installed."
>  	exit 0
>  fi
> -- 
> 1.9.1
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list