From mboxrd@z Thu Jan 1 00:00:00 1970 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 D09B75A004E for ; Thu, 25 Jul 2024 13:28:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721906911; 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=eAQ4GyrQDRiDNnHxZWYFKRhXUtFelhZ/38AN9AXxYHU=; b=WhATf/auZXask57nxpv3lXEQ6ZELu2KmOOYPJwNRuDxypnTW8ns6Y/NHsAF791Gek19uTk BpYfhnucj/FFszwpO7U8oAtmJ07xUHgUv1sgQozx83pvlAHH/8+dXeEj9BuEXfq2ThjbZ3 vq//30dRRyoyTcuI5evfhipUjDUxjV8= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-649-A4gctr0oM9mZ9SIWnzwyww-1; Thu, 25 Jul 2024 07:28:30 -0400 X-MC-Unique: A4gctr0oM9mZ9SIWnzwyww-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-79f19ccf108so90616385a.2 for ; Thu, 25 Jul 2024 04:28:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721906909; x=1722511709; 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=eAQ4GyrQDRiDNnHxZWYFKRhXUtFelhZ/38AN9AXxYHU=; b=WlbDnEGC9GIXhmQ5OVTHyDzJ+0pN4PlWLWOuB+6/kISdMMpieog/Vpzh7b5KhgUSWH YvcXyk1ZUdqGS5cCjWEQDSR29ejJpXoeW+el5paaXsYZFAEtWKTs/CMW4LPZeVNxpiJz 9rbZNhzn4+V/cCI2R4tWdAXGZ1oEG/MUxjPKk1QP3+aXyTp+VrYUy9aTusEkWeDpQMoA 2DbaSqHiI1XG/udlr8YxMb8SFbxXq8+CeoX1ecjh5c3EtMse4RPHK6iRZEzBWsfferqe pjJ8l29x5GadiinfuzawhiIiV4RloncLfhwX0vpiyDxNEKsXdjaRdfaZyfUF+8LvmQgk t3Eg== X-Gm-Message-State: AOJu0YwcowOG1ZiG7m9lJb+/6M97BMwW736f7ommNY1CrzUQ1QtXN8Bq rp+Kcl5NbVp/4wmwxGEaLr6ZoUZCV3TDyR7eM4tJt6XnLx45W8O2Yj4Hv/5lk8LzbmiWYJ/6YLL qxewiwfnbzhULkf2Szf0quSGsL0lc9xme7DkAlafcZIxtuy7b7z6rWZ9r3Qih X-Received: by 2002:a05:620a:280b:b0:79f:14ee:7d08 with SMTP id af79cd13be357-7a1d458581fmr308253785a.62.1721906909303; Thu, 25 Jul 2024 04:28:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrfsM7sipZQ5tDIIt4QWBdZpY+bHMxPy0/RI1RLzZFYIgxufEOLJbTonmYAXn3gAq5h6zj7A== X-Received: by 2002:a05:620a:280b:b0:79f:14ee:7d08 with SMTP id af79cd13be357-7a1d458581fmr308252185a.62.1721906908982; Thu, 25 Jul 2024 04:28:28 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a1d7395b60sm70663685a.21.2024.07.25.04.28.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jul 2024 04:28:28 -0700 (PDT) Date: Thu, 25 Jul 2024 13:27:54 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH] test: Fix spurious test failure with systemd-resolved Message-ID: <20240725132754.43cfb72c@elisabeth> In-Reply-To: <20240725065042.2731382-1-david@gibson.dropbear.id.au> References: <20240725065042.2731382-1-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: XF4RGZFYX3PG6RIRLTU4ETKN2XGMJ6SD X-Message-ID-Hash: XF4RGZFYX3PG6RIRLTU4ETKN2XGMJ6SD 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, 25 Jul 2024 16:50:42 +1000 David Gibson wrote: > systemd-resolved has the rather strange behaviour of listening on the > non-standard loopback address 127.0.0.53. Various changes we've made in > passt mean that we now usually work fine on a host using systemd-resolved. > However our tests still fail in this case. We have a special case for when > the guest's resolv.conf needs to differ from the host's because the > resolver is on a host loopback address. However, we only consider the case > where the host resolver is on 127.0.0.1, not other loopback addresses. > > Correct this with a different test condition. > > Signed-off-by: David Gibson Applied. -- Stefano