Page MenuHomeFreeBSD

tests/sys/netgraph: Further CI fixes
ClosedPublic

Authored by arichardson on Mar 19 2021, 2:57 PM.
Tags
None
Referenced Files
F135371600: D29340.id.diff
Sun, Nov 9, 5:19 AM
F135351988: D29340.id86023.diff
Sun, Nov 9, 12:57 AM
Unknown Object (File)
Sun, Nov 2, 4:25 AM
Unknown Object (File)
Thu, Oct 30, 4:11 PM
Unknown Object (File)
Wed, Oct 29, 9:31 AM
Unknown Object (File)
Wed, Oct 29, 9:30 AM
Unknown Object (File)
Wed, Oct 29, 9:29 AM
Unknown Object (File)
Wed, Oct 29, 9:10 AM

Details

Summary

I was trying to debug why this test is working locally but failing in CI.
While doing so I made some small changes to allow running it with set -e.

It turns out the problem is that find_iface does not return anything in
Jenkins, so all following tests fail with obscure error messages.
To handle this case exit early if $eth is empty.

Diff Detail

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