Page MenuHomeFreeBSD

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

Authored by markj on Tue, May 19, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 9:12 PM
Unknown Object (File)
Mon, May 25, 9:05 PM
Unknown Object (File)
Mon, May 25, 12:54 AM
Unknown Object (File)
Sun, May 24, 7:46 PM
Unknown Object (File)
Fri, May 22, 6:51 PM
Unknown Object (File)
Thu, May 21, 6:48 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.Tue, May 19, 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.Wed, May 20, 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.