From nobody Sun Dec 12 18:11:10 2021 X-Original-To: dev-commits-src-branches@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 5898318E7E71; Sun, 12 Dec 2021 18:11:11 +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 4JBt4G4T1vz3jZm; Sun, 12 Dec 2021 18:11:10 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7AAA025B09; Sun, 12 Dec 2021 18:11:10 +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 1BCIBAQP063880; Sun, 12 Dec 2021 18:11:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BCIBAid063879; Sun, 12 Dec 2021 18:11:10 GMT (envelope-from git) Date: Sun, 12 Dec 2021 18:11:10 GMT Message-Id: <202112121811.1BCIBAid063879@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: a385d31d4631 - stable/12 - net tests: fix if_stf:6to4 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: a385d31d4631b3bf9588c4b3ae0e92fcd28bd4de Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639332670; 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=kPWZNwfNen79xHn2O32x9zof4xGMO4uLRz6rg5QhcRE=; b=xut2FCancIYtQlkN2JFmVuaOODyKojOj6FuURKNVdX9IYExUqjK1PUU5PoSMMU5vWQXIGs 9oL3E29digDj7rNER/NKSIJPwLcANNCGWzP8nGP0uikJD3JzaAGDzJm1uNE+Gi0XxO1s1Z +USr0dso/QlxbtzNUobTpP36Qv2a5NzVBCurQQ8fgAXIjHuHqXpGqI5UJ7M22Ji0hRbDyv jelgegTVRlArSML3wXPxV9MW7Y+xgLTW0QPplwaP4QwrVBZRUf4vHL6AAPHAEJtqY+kF9J evPBYHfPOCnwobaonDnNpjXfDz7dlcULS9QLAGDnuGgrL7QS3VgJyzHF4i/jKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639332670; a=rsa-sha256; cv=none; b=QhmjiCRukGyReEVrrWmxqlntY8uiFIpyRv5OAIaLcVUu8lJBpJzORidrC0vRApBOQK9rQB Z/zyED13x1GIypibC9WlLKp0lQ9pKiK7/4WL3C7BMheMKJuXib6SOIYFCKIESo5VReToMz YCkE/vYbMqqCSBIdlcVurKihwZHqXPoDlw4vl9n0HXgOVM79Uxbh+/BUc5XnLWt6UkMjMT z8Jqok/tEeMMEm1TcvukJBlF/ns6mSjgw1dJo8IY9vkIocP9tTj1dwlijeJqvqqZQcyabl /a0p+KWKJ24mvJZzVCHylJ24vvC28evbLOuvHf4BIRE+J2Fc4N0jx9kDoU1BDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=a385d31d4631b3bf9588c4b3ae0e92fcd28bd4de commit a385d31d4631b3bf9588c4b3ae0e92fcd28bd4de Author: Kristof Provost AuthorDate: 2021-11-10 11:02:34 +0000 Commit: Kristof Provost CommitDate: 2021-12-11 09:39:17 +0000 net tests: fix if_stf:6to4 This test needs to have the loopback interface enabled, or route lookups for our own IP addresses will fail. MFC after: 3 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33041 (cherry picked from commit 67573b7a39b19e39536a68563fed0d940604e573) --- tests/sys/net/if_stf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/sys/net/if_stf.sh b/tests/sys/net/if_stf.sh index af53f7bdb5dd..ea7f90f09e9e 100644 --- a/tests/sys/net/if_stf.sh +++ b/tests/sys/net/if_stf.sh @@ -41,7 +41,7 @@ atf_test_case "6to4" "cleanup" atf_skip "This test requires if_stf" fi if ! kldstat -q -m if_gif; then - atf_skip "This test requires if_stf" + atf_skip "This test requires if_gif" fi epair=$(vnet_mkepair) @@ -56,6 +56,7 @@ atf_test_case "6to4" "cleanup" jexec relay route -6 add default -interface $gif vnet_mkjail client ${epair}b + jexec client ifconfig lo0 up jexec client ifconfig ${epair}b 192.0.2.2/24 up stf=$(jexec client ifconfig stf create) jexec client ifconfig $stf inet6 2002:c000:0202::1/32 up no_dad