From 27c23b0748eee6ecda9fdc98e68f421c72dbfb3c Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 1 Oct 2019 09:15:30 +0200 Subject: [PATCH] gitlab-ci: workaround unit test failure for iproute2 bug in "ubuntu:devel" "ubuntu:devel" ships iproute2 version "5.2.0-1ubuntu1". This has a well known bug that prevents it from creating IP tunnels during the unit tests. We already workaround that on Debian. Add the same workaround to match the Ubuntu package. (cherry picked from commit 44193d3def785d45733ab6e72a0d9b348e4fb31c) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 194f8e18be..44aa2ed00c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,7 @@ stages: # 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) + - date '+%Y%m%d-%H%M%S'; ! ( dpkg -s iproute2 | grep -q '^Version[:] 5.2.0-1\(ubuntu1\)\?$' ) || (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