Many of the tests in if_bridge_tests create new epair interfaces and
then add them to a bridge.
If devd is running, devd will attempt to configure these interfaces
based on the host's /etc/rc.conf, and may enable IPv6 on the new
interface (for example, if ipv6_activate_all_interfaces is enabled),
causing an IPv6 link-local address to be assigned to the epair. This
causes the test to fail if net.link.bridge.member_ifaddrs is set to 0,
which is the default.
Fix this by running the tests in a jail, so there is no devd to
interfere with our new interfaces.
Unfortunately, while this should improve overall test performance by
allowing these tests to be parallelised, destroying the epairs inside a
vnet is a lot slower, which causes the many_bridge_members test to time
out in its cleanup trying to destroy 512 epairs. Fix this by doing the
epair destroy in the test body instead.