Hi Andrii,
On Tue, Jul 28, 2020 at 10:13 PM CEST, Andrii Nakryiko wrote:
[...]
We are getting this failure in Travis CI when syncing libbpf [0]:
ip: either "local" is duplicate, or "nodad" is garbage
switch_netns:PASS:unshare 0 nsec
switch_netns:FAIL:system failed
(/home/travis/build/libbpf/libbpf/travis-ci/vmtest/bpf-next/tools/testing/selftests/bpf/prog_tests/sk_lookup.c:1310:
errno: No such file or directory) system(ip -6 addr add dev lo
fd00::1/128 nodad)
#73 sk_lookup:FAIL
Can you please help fix it so that it works in a Travis CI environment
as well? For now I disabled sk_lookup selftests altogether. You can
try to repro it locally by forking https://github.com/libbpf/libbpf
and enabling Travis CI for your account. See [1] for the PR that
disabled sk_lookup.
[0] https://travis-ci.com/github/libbpf/libbpf/jobs/365878309#L5408
[1] https://github.com/libbpf/libbpf/pull/182/commits/78368c2eaed8b0681381fc34d6016c9b5a443be8
Thanks for your help!
"nodad is garbage" message smells like old iproute2. I will take a look.
Thanks for letting me know.