cilium / tetragon

eBPF-based Security Observability and Runtime Enforcement
https://tetragon.io
Apache License 2.0
3.54k stars 344 forks source link

ci: TestLoader fails on bpf-next (6.5-rc1) and 6.1 #1250

Open kkourt opened 1 year ago

kkourt commented 1 year ago

https://github.com/cilium/tetragon/pull/1247

time="2023-07-19T07:36:15Z" level=info msg="BTF discovery: default kernel btf file found" btf-file=/sys/kernel/btf/vmlinux
=== RUN   TestLoader
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Disabling Cilium API"
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="BTF discovery: default kernel btf file found" btf-file=/sys/kernel/btf/vmlinux
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Starting process manager" enableCilium=false enableK8s=false enableProcessCred=true enableProcessNs=true
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Starting JSON exporter"
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="BTF file: using metadata file" metadata=/sys/kernel/btf/vmlinux
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Loading sensor" name=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Loading kernel version 6.5.0"
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=execve_map path=/sys/fs/bpf/testSensorTracing/execve_map sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=execve_map_stats path=/sys/fs/bpf/testSensorTracing/execve_map_stats sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=execve_calls path=/sys/fs/bpf/testSensorTracing/execve_calls sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=names_map path=/sys/fs/bpf/testSensorTracing/names_map sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=tcpmon_map path=/sys/fs/bpf/testSensorTracing/tcpmon_map sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="tetragon, map loaded." map=tg_conf_map path=/sys/fs/bpf/testSensorTracing/tg_conf_map sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:15Z" level=info msg="Loading BPF program" Program=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_exit.o Type=kprobe
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loading BPF program" Program=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_fork.o Type=kprobe
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loading registered BPF probe" Program=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_execve_event_v61.o Type=execve
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Read ProcFS /proc appended 15/126 entries"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=warning msg="Procfs execve event pods/ identifier error" error="open /proc/0/cgroup: no such file or directory"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loaded BPF maps and events for sensor successfully" sensor=__base__
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="BTF file: using metadata file" metadata=/sys/kernel/btf/vmlinux
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loading sensor" name=loader
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loading kernel version 6.5.0"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="tetragon, map loaded." map=ids_map path=/sys/fs/bpf/testSensorTracing/ids_map sensor=loader
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loading registered BPF probe" Program=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_loader.o Type=loader
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Loaded BPF maps and events for sensor successfully" sensor=loader
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Successfully detected bpftool path" bpftool=/usr/sbin/bpftool
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Perf ring buffer size (bytes)" percpu=69632 total=139264
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Starting metrics server" addr="localhost:2112"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="Listening for events..."
    jsonchecker.go:179: jsonTestCheck: opening: /tmp/tetragon.gotest.TestLoader.2527317529.json
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExec is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:16Z" level=info msg="jsonTestCheck/line:0001 event:PROCESS_EXEC => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    jsonchecker.go:138: JsonCheck (retry=0) took 4.312683ms
    jsonchecker.go:162: JsonCheck (retry=1) failed: JsonEOF: failed to match after 1 events: err:UnorderedEventChecker: 1/1 checks remain. Retrying after 3s
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExec is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0001 event:PROCESS_EXEC => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExec is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0002 event:PROCESS_EXEC => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExit is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0003 event:PROCESS_EXIT => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Buildid check failed: '[]' does not match full '[76 181 92 81 161 150 228 190 86 54 100 189 83 203 1 142 132 82 34 15]'"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0004 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0005 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '[vdso]' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0006 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '/usr/lib/x86_64-linux-gnu/libc.so.6' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:19Z" level=info msg="jsonTestCheck/line:0007 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    jsonchecker.go:138: JsonCheck (retry=1) took 4.467404ms
    jsonchecker.go:162: JsonCheck (retry=2) failed: JsonEOF: failed to match after 7 events: err:UnorderedEventChecker: 1/1 checks remain. Retrying after 3s
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExec is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0001 event:PROCESS_EXEC => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExec is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0002 event:PROCESS_EXEC => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: *tetragon.ProcessExit is not a ProcessLoader event"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0003 event:PROCESS_EXIT => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Buildid check failed: '[]' does not match full '[76 181 92 81 161 150 228 190 86 54 100 189 83 203 1 142 132 82 34 15]'"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0004 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0005 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '[vdso]' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0006 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking event with 0/1 total matched"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="UnorderedEventChecker: checking pending 1/1: failure: ProcessLoaderChecker: Path check failed: '/usr/lib/x86_64-linux-gnu/libc.so.6' does not match full '/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/contrib/tester-progs/nop'"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="jsonTestCheck/line:0007 event:PROCESS_LOADER => no match: UnorderedEventChecker: all 1 check(s) failed, continuing"
    jsonchecker.go:138: JsonCheck (retry=2) took 4.144381ms
    loader_test.go:137: 
            Error Trace:    /home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/pkg/sensors/tracing/loader_test.go:137
            Error:          Received unexpected error:
                            JsonTestCheck failed in retry cnt=2 and there were no new events from previous try: JsonEOF: failed to match after 7 events: err:UnorderedEventChecker: 1/1 checks remain
            Test:           TestLoader
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="Listening for events completed." error="context canceled"
    filenames.go:47: keeping export file for TestLoader (/tmp/tetragon.gotest.TestLoader.2527317529.json)
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="saving init info"
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=info msg="retrieving lib directory" libDir=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_alignchecker.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_cgroup_mkdir.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_cgroup_release.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_cgroup_rmdir.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_execve_event.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_execve_event_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_execve_event_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_exit.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_fork.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_kprobe.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_kprobe_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_kprobe_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_retkprobe.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_retkprobe_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_retkprobe_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_tracepoint.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_tracepoint_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:22Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_tracepoint_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_uprobe.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_uprobe_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_generic_uprobe_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_globals.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_loader.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_lseek.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_multi_kprobe_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_multi_kprobe_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_multi_retkprobe_v53.ll
    logcapture.go:25: time="2023-07-19T07:36:23Z" level=warning msg="not an object file, ignoring" path=/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/bpf/objs/bpf_multi_retkprobe_v61.ll
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="btf file added" btfFname=/sys/kernel/btf/vmlinux
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="tetragon log file added" exportFname=/tmp/tetragon.gotest.TestLoader.2527317529.json
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="contacting metrics server" metricsAddr="http://localhost:2112/metrics"
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=warning msg="failed to contact metrics server" err="Get \"http://localhost:2112/metrics\": dial tcp: lookup localhost on 168.63.129.16:53: dial udp 168.63.129.16:53: connect: network is unreachable" metricsAddr="http://localhost:2112/metrics"
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd=/usr/bin/dmesg dstFname=dmesg.out ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/tc filter show dev lo ingress" dstFname=tc-info.lo.ingress ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/tc filter show dev lo egress" dstFname=tc-info.lo.egress ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/tc filter show dev sit0 ingress" dstFname=tc-info.sit0.ingress ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/tc filter show dev sit0 egress" dstFname=tc-info.sit0.egress ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/bpftool map show -j" dstFname=bpftool-maps.json ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/bpftool prog show -j" dstFname=bpftool-progs.json ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="executed command" cmd="/usr/sbin/bpftool cgroup tree -j" dstFname=bpftool-cgroups.json ret=0
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=warning msg="failed to open policyfilter map" error="no such file or directory"
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=warning msg="failed to connect to : failed to build resolver: passthrough: received empty target in Build()"
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="Dumped bugtool info" file=/tmp/tetragon-bugtool.tar.gz test=TestLoader
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="BPF prog was unloaded" label=kprobe/do_task_dead pin=event_exit
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="BPF prog was unloaded" label=kprobe/wake_up_new_task pin=kprobe_pid_clear
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="BPF prog was unloaded" label=tracepoint/sys_execve pin=event_execve
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="BPF prog was unloaded" label=kprobe/perf_event_mmap_output pin=loader_kprobe
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=execve_map pin=execve_map
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=execve_map_stats pin=execve_map_stats
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=execve_calls pin=execve_calls
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=names_map pin=names_map
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=tcpmon_map pin=tcpmon_map
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=tg_conf_map pin=tg_conf_map
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="map was unloaded" map=ids_map pin=ids_map
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="BPF events statistics: 7 received, 0% events loss"
    logcapture.go:25: time="2023-07-19T07:36:24Z" level=info msg="Observer events statistics" errors=0 filterDrop=0 filterPass=0 lost=0 received=7
--- FAIL: TestLoader (9.10s)
FAIL
kkourt commented 10 months ago

see https://github.com/cilium/tetragon/pull/1628/commits/ef85ce6f67b3a9a90e2b4fcc992cc964913145aa for disabling this on 6.1.