Page MenuHomeFreeBSD

tests/net: Run all tests with execenv=jail and enable parallelism
ClosedPublic

Authored by markj on May 19 2026, 3:23 PM.
Tags
None
Referenced Files
F160453815: D57094.diff
Wed, Jun 24, 3:28 PM
Unknown Object (File)
Wed, Jun 17, 10:02 PM
Unknown Object (File)
Tue, Jun 16, 9:56 AM
Unknown Object (File)
Thu, Jun 11, 5:07 AM
Unknown Object (File)
Sun, Jun 7, 2:17 AM
Unknown Object (File)
Sun, Jun 7, 2:13 AM
Unknown Object (File)
Fri, Jun 5, 9:51 PM
Unknown Object (File)
Thu, Jun 4, 7:13 PM

Details

Summary

This has been stable in my testing, and enabling parallelism speeds up
test runs considerably. In particular, with -v parallelism=16 in a
16-vcpu bhyve VM my test runs go from ~50m to ~40m; the exact numbers
depend on the kernel config in use.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.May 19 2026, 3:23 PM
pouria added subscribers: zlei, pouria.

After @zlei work on VNET. I think it's better to remove is_exclusive=true.
Tested, LGTM

This revision is now accepted and ready to land.May 20 2026, 9:57 AM

After @zlei work on VNET. I think it's better to remove is_exclusive=true.
Tested, LGTM

Looks good to disable is_exclusive right now. Please let me know if new panic occurs.

BTW, all network related tests shall run great with execenv=jail ( vnet jail ). The vnet jail is naturally a good mean to isolate those network related tests.