Page MenuHomeFreeBSD

tests/sys/netgraph: Further CI fixes
ClosedPublic

Authored by arichardson on Mar 19 2021, 2:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 10:03 AM
Unknown Object (File)
Dec 20 2023, 5:12 PM
Unknown Object (File)
Dec 20 2023, 7:45 AM
Unknown Object (File)
Dec 14 2023, 8:17 PM
Unknown Object (File)
Nov 9 2023, 1:10 PM
Unknown Object (File)
Oct 8 2023, 12:03 PM
Unknown Object (File)
Sep 17 2023, 5:03 PM
Unknown Object (File)
Sep 14 2023, 3:24 PM

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