Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 22:08:20 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e97ce8cae292 - stable/15 - tests/if_carp: Run all tests with execenv=jail
Message-ID:  <6a1a0e54.3c8c7.2b87b180@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=e97ce8cae292ecd7130af82aaad1ea0581c7c4fc

commit e97ce8cae292ecd7130af82aaad1ea0581c7c4fc
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-19 14:28:34 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-29 19:46:47 +0000

    tests/if_carp: Run all tests with execenv=jail
    
    Otherwise failures can occur when running tests in parallel since some
    tests reuse jail names.
    
    MFC after:      1 week
    
    (cherry picked from commit eeffed5aa0d9a67adb21bf188515cb374340e9cb)
---
 tests/sys/netinet/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/netinet/Makefile b/tests/sys/netinet/Makefile
index c7626104451b..cdb31b4be23c 100644
--- a/tests/sys/netinet/Makefile
+++ b/tests/sys/netinet/Makefile
@@ -38,6 +38,8 @@ LIBADD.udp_bindings=		pthread
 # Some of the arp tests look for log messages in the dmesg buffer, so run them
 # serially to avoid problems with interleaved output.
 TEST_METADATA.arp+=	is_exclusive="true"
+TEST_METADATA.carp+=	execenv="jail"			\
+			execenv_jail_params="vnet allow.raw_sockets"
 TEST_METADATA.divert+=	required_programs="python"	\
 			execenv="jail"			\
 			execenv_jail_params="vnet allow.raw_sockets"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1a0e54.3c8c7.2b87b180>