From nobody Fri Apr 3 15:27:31 2026 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 4fnMzS6pNGz6Ygmv for ; Fri, 03 Apr 2026 15:27:32 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fnMzR5Khdz3hhx for ; Fri, 03 Apr 2026 15:27:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775230051; 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=44Fjypsio+IfQRRzcWMhE7eMLurnGVBYbCrw5Av4vtw=; b=aC9/WYXy7OVw5BwLtZd/DCe0SvlyMJfSCjRJKAIX5MCgyH8EWv5Ugrk09tYbjncDhDaiKb AxLYUZ2kZxdPqX5cQjjnlQOboudT+qfVYbAG3DY3FZ6pUNsp5sC0KS2L8rQceFH725XvTm a0GSi0WPr3ewCBzhzV/S6JOonxuLKPiIsultOKhaHCdxuZqTCoNwvrjdjUKXJhiK8JoMZs dN8wAm+UTZsyVCwkF3oVNh7PZAhsBnqRFFzXrvjnfHufEwnMWTTVCizh6ccQTS7jwRfBYs EK04LpyFV5fR95EZcOsf0NlYtzUXZxRwSXA2fwJieFCZC1flkt7bLdL5lWEhbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775230051; a=rsa-sha256; cv=none; b=K/sYOE6K/vzIZaln8aJsKERxnBVCa7y31KwoH2XveqB3DrnmDx3lN0NUzW1dieKFOtMJgX ikpcUBBKF4mDi0ZYdygzxQT/XIhfN1FY9IIst8SKp3/iCIFQhOT6JeQT8O8le7YZxXqbUN h63wZWyQ7Ex0JOEwsrwI76peou3+E39pxzNbMSVGwiuSJXJNaF1giAtYaE4irYT4ot/p1E NUMsu5lkTzz6zYHPgHle247lbVhK2oVXnvuzwKSztmwg/00g51/OE1OxgmHsAF7hsxBnxd D34AjKDx91KijsgkbW4B0HaqSU79nNLy9d7uwNRA/e3nYAxHi1nLGq4+6KCm7w== 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=1775230051; 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=44Fjypsio+IfQRRzcWMhE7eMLurnGVBYbCrw5Av4vtw=; b=TFve0rBfncjUJ8NU61WA1dc8mvaUHo0jadJ06i+JFNgBAEc/LcnXkJW8cRu1VpC1nyhC9C A8GEio/fbYbBMBm/PQ2IFY0h0vqeAK/PUhNfKAjGbM5gxD5anIz/4eQCXqSb5ij3JwmsTh Zgl2OytOaWSszWXYhu4+Cie9haPUmbaOcaN73TtfXFgK/LHtglPwnX1BBTv7NSlVnxO9O7 c9WpoY3THUYmdvp4TiYxU2nUpRZ6GZAE/WUOsYX/cr92WXG8/NDOptv4behnQ0Xu9zof4g 7ZKkbOnctbnIKsrW2yaS5NwCT0JCNDNfYYc3lsyAadH3jse9LAa8NXx6hQ7cbw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fnMzR4GbkzvKt for ; Fri, 03 Apr 2026 15:27:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ff46 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 03 Apr 2026 15:27:31 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jake Freeland Subject: git: 6e0d0fe9102d - stable/14 - timerfd: Expect periodic timer performance failures 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: jfree X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 6e0d0fe9102d9fe71c01cbe064b6d4e1c2fc0e9b Auto-Submitted: auto-generated Date: Fri, 03 Apr 2026 15:27:31 +0000 Message-Id: <69cfdc63.3ff46.2b80675b@gitrepo.freebsd.org> The branch stable/14 has been updated by jfree: URL: https://cgit.FreeBSD.org/src/commit/?id=6e0d0fe9102d9fe71c01cbe064b6d4e1c2fc0e9b commit 6e0d0fe9102d9fe71c01cbe064b6d4e1c2fc0e9b Author: Jake Freeland AuthorDate: 2026-03-25 22:57:16 +0000 Commit: Jake Freeland CommitDate: 2026-04-03 15:26:56 +0000 timerfd: Expect periodic timer performance failures The current timerfd implementation fails to correctly count events on a nanosecond callout interval. The timerfd__periodic_timer_performance test detects this and reports failure. Mark this test as an expected failure so it isn't flagged by CI. A link to the bug report is attached to the test for reference. While we're here, clean up some minor style and Make issues. Fixes: 834c1ba793d9 ("timerfd: Add tests") MFC after: 1 week (cherry picked from commit cb692380f1e05ffc4184877844e93051f24ed302) --- tests/sys/kern/Makefile | 1 - tests/sys/kern/timerfd.c | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile index d1810610f7f5..4d45a68ef244 100644 --- a/tests/sys/kern/Makefile +++ b/tests/sys/kern/Makefile @@ -45,7 +45,6 @@ PLAIN_TESTS_C+= subr_unit_test ATF_TESTS_C+= sysctl_kern_proc ATF_TESTS_C+= sys_getrandom ATF_TESTS_C+= timerfd -CFLAGS.timerfd+= -I${.CURDIR} LIBADD.timerfd+= pthread ATF_TESTS_C+= tty_pts ATF_TESTS_C+= unix_dgram diff --git a/tests/sys/kern/timerfd.c b/tests/sys/kern/timerfd.c index b24d093b346e..cacc1d9aafa9 100644 --- a/tests/sys/kern/timerfd.c +++ b/tests/sys/kern/timerfd.c @@ -25,11 +25,11 @@ #include #include - #include #include #include #include +#include #include #include @@ -44,8 +44,6 @@ #include #include -#include - /* Time in ns that sleeps are allowed to take longer for in unit tests. */ #define TIMER_SLACK (90000000) @@ -739,6 +737,7 @@ ATF_TC_BODY(timerfd__periodic_timer_performance, tc) uint64_t timeouts; ATF_REQUIRE(read(timerfd, &timeouts, sizeof(timeouts)) == (ssize_t)sizeof(timeouts)); + atf_tc_expect_fail("https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294053"); ATF_REQUIRE_MSG(timeouts >= 400000000, "%ld", (long)timeouts); ATF_REQUIRE(close(timerfd) == 0);