From nobody Tue Jun 13 15:26:49 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QgXTj6F8pz4dB8k; Tue, 13 Jun 2023 15:26:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QgXTj5pBLz4H6q; Tue, 13 Jun 2023 15:26:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686670009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LAqkLW3jJNczkAEfVr5oY8EcIjNvfuHJwf5J3zKuGVQ=; b=KCgmn+bHpNd4RfbJU0H7bx9b+NTVG/+7WbFA1K54RLzJf0G+wQMLDaTC0sNUCInS5RYHJi o9oS45iaKnaw/DeXT3oKMkYvq8Pe2K3DKBsdw1YZO0h/1i6VewlMaHFechC4X/4RPbGSUJ 3H8rpp7tYnNY8s7rBgQSzt4P05a3VxBE7J2/F8sIrRfguJiLOavChQn7XjG+/Cbpxzt5h9 +xZHyxvwIhzY7Ye63ehP9IaeDkt6mT07GJCuDszXgYEH5V0uH5nTkTjL5b1Ymlio5wZRAA 5TrDVFe9otN9Wiuhuxct+3+bnSaaqBJgnczjXZf7RDEK+2s5uj91tZxyHITBgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686670009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LAqkLW3jJNczkAEfVr5oY8EcIjNvfuHJwf5J3zKuGVQ=; b=DQnHWHWbigBGxnuac1/MNHH/SXh+uB+bgpAx3wJFLDsfwrZBqy9OPYsHC/aPeu0GipcH40 cCXwhXReMoNI/An5vEatU7Duh3IWDf1agoPwHOOvboAhcG1dMABxyX5tkejsX+1Ymy7NIV 0LFlfdeYgML6ciYE02bO5eNwRmLOj+Z03VyazrK2pzGeRDQTsATGJrg5oIXUYwvgZg41pZ 5AnTWglkwwSNoOcIMI9oJJA/6A/wqOqoh1HQko6+u0FKvkcpTOVdFPLlYDUDBeDX9kJImG UhMzt5rs5BfgELTkrUFdeNe0HMq8ZRxfWkj6qVm3RWVHEroBVcReec/kBrhe+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686670009; a=rsa-sha256; cv=none; b=tQ1929FvEbGOkKDuDESp5SXFoE2dXjECGCL+lQ+tbJs0prfFubKFhz6aF13Knv0zyh5Skg btAisQXQ0fQSQMz8Rj7SQ+hiVt7xJ0KdpGSkMRPh7k1WdeKZiBCzuwfHzSbt16Gbxvksvx c6yJGNEbtsEC8wbzXiYJETMG71GAQjQ/edF7n/SK3jyDbECEOK+Y+prKE8kA/JmAgkCRtW Uw2R/+S+F32EQ9t8uHBU1X5xVGiPZ5XrD7FCD41yRbHFlZEXm0amxrTmVrwW4Ni8jWeHfh VHeuEKMzRjddwaMrJNO7sYcZ5IuFnXBuy84pbwmJX7tOeQnL7VomFOX2ZgKofw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QgXTj4rg8zRyH; Tue, 13 Jun 2023 15:26:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35DFQnEn023970; Tue, 13 Jun 2023 15:26:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35DFQn11023969; Tue, 13 Jun 2023 15:26:49 GMT (envelope-from git) Date: Tue, 13 Jun 2023 15:26:49 GMT Message-Id: <202306131526.35DFQn11023969@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 9247238cc4b8 - main - netlink: fix failing TestRtNlAddIfaddrLo::test_add_6 tests. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9247238cc4b8835892a47701136b0fd073f8d67c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=9247238cc4b8835892a47701136b0fd073f8d67c commit 9247238cc4b8835892a47701136b0fd073f8d67c Author: Alexander V. Chernikov AuthorDate: 2023-06-13 15:24:24 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-06-13 15:26:44 +0000 netlink: fix failing TestRtNlAddIfaddrLo::test_add_6 tests. Recent netlink commit added hook for calling IPv6 code upon implicit inteface bring-up on adding first interface address. This hook handles link-local ifa addition for the loopback interface, resulting in failed assertion in the loopback tests. Fix the tests by fixing the assert. --- tests/sys/netlink/test_rtnl_ifaddr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/netlink/test_rtnl_ifaddr.py b/tests/sys/netlink/test_rtnl_ifaddr.py index c7d6d86e781b..48e53502df54 100644 --- a/tests/sys/netlink/test_rtnl_ifaddr.py +++ b/tests/sys/netlink/test_rtnl_ifaddr.py @@ -698,7 +698,7 @@ class TestRtNlAddIfaddrLo(RtnlIfaOps): self.send_check_success(msg) lst = self.get_ifa_list(iface.ifindex, self.get_family_from_ip(ifa.ip)) - assert len(lst) == 1 + assert len(lst) == 2 # link-local should be auto-created as well rx_msg = self.find_msg_by_ifa(lst, ifa.ip) assert rx_msg is not None