Page MenuHomeFreeBSD

tests/sys/netgraph: Further CI fixes
ClosedPublic

Authored by arichardson on Mar 19 2021, 2:57 PM.
Tags
None
Referenced Files
F149359689: D29340.id.diff
Mon, Mar 23, 11:42 PM
Unknown Object (File)
Sat, Mar 21, 1:39 PM
Unknown Object (File)
Wed, Mar 18, 1:24 PM
Unknown Object (File)
Mon, Mar 16, 8:43 AM
Unknown Object (File)
Sun, Mar 15, 8:36 PM
Unknown Object (File)
Sun, Mar 15, 7:04 AM
Unknown Object (File)
Fri, Mar 13, 1:11 PM
Unknown Object (File)
Tue, Mar 10, 7:45 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