From nobody Fri Sep 20 11:39:56 2024 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 4X99RK1DFlz5WdwT; Fri, 20 Sep 2024 11:39:57 +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 4X99RJ5FVNz4lPR; Fri, 20 Sep 2024 11:39:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726832396; 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=jVCbZNMiCco4DbNvvZaXBDQXj4mg0j5beNYzWAW0qiE=; b=CrBx4EEUfqA33sr6eu0gTyagE/QEZiV6aLmejDzV5sJBzChAbbhIBkgp1PFdLxqkR0g66m OY+1bL8hfu2+/Un5dAZaxBEu1GDtQHCKbY+EPyGyU84pi81RKm0/sHOslfuASsKIhzFY2h sxHwVonlcuS0yJd5YqcdrHgXs1srkSRN/YqJKGNU4Uq0nVwS1sxvUeW65giPhG31T7sfbK FLgjAI3u/f8Lm1JJv+STLWkbA49/BMj7AHCrf4prDZNrWijb02eB2j/o7ehOyS53N5YXem xFzny/RfhnwckCTN12+wUgNBWeCJpdz4v+AyecPMpJ/i3WX4yG2BC8GOe4lWVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726832396; a=rsa-sha256; cv=none; b=J30u6ikJw9kuPQxwrvUic5kgOF7K51EE8Sf0LBtrj28KDXxT5JWNrGkNQmkCzQ5pes/TwZ wIHh36vYilOwvj+9O0uYAyQ/DepzeM01+NwToJtMu//p3tGljTmfkAYKmI+vgYNui/g6nR RrlMgY3aut5FgUpHb5bzW3asioE/Ti05CQm7XRRJ3xNo4EKhT0q+tjT0vPX0s3ncgOJBEm 1bSZUXMlDDKhwT+jgOD7LEmbUhpGNXYt/nVHQl2VGuoCgUqQBang94C6jWRvWdvC/SpMBN /oYK9WnWDKq08DsRXNP0hp/GjznwrYIYdZAtAvErG/KCA9MrApCvavOzkzK1dg== 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=1726832396; 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=jVCbZNMiCco4DbNvvZaXBDQXj4mg0j5beNYzWAW0qiE=; b=eFQV8PAmNld0sokYENIu91CbZjwIHxkMx52YgfVmQ5IuzmAJ00bBxwt6guL5t757WibiCV Wn80kI5D3hiqP4MB6Mfa3AZy8wlpwyKjIFuPqyFQmaKssODgV+y3DwUhuU8W7r7kI1JP+X LhJFdzzPJjsTyCuWLcUCLxZESSX0fDcAkFhxCSsGSAhM46vyD6+t+y/991HP/DKJWSObyg AhzSdXBoS+mEvI7yIZkNgyZ0Fs7BIVx6TPqIpGtdEYRV7n000VuCK1S362atxtp5VcKm5v 5x10ErOjAUWjzegtIGjskqT0/56qUQn7jKg12ug/vEp5eUBsCX/qaaday8hn2g== 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 4X99RJ4rBrznmR; Fri, 20 Sep 2024 11:39:56 +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 48KBdufP004351; Fri, 20 Sep 2024 11:39:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48KBdusf004348; Fri, 20 Sep 2024 11:39:56 GMT (envelope-from git) Date: Fri, 20 Sep 2024 11:39:56 GMT Message-Id: <202409201139.48KBdusf004348@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 6f636541a3b1 - stable/14 - capsicum tests: Serialize functional tests 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 6f636541a3b1fe14a6f85f457c12cf8a7159a121 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6f636541a3b1fe14a6f85f457c12cf8a7159a121 commit 6f636541a3b1fe14a6f85f457c12cf8a7159a121 Author: Mark Johnston AuthorDate: 2024-09-03 14:39:02 +0000 Commit: Mark Johnston CommitDate: 2024-09-20 11:39:16 +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 (cherry picked from commit 41ece3c036bda3d4da321989ee59d0555c10d603) --- tests/sys/capsicum/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/sys/capsicum/Makefile b/tests/sys/capsicum/Makefile index 542c6720521c..2dc499a14b42 100644 --- a/tests/sys/capsicum/Makefile +++ b/tests/sys/capsicum/Makefile @@ -14,6 +14,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 \