libbpfgo
libbpfgo copied to clipboard
Add selftest for cgroup attach
https://github.com/aquasecurity/libbpfgo/pull/196
selftest:
I have no idea how this happened : https://github.com/aquasecurity/libbpfgo/runs/7815708108?check_suite_focus=true
Maybe we should use make
instead of make -j8
in Makefile?:
https://github.com/aquasecurity/libbpfgo/blob/0850b8cf46a9610acbe6b2c8503fb69a88af4243/Makefile#L129-L138
I have no idea how this happened : https://github.com/aquasecurity/libbpfgo/runs/7815708108?check_suite_focus=true
The difference is that the prior error was in Unit Tests
, the one that you triggered is in Selftests
.
It seems related to https://github.com/aquasecurity/libbpfgo/pull/209#issuecomment-1212114414. I'm doing some tests right now with https://github.com/aquasecurity/libbpfgo/pull/212.
Maybe we should use
make
instead ofmake -j8
in Makefile?:https://github.com/aquasecurity/libbpfgo/blob/0850b8cf46a9610acbe6b2c8503fb69a88af4243/Makefile#L129-L138
Hey @mozillazg, the "-j8" was a way to "accelerate" the libbpf builds by default in most of the envs (even when no number of jobs was informed). If it is causing issue we can remove it for sure (and rely in -j argument).