The failing test: https://ci.freebsd.org/job/FreeBSD-main-amd64-test/20266/testReport/junit/lib.libnv/nvlist_send_recv_test/nvlist_send_recv__send_many_fds__dgram/ With error message: /usr/src/lib/libnv/tests/nvlist_send_recv_test.c:457: nvl != NULL not met I *think* the problem with this test is that the nvlist_send() fails because the underlying sendmsg() call fails with ENOBUFS. Then, nvlist_recv() returns NULL because it detects that it didn't receive the expected number of file descriptors. Adjusting net.local.dgram.recvspace worked on local machine, however, on CI the test still fails consistently. I'll disable this test for now.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7c9948c2e9199d33e380ddc9de5edfa31f5f9bb7 commit 7c9948c2e9199d33e380ddc9de5edfa31f5f9bb7 Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2022-01-02 21:07:18 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2022-01-02 21:26:07 +0000 skip test case nvlist_send_recv__send_many_fds__dgram If I'm not mistaken, the underlying sendmsg() for nvlist_send() is failing with ENOBUFS. In turn, nvlist_recv() returns NULL because it didn't receive the expected number of file descriptors. Adjusting net.local.dgram.recvspace worked on my local machine, but on CI the test still fails consistently. PR: 260891 lib/libnv/tests/nvlist_send_recv_test.c | 2 ++ 1 file changed, 2 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fbe6da7f7592169ad7c26aa563f4c6305de1e345 commit fbe6da7f7592169ad7c26aa563f4c6305de1e345 Author: Siva Mahadevan <siva@FreeBSD.org> AuthorDate: 2026-02-11 21:05:25 +0000 Commit: Siva Mahadevan <siva@FreeBSD.org> CommitDate: 2026-02-12 15:01:57 +0000 libnv/tests: unskip nvlist_send_recv__send_many_fds__dgram The test passes consistently for 1000+ consecutive iterations. PR: 260891 Reviewed by: oshogbo Approved by: lwhsu (mentor) Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D55223 lib/libnv/tests/nvlist_send_recv_test.c | 2 -- 1 file changed, 2 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9fa21f66e48ba0c00c80a9ed1c8bf1a09e9ecdae commit 9fa21f66e48ba0c00c80a9ed1c8bf1a09e9ecdae Author: Siva Mahadevan <siva@FreeBSD.org> AuthorDate: 2026-02-11 21:05:25 +0000 Commit: Siva Mahadevan <siva@FreeBSD.org> CommitDate: 2026-02-18 16:36:03 +0000 libnv/tests: unskip nvlist_send_recv__send_many_fds__dgram The test passes consistently for 1000+ consecutive iterations. PR: 260891 Reviewed by: oshogbo Approved by: lwhsu (mentor) Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D55223 (cherry picked from commit fbe6da7f7592169ad7c26aa563f4c6305de1e345) lib/libnv/tests/nvlist_send_recv_test.c | 2 -- 1 file changed, 2 deletions(-)