From nobody Fri May 22 14:54:43 2026 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 4gMSx00xhfz6dwv2 for ; Fri, 22 May 2026 14:54:44 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gMSx00S3xz3T6Y for ; Fri, 22 May 2026 14:54:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779461684; 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=G4Cy9sf0cP1Kk6jMsnEdHjUWzHHLr4+vXwmSDiJPkEw=; b=qlEu46GEfWxtDUetHDV1u9YXrqPLCHlbV39Wjg4lQ+ZOK4t2h30VuCZLaxWJO16c1WC6BK kIpJ7ooxypiSHEI196Cf5or6Xxyf79poNg+cbH5HesJ12yoDniJ3DDkuIrfD0UFHHNjzsz iGpC2TKjXlNfk5ZZWKq4FMqmSf0yj4xU1Mg44ND4SweZ/ePcMq95HQcD9vL3OlGHmzAxYr D5W75quBC3WPS0n/GKIcNx9Ab+LMalgzVINsbfP58MTBQK0fb1pK6/FtlBuTkdMiLutzQZ sMfUX17CqKerAcxY5hslhP3WRQlXxSSAy2M1KFK9SD7jV+e7yEC7zD+qbXG7XQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1779461684; a=rsa-sha256; cv=none; b=wWdSrtOMn4SlttIPNTe+yfeL4l8cZ04Lg1qGvhypKjE2ooVGfUjZHExXRpCzpsrfMukO53 tBs5VWu1XSz1A01sFkW2zylChD8P54m2Hql3NgtlRoxnM3GPKfoo54jFyMH3bUwxcA7111 gB00nnf+xUO6ocyA2nOQNySuauuag8VNs7HSY6LrYDlaKiv8ySSUn437i4PQ9ijzPB3EGL Uzx7g3AXKqyzOm0YToocqsB6OWwn++7fMnAPcsZogGn02Ygi07N4GVugXTmT0qri3XPHD1 CHU9Mrq65hr1Baii1OjKIOVwbMzAyDnrYuIOBNZSwGVVnP7/oSYdHAOHoG58GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1779461684; 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=G4Cy9sf0cP1Kk6jMsnEdHjUWzHHLr4+vXwmSDiJPkEw=; b=xY9vWsnS61MmkNk1IP/cPQxKVV5VTrTjdOEhurLjf79Dw7c0JMpj7YhMY1FzfRpxnJy9xB ySiUNzDbgrHtJcSHhjTU9nkWd/OZk5Rfwb4+s6AZWMGSfOopKl1MxH9akQlqRKGJfM6cjz 30sqhZQA35jO6y4gXRKl/m+Sa4mnHgISl+z1GeBdCETIQtiGLiCa2pJpdmFn3O27RxRhik 2Q+r8gP2DeAyyjuR2WnvHKCtxbnjtcg7RsNvrCqtkb9cj2lwnr/mLG6jZDUOL6WpxD62QL kp9iNxqXAQXNWY/bEqn7p9C4vKX+kEHc8+WDH9iNyAoZA84+jGvgiahZZyYXEw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gMSx000lbz9Vd for ; Fri, 22 May 2026 14:54:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1e41c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 22 May 2026 14:54:43 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 6ab30433a73b - main - tests/net: Run all tests with execenv=jail and enable parallelism 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ab30433a73b5e52a0562010b75257bcfc57bcbd Auto-Submitted: auto-generated Date: Fri, 22 May 2026 14:54:43 +0000 Message-Id: <6a106e33.1e41c.42b3d703@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6ab30433a73b5e52a0562010b75257bcfc57bcbd commit 6ab30433a73b5e52a0562010b75257bcfc57bcbd Author: Mark Johnston AuthorDate: 2026-05-22 14:44:08 +0000 Commit: Mark Johnston CommitDate: 2026-05-22 14:44:08 +0000 tests/net: Run all tests with execenv=jail and enable parallelism This has been stable in my testing, and enabling parallelism speeds up test runs considerably. In particular, with -v parallelism=16 in a 16-vcpu bhyve VM my test runs go from ~50m to ~40m; the exact numbers depend on the kernel config in use. Reviewed by: pouria MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D57094 --- tests/sys/net/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/sys/net/Makefile b/tests/sys/net/Makefile index 6dcc23b49b67..b1bd2c06f729 100644 --- a/tests/sys/net/Makefile +++ b/tests/sys/net/Makefile @@ -6,8 +6,6 @@ BINDIR= ${TESTSDIR} ATF_TESTS_C+= if_epair ATF_TESTS_SH+= if_epair_test ATF_TESTS_SH+= if_bridge_test -TEST_METADATA.if_bridge_test+= execenv="jail" -TEST_METADATA.if_bridge_test+= execenv_jail_params="vnet allow.raw_sockets" ATF_TESTS_SH+= if_clone_test ATF_TESTS_SH+= if_gif ATF_TESTS_SH+= if_lagg_test @@ -16,6 +14,8 @@ ATF_TESTS_SH+= if_tun_test ATF_TESTS_SH+= if_vlan ATF_TESTS_SH+= if_wg ATF_TESTS_SH+= if_geneve +TEST_METADATA+= execenv="jail" +TEST_METADATA+= execenv_jail_params="vnet allow.raw_sockets" TESTS_SUBDIRS+= bpf TESTS_SUBDIRS+= if_ovpn @@ -26,11 +26,6 @@ TESTS_SUBDIRS+= routing PROGS+= bridge LIBADD.bridge+= netmap -# The tests are written to be run in parallel, but doing so leads to random -# panics. I think it's because the kernel's list of interfaces isn't properly -# locked. -TEST_METADATA+= is_exclusive=true - ${PACKAGE}FILES+= \ dhclient_pcp.conf \ pcp.py \