ci: pin CI to dnsmasq 2.85

A temporary path forward to increase CI stability, by pinning
to what appears to be a "good working version" of upstream dnsmasq
which does not crash fon us.

Change-Id: I3295c92fd7b7871ad351b94f4c6cf0f554279db0
(cherry picked from commit f893c740d7)
This commit is contained in:
Julia Kreger 2024-02-29 14:54:40 -08:00
parent 126544966c
commit b32378e1cf
1 changed files with 9 additions and 9 deletions

View File

@ -3357,15 +3357,15 @@ function setup_vxlan_network {
} }
function downgrade_dnsmasq { function downgrade_dnsmasq {
# NOTE(TheJulia): The intent here is to downgrade dnsmasq to the version # NOTE(TheJulia): The intent here is to use dnsmasq version
# shipped with Ubuntu focal, so we can have stable CI. # which does not crash on segfaults or sigabort when configuration
# https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/2026757 # is updated. See https://bugs.launchpad.net/ironic/+bug/2026757
wget http://archive.ubuntu.com/ubuntu/pool/main/d/dnsmasq/dnsmasq-base_2.80-1.1ubuntu1.7_amd64.deb sudo dpkg -r dnsmasq-base
wget http://archive.ubuntu.com/ubuntu/pool/main/libi/libidn/libidn11_1.33-2.2ubuntu2_amd64.deb git clone http://thekelleys.org.uk/git/dnsmasq.git -b v2.85 --depth 1
wget http://archive.ubuntu.com/ubuntu/pool/main/n/nettle/libhogweed5_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb pushd dnsmasq
wget http://archive.ubuntu.com/ubuntu/pool/main/n/nettle/libnettle7_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb sed -i 's|^PREFIX.*|PREFIX = /usr|' Makefile
sudo dpkg -i dnsmasq-base_2.80-1.1ubuntu1.7_amd64.deb libidn11_1.33-2.2ubuntu2_amd64.deb libhogweed5_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb libnettle7_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb || true sudo make install
rm *.deb popd
} }
# Restore xtrace + pipefail # Restore xtrace + pipefail