From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 4/5] test/lib: Wait for DHCPv4 before starting DHCPv6 client in two_guests test Date: Fri, 23 Sep 2022 02:53:26 +0200 Message-ID: <20220923005327.1000042-5-sbrivio@redhat.com> In-Reply-To: <20220923005327.1000042-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5548646483845870850==" --===============5548646483845870850== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I'm not sure why, but dhclient hangs otherwise. This reflects what we do in the passt_in_ns setup steps. Eventually, this whole block could go away if we let pasta configure this network namespace with --config-net. Signed-off-by: Stefano Brivio --- test/lib/setup | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib/setup b/test/lib/setup index d7921bf..7e3f6c3 100755 --- a/test/lib/setup +++ b/test/lib/setup @@ -216,6 +216,7 @@ setup_two_guests() { context_run qemu_1 "/sbin/dhclient -4 --no-pid ${__ifname}" context_run qemu_2 "/sbin/dhclient -4 --no-pid ${__ifname}" + sleep 2 context_run qemu_1 "/sbin/dhclient -6 --no-pid ${__ifname}" context_run qemu_2 "/sbin/dhclient -6 --no-pid ${__ifname}" -- 2.35.1 --===============5548646483845870850==--