From: Frantisek Sumsal Date: Mon, 3 Jul 2023 19:38:42 +0000 (+0200) Subject: test: wait for the interface to become routable after reconfiguring X-Git-Tag: v254-rc1~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2492d39baa71748a20e774e7c95aec04571698a;p=thirdparty%2Fsystemd.git test: wait for the interface to become routable after reconfiguring Since 6e8477edd3 TEST-75 started failing with: [ 571.468298] testsuite-75.sh[46]: + for addr in "${DNS_ADDRESSES[@]}" [ 571.468298] testsuite-75.sh[46]: + run delv @fd00:dead:beef:cafe::1 -t A mail.signed.test [ 571.468899] testsuite-75.sh[562]: + tee /tmp/tmp.qKlHPbCCJZ [ 571.469317] testsuite-75.sh[561]: + delv @fd00:dead:beef:cafe::1 -t A mail.signed.test [ 571.501381] testsuite-75.sh[562]: ;; network unreachable resolving 'mail.signed.test/A/IN': fd00:dead:beef:cafe::1#53 [ 571.501564] testsuite-75.sh[562]: ;; resolution failed: SERVFAIL [ 571.515457] testsuite-75.sh[46]: + grep -qF '; fully validated' /tmp/tmp.qKlHPbCCJZ Let's wait for the dns0 interface to become routable again after re-enabling IPv6 to, hopefully, mitigate this. --- diff --git a/test/units/testsuite-75.sh b/test/units/testsuite-75.sh index ddea2e93e4f..c9d4ca16d87 100755 --- a/test/units/testsuite-75.sh +++ b/test/units/testsuite-75.sh @@ -29,6 +29,7 @@ disable_ipv6() { enable_ipv6() { sysctl -w net.ipv6.conf.all.disable_ipv6=0 networkctl reconfigure dns0 + /usr/lib/systemd/systemd-networkd-wait-online --ipv4 --ipv6 --interface=dns0:routable --timeout=30 } monitor_check_rr() (