From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ATzXqFMT; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id ACFE25A0262 for ; Thu, 17 Oct 2024 10:45:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729154735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xtk3MHv/aXPOJ9+CuYfvR9fVNwjtUOE04sc4Qvd+aZ8=; b=ATzXqFMTEHvtWZmDSVRJISXwP42j0ODPxkyMEdiB8+ywckL4TnMlk8vxsezOevM15UD6UV DfiNv3loPuWcikW1/rUuFWCwiaaWbIiKYd2rykf2Hk1AIRZzFMf/Poowl4AdVwGjWAoiWP z2IXHaJVXaly+/BxrSU3DJeYjMSlsJQ= Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-587-FFpNGehpPuCTsuCBwbAj9A-1; Thu, 17 Oct 2024 04:45:34 -0400 X-MC-Unique: FFpNGehpPuCTsuCBwbAj9A-1 Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-71dd55880d3so1006228b3a.0 for ; Thu, 17 Oct 2024 01:45:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729154733; x=1729759533; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Xtk3MHv/aXPOJ9+CuYfvR9fVNwjtUOE04sc4Qvd+aZ8=; b=vdcNk7JJj1kUnPrVHlDWjJFGVxZ6VoYGkwUlz9loT1HCicIgclPi2QfILuFm41ACAp 65X5lbuzMUZ/OgIzwCDKAJo06BqXH4CPH6zYEveJhFjk9goe4RmRdu6G6b85+nt0ZETo nRAaO/4KkGhfWpPaUBB2YogVBd//4w4rw0E3NCz8tJwUiFiUi651BpjO+Tx2XutDOgGF IDDAkyh2Irdk93Wx8rcb26OZzyqfCr6SHDFBTXyLJITYSmYv6wK3agH8PcMHu42oO6gF pf7KVZzcysETxOEBEBPB34wWig7lPHg6lKgw3lGARuI3U5eiwzanNa6LMXcviDUQDE6a KPvw== X-Gm-Message-State: AOJu0Yz0y2dBiIedlCflXnyRdUeILO/4VzTFhKJXQjEEJD/Y/N8HWpTb sobd2xqX1jr3ViW7ZyR1gC0ynYiVxpVrFW3KP0xor9Aby4LyTxeJhgHxVecCYuUrkvKWRl/RDke 7/5nsgwI99apXVvS/Wb2s0PztOFviqnPLgumU/pn6xXGNxlpuNymnRtOa1g== X-Received: by 2002:a05:6a00:2401:b0:71d:fe19:83ee with SMTP id d2e1a72fcca58-71e4c151a6emr29455245b3a.10.1729154732814; Thu, 17 Oct 2024 01:45:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHn+/X38vVBELmDhP+ZOsi4FG0MbzC2rHTihISFiAlC4QlkKlw7dKqLOGTDAB9iTG8kWiA3jw== X-Received: by 2002:a05:6a00:2401:b0:71d:fe19:83ee with SMTP id d2e1a72fcca58-71e4c151a6emr29455226b3a.10.1729154732402; Thu, 17 Oct 2024 01:45:32 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e77518a5fsm4243794b3a.214.2024.10.17.01.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 01:45:31 -0700 (PDT) Date: Thu, 17 Oct 2024 10:45:29 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v4 3/7] test: Wait for DAD on DHCPv6 addresses Message-ID: <20241017104529.5a92aa31@elisabeth> In-Reply-To: <20241017053304.909386-4-david@gibson.dropbear.id.au> References: <20241017053304.909386-1-david@gibson.dropbear.id.au> <20241017053304.909386-4-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: RXPWQX4KZWUQ5QSKEQQNNKUUWBXHV2A3 X-Message-ID-Hash: RXPWQX4KZWUQ5QSKEQQNNKUUWBXHV2A3 X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 17 Oct 2024 16:33:00 +1100 David Gibson wrote: > After running dhclient -6 we expect the DHCPv6 assigned address to be > immediately usable. That's true with the Fedora dhclient-script (and the > upstream ISC DHCP one), however it's not true with the Debian > dhclient-script. The Debian script can complete with the address still > in "tentative" state, and the address won't be usable until Duplicate > Address Detection (DAD) completes. That's arguably a bug in Debian (see > link below), but for the time being we need to work around it anyway. > > We usually get away with this, because by the time we do anything where the > address matters, DAD has completed. However, it's not robust, so we should > explicitly wait for DAD to complete when we get an DHCPv6 address. > > Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085231 > > Signed-off-by: David Gibson > --- > test/passt/dhcp | 2 ++ > test/pasta/dhcp | 2 ++ > test/two_guests/basic | 3 +++ What about the equivalent cases in passt_in_ns/dhcp and perf/passt_tcp? -- Stefano