From: Daniel Lenski Date: Mon, 29 Mar 2021 02:55:18 +0000 (-0700) Subject: ppp-over-tls tests: fix PPP-over-IPv6 tests on Ubuntu X-Git-Tag: v8.20~327^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b468949db25ff64b9db93a49de5fbebcb8ca3b6c;p=users%2Fdwmw2%2Fopenconnect.git ppp-over-tls tests: fix PPP-over-IPv6 tests on Ubuntu For reasons that are unclear, but probably also unimportant, IPv6 is disabled by default on this CI image (verified in https://gitlab.com/openconnect/openconnect/-/jobs/1135199323#L335), and this will cause PPP tests using IPv6 to fail. Explicitly enabling IPv6 with sysctl resolves this. Signed-off-by: Daniel Lenski --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93403419..dcae72f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -344,6 +344,10 @@ Ubuntu18.04/GnuTLS: - make -j4 # we don't want pppd to invoke any actual connection scripts - mv /etc/ppp /etc/ppp.DISABLED +# For reasons that are unclear, but probably also unimportant, IPv6 is disabled by default on this CI +# image (verified in https://gitlab.com/openconnect/openconnect/-/jobs/1135199323#L335), and this will +# cause PPP tests using IPv6 to fail. So we must explicitly enable IPv6: + - sysctl net.ipv6.conf.all.disable_ipv6=0 # UTF-8 support is not available - make VERBOSE=1 XFAIL_TESTS="auth-nonascii" -j4 check tags: @@ -364,6 +368,10 @@ Ubuntu18.04/OpenSSL: - make -j4 # we don't want pppd to invoke any actual connection scripts - mv /etc/ppp /etc/ppp.DISABLED +# For reasons that are unclear, but probably also unimportant, IPv6 is disabled by default on this CI +# image (verified in https://gitlab.com/openconnect/openconnect/-/jobs/1135199323#L335), and this will +# cause PPP tests using IPv6 to fail. So we must explicitly enable IPv6: + - sysctl net.ipv6.conf.all.disable_ipv6=0 # UTF-8 support is not available # OpenSSL 1.1.0 disables 3DES and RC4 by default (https://www.openssl.org/blog/blog/2016/08/24/sweet32/) - make VERBOSE=1 XFAIL_TESTS="auth-nonascii obsolete-server-crypto" -j4 check