Page MenuHomeFreeBSD

build: Enable building and installing DTrace tests by default
Needs ReviewPublic

Authored by lwhsu on Jun 28 2026, 1:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 14, 9:54 AM
Unknown Object (File)
Thu, Aug 13, 1:27 AM
Unknown Object (File)
Mon, Aug 10, 12:49 PM
Unknown Object (File)
Sat, Aug 8, 6:22 PM
Unknown Object (File)
Sat, Aug 8, 9:23 AM
Unknown Object (File)
Sat, Aug 8, 6:00 AM
Unknown Object (File)
Thu, Aug 6, 5:02 PM
Unknown Object (File)
Sun, Aug 2, 1:11 AM
Subscribers

Details

Reviewers
markj
emaste
gnn
Group Reviewers
DTrace
Summary
build: Enable building and installing DTrace tests by default

All tests (not skipped by default) pass now.

Event:		Halifax Hackathon 202606
Location:	YYZ Terminal Link
Sponsored by:	The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74345
Build 71228: arc lint + arc unit

Event Timeline

lwhsu requested review of this revision.Jun 28 2026, 1:12 AM

I have no objection to this but:

  1. I believe the dtrace tests do not run in parallel today. I'm not sure what's involved in fixing that, but it's a lot of extra testing time for a specific component of the system. It takes about an hour to run the dtrace tests on my system, versus about 40 minutes to run the full test suite with parallelism=16. So I will modify my test runner to disable DTrace tests by default; it already has a separate target for the dtrace test suite, as well as zfs, stress2, etc..
  2. Did you verify that all tests pass on all platforms? I suspect you only tested amd64.
  3. Did you verify that all the tests pass with GENERIC-KASAN and GENERIC-KMSAN kernels on amd64? I spent some time getting dtrace to work with sanitizers enabled, but I'm not sure how stable the test suite is with them.