summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-07-12 10:31:49 +0200
committerThomas Haller <thaller@redhat.com>2019-07-12 10:45:36 +0200
commitbe76d8b624fab99cbd76092ff511e6adc305279c (patch)
treeb17144ef995f1193d523daeb0e26d8e984631087
parent13b4cad989bab035c5f1cbb3edc9f05d2b692b4f (diff)
downloadNetworkManager-be76d8b624fab99cbd76092ff511e6adc305279c.tar.gz
gitlab-ci: workaround build failure in Debian:sid due to iproute2 issue
Our platform unit tests try to add an IP tunnel using iproute2. That fails with "add tunnel "ip6tnl0" failed: File exists" This is a bug in iproute2-5.2.0, see [1]. Workaround the issue by downgrading the package. [1] https://www.spinics.net/lists/netdev/msg584916.html
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 908d5f04de..9d54b12ed3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,6 +43,10 @@ stages:
- date '+%Y%m%d-%H%M%S'; pip3 install meson
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-ci-install-valgrind-in-ubuntu1604.sh
+ # iproute2 5.2.0 on debian:sid causes our unit tests to fail.
+ # Downgrade to a working version. See https://www.spinics.net/lists/netdev/msg584916.html
+ - date '+%Y%m%d-%H%M%S'; ! ( dpkg -s iproute2 | grep -q '^Version[:] 5.2.0-1$' ) || (curl 'http://ftp.debian.org/debian/pool/main/i/iproute2/iproute2_4.20.0-2_amd64.deb' --output /tmp/iproute2_4.20.0-2_amd64.deb && dpkg -i /tmp/iproute2_4.20.0-2_amd64.deb)
+
.do_build: &do_build
stage: test
script: