[DTrace-devel] Test that PASSes but should not

Kris Van Hees kris.van.hees at oracle.com
Thu Jul 24 17:25:03 UTC 2025


This is not a good thing:

test/unittest/ip/tst.ipv4localicmp.sh: Running timeout --signal=TERM 41 test/unittest/ip/tst.ipv4localicmp.sh /home/kvanhees/dtrace-bpf-user/build/dtrace
PASS.
-- @@stderr --
BPF: func#0 @0
BPF: func#1 @154
BPF: func#2 @1121
BPF: func#3 @1136
BPF: func#4 @1350
BPF: func#5 @1355
BPF: func#6 @1438
BPF: func#7 @1453
BPF: func#8 @1667
BPF: func#9 @1706
BPF: func#10 @1746
BPF: func#11 @1926
BPF: func#12 @1995
BPF: func#13 @2064
BPF: func#14 @2074
BPF: Tracing programs must provide btf_id
BPF: verification time 33 usec
BPF: stack depth 0+0+0+0+0+0+0+0+0+0+0+0+0+0+0
BPF: processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
dtrace: could not enable tracing: BPF program load for 'fbt:ipv6:ip6_finish_output:entry' failed: Invalid argument

That failure definitely should cause the test to fail.



More information about the DTrace-devel mailing list