From nobody Wed Sep 04 14:29:00 2024 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 4WzPxn0F7kz5V14g; Wed, 04 Sep 2024 14:29:01 +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 4WzPxm6qrnz495J; Wed, 4 Sep 2024 14:29:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725460141; 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=vNRuYNHtnHNx58G7XbH6O2eb0pjiNx5W8pXKRWrOJ2s=; b=KNSKFsqxdo71JKAY+4NpEkz9BuQVJvvpLiJXWPpd5+ArJiY8kxStBwS+e8geAAfvqCVaqi UKW6WW/K3KMCluFCx1EWaBKrSkZqXnIbsKCrj8b3aq8ySIH1nGZa1/+sx8RMWIIjkPBIWA XhEPtMwGUxZCcb2MbM6IWJUL693Mpd46plXnIc0id+TMbbUGpZdX4uxjk89esfgd/X+Hsu mDRSVIvNVGKLmj0xV6Z1DLGABlAGzfM9c4GxzkkQGH2XDqk89fazM3oz8gYuIJlXZLBj7g sYp+fLKBnGDiErjdUyH7r3WDUKIKoNwSX4AlT4RuVM9Jo1aMuHYvyOKPHEiQHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725460141; a=rsa-sha256; cv=none; b=LUAqfZ0nKaszxuFGPWzmWcm0I2ftQrK7TpFqMTvKeRAt9FQm8pZY10FVssmKNK70tb5sGK z3vyr8S89/DHfe85/irfcaEK98LOc8FjEEUgbrrHbNNM/F37TIbsVLOz2yvLQCGIooDrBY EWNo34uwQCfsTpcGAC7B1/4XAxo7G/e7+WNK71wLcjIgKW3ZZZlJNn6QzD6wVAYXCL2xdu NnypjX1KoGGKLaKyD5y3BndE4S5TLf/CiY2zPoecK2NsFnzi1/0RxaG/MIgRxicG+pRVU8 o0gVuLi7ST5eZXgcCGfq8nIUPB8eUSNnOGmMWYOROHisMfF6zVm3T0sRkeDJvg== 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=1725460141; 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=vNRuYNHtnHNx58G7XbH6O2eb0pjiNx5W8pXKRWrOJ2s=; b=BeZ/Ff3dsOG5Ioe17sqINcz3dNLC4tU818OBDG5nYKEYrRl1GkAZGwbVRSYY4YgvHmljxq AozbzMt017ZpE8K6TBT8FC2xh++EQDrTQY7+nkoHmAgg9/9jC5tsSX4zN6pVH2WC2LBd9O MWsA1xRVnxSGG2Mwosu4+lD9NS9yI1Ul2afVfZT5QAEukwMSFAdSAJJHtu9A6d4jp5sKuz /MDT+drD8/VnYI7ZekSB+VRtMs60o7a6PvAs5/OjA12PfsnFxD6K6GoX7VuRgGnS2z4QBY eKrSUnYBJk9oiX75aOtXfOQHmRabLnXEqmxkYPGxJd7hf9rIIEA9NXlxIVlTpw== 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 4WzPxm6HpZzSW6; Wed, 4 Sep 2024 14:29:00 +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 484ET0DY066017; Wed, 4 Sep 2024 14:29:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 484ET0o8066014; Wed, 4 Sep 2024 14:29:00 GMT (envelope-from git) Date: Wed, 4 Sep 2024 14:29:00 GMT Message-Id: <202409041429.484ET0o8066014@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 41ece3c036bd - main - capsicum tests: Serialize functional 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org 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: 41ece3c036bda3d4da321989ee59d0555c10d603 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=41ece3c036bda3d4da321989ee59d0555c10d603 commit 41ece3c036bda3d4da321989ee59d0555c10d603 Author: Mark Johnston AuthorDate: 2024-09-03 14:39:02 +0000 Commit: Mark Johnston CommitDate: 2024-09-04 14:28:28 +0000 capsicum tests: Serialize functional tests The test suite runs the same tests twice, as different users, and these can trample over each other when run in parallel, causing spurious test failures. MFC after: 1 week --- tests/sys/capsicum/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/sys/capsicum/Makefile b/tests/sys/capsicum/Makefile index 6d37cfa08056..fd8dcb29d65c 100644 --- a/tests/sys/capsicum/Makefile +++ b/tests/sys/capsicum/Makefile @@ -13,6 +13,10 @@ CFLAGS+= -I${SRCTOP}/tests GTESTS+= capsicum-test GTESTS_WRAPPER_SH.capsicum-test= functional +# This test script runs the same test suite twice, once as root and once as an +# unprivileged user. Serialize them since some tests access global namespaces, +# e.g., mqueuefs, and can trample on each other. +TEST_METADATA.functional+= is_exclusive="true" SRCS.capsicum-test+= \ capsicum-test-main.cc \