From b468949db25ff64b9db93a49de5fbebcb8ca3b6c Mon Sep 17 00:00:00 2001 From: Daniel Lenski Date: Sun, 28 Mar 2021 19:55:18 -0700 Subject: [PATCH] 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 --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.50.1