From nobody Thu Oct 17 13:49:52 2024 X-Original-To: dev-commits-src-all@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 4XTq2m3J7rz5Z2DK; Thu, 17 Oct 2024 13:49:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XTq2m264yz4ldB; Thu, 17 Oct 2024 13:49:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729172992; 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=qIUnyiK3y/sV3XxqHtV0d3cgwFsN7+k81knF4avsBDI=; b=CQwnLYNGWmpbZIUJoaaZAokYX9eU9BrqF/axO4P4UhKC4Rp3uI5Wd6zLgZ6NLE4IgdSUOK dVrhQvvOIHS+Dwj7a9tKXI6gvN5wk20kPj0/3JG8notJ70HRwwJmiIIyKy4TbzcVKjb7qx YUN2D9RtPzklfQcuqNGKnE29UbQ/zsZ2hFMAvccyXIKJ+I/iLDLei3H5fx7ZL0sgpkSE9y Lb6I2MXWWJtkqs66ZCzgTpUFMV6V3mOuz2RUTJpw3hI8NgalHm9ratQ3zQjq7S/BTiw38h FGfeW2jw8NXqAcuW73CiF5gYfy/7lQLqnzTFRzkF7xvtbYQMpEY7lW7FQWhx1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729172992; 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=qIUnyiK3y/sV3XxqHtV0d3cgwFsN7+k81knF4avsBDI=; b=knO3VcQndaT08kCUweFrq5gme/FgGVZLzIcQ0SZrFAVQak4rnrl0wF1OpNhXqqYoA6VCjW 7rAkzu7N9CNmkH8c5pxI8cyK9fN1/RmNYWdnVUMxxpo0f5EY79JxOzyXHHD5VyI1I08I5u nvc+zoix6gVwqcVDEMdAj1CQOykQLKcNhe3BdPN5E5ofPRQG7aXYvVbty2nk+HE0eBg0S0 gxQU9HaTl2CmikyyeZ30W1bJ4szGmmnzu6qaK4TtvWZguH2sVHk1TkiACo2awGrXo9XTwG egTSLLw2gNwFfv6MTwUPenNozWIITflZWfS6ECvspFFenwmeO3GaaNH0EhVjcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729172992; a=rsa-sha256; cv=none; b=qOtuEV+jIdx4jlT6XazccW5/jYt/bgQgSPsuRN934zcGmhfNypX3BJg83DwRw7YLCOgt81 Dwhiqt+iXNqbhGOkg1LlyAfTfe6oRsKnDZCKEyIkxduRfL/TPiTAcOGjq4HbUj+GbpAreD QuCO307UFsS8DaL0eg6TCeXE367Sdk2I1xyGGHrFAwFErx8se+FKePbPk0eC3s6GbT6665 /iRE6Hnmlh90lbMXRvrpxa+hJTAygje/cHGLxNSpJLrK4eVyuE2iyym92BJ+jNF1B5QZeK xRN34WR4MReiUQudy1wAGwjoRyoVHDpy211/x1SHByfrS3c2x85FX2HC2SttMw== 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 4XTq2m1j45zs2Q; Thu, 17 Oct 2024 13:49:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49HDnq99044749; Thu, 17 Oct 2024 13:49:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49HDnqTN044746; Thu, 17 Oct 2024 13:49:52 GMT (envelope-from git) Date: Thu, 17 Oct 2024 13:49:52 GMT Message-Id: <202410171349.49HDnqTN044746@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Igor Ostapenko Subject: git: c5fc967cf158 - stable/14 - netpfil tests: run in parallel List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: igoro X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c5fc967cf158f47ff479155b9ee2f9cfa852cd85 Auto-Submitted: auto-generated The branch stable/14 has been updated by igoro: URL: https://cgit.FreeBSD.org/src/commit/?id=c5fc967cf158f47ff479155b9ee2f9cfa852cd85 commit c5fc967cf158f47ff479155b9ee2f9cfa852cd85 Author: Kristof Provost AuthorDate: 2024-07-19 08:03:30 +0000 Commit: Igor Ostapenko CommitDate: 2024-10-17 13:45:29 +0000 netpfil tests: run in parallel Run these tests in their own (vnet) jail so we don't have to worry about IP range or jail name conflicts. Reviewed by: markj Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46040 (cherry picked from commit 4f752a1583dc97d166caae7f844bf42715e99978) Approved by: kp (mentor), markj (mentor) --- tests/sys/netpfil/common/Makefile | 5 +++-- tests/sys/netpfil/ipfw/Makefile | 4 ++++ tests/sys/netpfil/pf/Makefile | 5 +++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/sys/netpfil/common/Makefile b/tests/sys/netpfil/common/Makefile index 0003aac28779..2b6a812482ec 100644 --- a/tests/sys/netpfil/common/Makefile +++ b/tests/sys/netpfil/common/Makefile @@ -13,8 +13,9 @@ ATF_TESTS_SH+= \ fragments \ forward -# Tests reuse jail names and so cannot run in parallel. -TEST_METADATA+= is_exclusive=true +# Allow tests to run in parallel in their own jails +TEST_METADATA+= execenv="jail" +TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets" ${PACKAGE}FILES+= \ utils.subr \ diff --git a/tests/sys/netpfil/ipfw/Makefile b/tests/sys/netpfil/ipfw/Makefile index 1d4629c0e738..78882ef51aec 100644 --- a/tests/sys/netpfil/ipfw/Makefile +++ b/tests/sys/netpfil/ipfw/Makefile @@ -5,4 +5,8 @@ TESTSDIR= ${TESTSBASE}/sys/netpfil/ipfw ATF_TESTS_SH+= fwd ${PACKAGE}FILES+= fwd_inetd.conf +# Allow tests to run in parallel in their own jails +TEST_METADATA+= execenv="jail" +TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets" + .include diff --git a/tests/sys/netpfil/pf/Makefile b/tests/sys/netpfil/pf/Makefile index 9b793417c1d8..085cdf043606 100644 --- a/tests/sys/netpfil/pf/Makefile +++ b/tests/sys/netpfil/pf/Makefile @@ -47,8 +47,9 @@ ATF_TESTS_SH+= altq \ ATF_TESTS_PYTEST+= frag6.py ATF_TESTS_PYTEST+= sctp.py -# Tests reuse jail names and so cannot run in parallel. -TEST_METADATA+= is_exclusive=true +# Allow tests to run in parallel in their own jails +TEST_METADATA+= execenv="jail" +TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets" PROGS= divapp