make -C tools/testing/selftests TARGETS="net/tcp_ao" TEST_PROGS=unsigned-mmd5_ipv4 TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-5/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' make[1]: Entering directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' TAP version 13 1..1 # timeout set to 120 # selftests: net/tcp_ao: unsigned-md5_ipv4 # 1..73 # # 286[lib/setup.c:250] rand seed 1722341942 # TAP version 13 # ok 1 AO server (INADDR_ANY): AO client: connected # ok 2 AO server (INADDR_ANY): AO client: counter TCPAOGood increased 0 => 2 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags ok 3 AO server (INADDR_ANY): MD5 client # ok 4 AO server (INADDR_ANY): MD5 client: counter TCPMD5Unexpected increased 0 => 1 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 5 AO server (INADDR_ANY): unsigned client # ok 6 AO server (INADDR_ANY): no sign client: counter TCPAORequired increased 0 => 1 # ok 7 AO server (AO_REQUIRED): AO client: connected # ok 8 AO server (AO_REQUIRED): AO client: counter TCPAOGood increased 2 => 4 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 9 AO server (AO_REQUIRED): unsigned client # ok 10 AO server (AO_REQUIRED): unsigned client: counter TCPAORequired increased 1 => 2 # # 287[lib/ftrace-tcp.c:323] Couldn't parse trace event, matched = 1/13 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 11 MD5 server (INADDR_ANY): AO client # ok 12 MD5 server (INADDR_ANY): AO client: counter TCPAOKeyNotFound increased 0 => 1 # ok 13 MD5 server (INADDR_ANY): MD5 client: no counter checks # ok 14 MD5 server (INADDR_ANY): MD5 client: connected # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 15 MD5 server (INADDR_ANY): no sign client # ok 16 MD5 server (INADDR_ANY): no sign client: counter TCPMD5NotFound increased 0 => 1 # # 287[lib/ftrace-tcp.c:323] Couldn't parse trace event, matched = 1/13 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 17 no sign server: AO client # ok 18 no sign server: AO client: counter TCPAOKeyNotFound increased 1 => 2 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 19 no sign server: MD5 client # ok 20 no sign server: MD5 client: counter TCPMD5Unexpected increased 1 => 2 # ok 21 no sign server: no sign client: connected # ok 22 no sign server: no sign client: counter CurrEstab increased 0 => 1 # ok 23 AO+MD5 server: AO client (matching): connected # ok 24 AO+MD5 server: AO client (matching): counter TCPAOGood increased 4 => 6 # # 287[lib/ftrace-tcp.c:323] Couldn't parse trace event, matched = 1/13 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 25 AO+MD5 server: AO client (misconfig, matching MD5) # ok 26 AO+MD5 server: AO client (misconfig, matching MD5): counter TCPAOKeyNotFound increased 2 => 3 # # 287[lib/ftrace-tcp.c:323] Couldn't parse trace event, matched = 1/13 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 27 AO+MD5 server: AO client (misconfig, non-matching) # ok 28 AO+MD5 server: AO client (misconfig, non-matching): counter TCPAOKeyNotFound increased 3 => 4 # ok 29 AO+MD5 server: MD5 client (matching): connected # ok 30 AO+MD5 server: MD5 client (matching): no counter checks # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 31 AO+MD5 server: MD5 client (misconfig, matching AO) # ok 32 AO+MD5 server: MD5 client (misconfig, matching AO): counter TCPMD5Unexpected increased 2 => 3 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 33 AO+MD5 server: MD5 client (misconfig, non-matching) # ok 34 AO+MD5 server: MD5 client (misconfig, non-matching): counter TCPMD5Unexpected increased 3 => 4 # ok 35 AO+MD5 server: no sign client (unmatched): connected # ok 36 AO+MD5 server: no sign client (unmatched): counter CurrEstab increased 0 => 1 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 37 AO+MD5 server: no sign client (misconfig, matching AO) # ok 38 AO+MD5 server: no sign client (misconfig, matching AO): counter TCPAORequired increased 2 => 3 # # 287[lib/ftrace-tcp.c:308] Couldn't parse trace event, matched = 1/10 # # 287[lib/ftrace-tcp.c:374] Couldn't parse trace event flags dok 39 AO+MD5 server: no sign client (misconfig, matching MD5) # ok 40 AO+MD5 server: no sign client (misconfig, matching MD5): counter TCPMD5NotFound increased 1 => 2 # ok 41 AO+MD5 server: client with both [TCP-MD5] and TCP-AO keys: connect() was prevented # ok 42 AO+MD5 server: client with both [TCP-MD5] and TCP-AO keys: no counter checks # ok 43 AO+MD5 server: client with both TCP-MD5 and [TCP-AO] keys: connect() was prevented # ok 44 AO+MD5 server: client with both TCP-MD5 and [TCP-AO] keys: no counter checks # ok 45 TCP-AO established: add TCP-MD5 key: postfailed as expected # ok 46 TCP-AO established: add TCP-MD5 key: counter TCPAOGood increased 6 => 8 # ok 47 TCP-MD5 established: add TCP-AO key: postfailed as expected # ok 48 TCP-MD5 established: add TCP-AO key: no counter checks # ok 49 non-signed established: add TCP-AO key: postfailed as expected # ok 50 non-signed established: add TCP-AO key: counter CurrEstab increased 0 => 1 # ok 51 TCP-AO key intersects with existing TCP-MD5 key: prefailed as expected: Key was rejected by service # ok 52 TCP-MD5 key intersects with existing TCP-AO key: prefailed as expected: Key was rejected by service # ok 53 TCP-MD5 key + TCP-AO required: prefailed as expected: Key was rejected by service # ok 54 TCP-AO required on socket + TCP-MD5 key: prefailed as expected: Key was rejected by service # ok 55 VRF: TCP-AO key (no l3index) + TCP-MD5 key (no l3index): prefailed as expected: Key was rejected by service # ok 56 VRF: TCP-MD5 key (no l3index) + TCP-AO key (no l3index): prefailed as expected: Key was rejected by service # ok 57 VRF: TCP-AO key (no l3index) + TCP-MD5 key (l3index=0): prefailed as expected: Key was rejected by service # ok 58 VRF: TCP-MD5 key (l3index=0) + TCP-AO key (no l3index): prefailed as expected: Key was rejected by service # ok 59 VRF: TCP-AO key (no l3index) + TCP-MD5 key (l3index=N): prefailed as expected: Key was rejected by service # ok 60 VRF: TCP-MD5 key (l3index=N) + TCP-AO key (no l3index): prefailed as expected: Key was rejected by service # ok 61 VRF: TCP-AO key (l3index=0) + TCP-MD5 key (no l3index): prefailed as expected: Key was rejected by service # ok 62 VRF: TCP-MD5 key (no l3index) + TCP-AO key (l3index=0): prefailed as expected: Key was rejected by service # ok 63 VRF: TCP-AO key (l3index=0) + TCP-MD5 key (l3index=0): prefailed as expected: Key was rejected by service # ok 64 VRF: TCP-MD5 key (l3index=0) + TCP-AO key (l3index=0): prefailed as expected: Key was rejected by service # ok 65 VRF: TCP-AO key (l3index=0) + TCP-MD5 key (l3index=N) # ok 66 VRF: TCP-MD5 key (l3index=N) + TCP-AO key (l3index=0) # ok 67 VRF: TCP-AO key (l3index=N) + TCP-MD5 key (no l3index): prefailed as expected: Key was rejected by service # ok 68 VRF: TCP-MD5 key (no l3index) + TCP-AO key (l3index=N): prefailed as expected: Key was rejected by service # ok 69 VRF: TCP-AO key (l3index=N) + TCP-MD5 key (l3index=0) # ok 70 VRF: TCP-MD5 key (l3index=0) + TCP-AO key (l3index=N) # ok 71 VRF: TCP-AO key (l3index=N) + TCP-MD5 key (l3index=N): prefailed as expected: Key was rejected by service # ok 72 VRF: TCP-MD5 key (l3index=N) + TCP-AO key (l3index=N): prefailed as expected: Key was rejected by service # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_unexpected [10.0.1.1:-1 => 10.0.254.1:7011, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_ao_required [10.0.1.1:-1 => 10.0.254.1:7012, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_ao_required [10.0.2.1:-1 => 10.0.254.1:7014, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_ao_key_not_found [10.0.1.1:-1 => 10.0.254.1:7015, L3index 0, flags: !FS!R!.!A, keyid: 100, rnext: 100, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_required [10.0.1.1:-1 => 10.0.254.1:7017, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_ao_key_not_found [10.0.1.1:-1 => 10.0.254.1:7018, L3index 0, flags: !FS!R!.!A, keyid: 100, rnext: 100, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_unexpected [10.0.1.1:-1 => 10.0.254.1:7019, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_ao_key_not_found [10.0.1.1:-1 => 10.0.254.1:7022, L3index 0, flags: !FS!R!.!A, keyid: 100, rnext: 100, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_ao_key_not_found [10.0.3.1:-1 => 10.0.254.1:7023, L3index 0, flags: !FS!R!.!A, keyid: 100, rnext: 100, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_unexpected [10.0.2.1:-1 => 10.0.254.1:7025, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_unexpected [10.0.3.1:-1 => 10.0.254.1:7026, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_ao_required [10.0.2.1:-1 => 10.0.254.1:7028, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # # 288[lib/ftrace-tcp.c:427] trace event filter tcp_hash_md5_required [10.0.1.1:-1 => 10.0.254.1:7029, L3index 0, flags: !FS!R!.!A, keyid: -1, rnext: -1, maclen: -1, sne: -1] = 0 # not ok 73 Trace events [13] were not expected: # # tcp_hash_md5_required: net=8195 state= family=AF_INET src=10.0.1.1:60665 dest=10.0.254.1:7029 L3index=0 [ S ] # # tcp_hash_ao_required: net=8195 state= family=AF_INET src=10.0.2.1:60841 dest=10.0.254.1:7028 L3index=0 [ S ] # # tcp_hash_md5_unexpected: net=8195 state= family=AF_INET src=10.0.3.1:55635 dest=10.0.254.1:7026 L3index=0 [ S ] # # tcp_hash_md5_unexpected: net=8195 state= family=AF_INET src=10.0.2.1:40455 dest=10.0.254.1:7025 L3index=0 [ S ] # # tcp_ao_key_not_found: net=8195 state= family=AF_INET src=10.0.3.1:45135 dest=10.0.254.1:7023 L3index=0 [ S ] keyid=100 rnext=100 maclen=12 # # tcp_ao_key_not_found: net=8195 state= family=AF_INET src=10.0.1.1:59693 dest=10.0.254.1:7022 L3index=0 [ S ] keyid=100 rnext=100 maclen=12 # # tcp_hash_md5_unexpected: net=8195 state= family=AF_INET src=10.0.1.1:57307 dest=10.0.254.1:7019 L3index=0 [ S ] # # tcp_ao_key_not_found: net=8195 state= family=AF_INET src=10.0.1.1:40097 dest=10.0.254.1:7018 L3index=0 [ S ] keyid=100 rnext=100 maclen=12 # # tcp_hash_md5_required: net=8195 state= family=AF_INET src=10.0.1.1:54273 dest=10.0.254.1:7017 L3index=0 [ S ] # # tcp_ao_key_not_found: net=8195 state= family=AF_INET src=10.0.1.1:59575 dest=10.0.254.1:7015 L3index=0 [ S ] keyid=100 rnext=100 maclen=12 # # tcp_hash_ao_required: net=8195 state= family=AF_INET src=10.0.2.1:35119 dest=10.0.254.1:7014 L3index=0 [ S ] # # tcp_hash_ao_required: net=8195 state= family=AF_INET src=10.0.1.1:36433 dest=10.0.254.1:7012 L3index=0 [ S ] # # tcp_hash_md5_unexpected: net=8195 state= family=AF_INET src=10.0.1.1:58611 dest=10.0.254.1:7011 L3index=0 [ S ] # # Totals: pass:72 fail:1 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: net/tcp_ao: unsigned-md5_ipv4 # exit=1 make[1]: Leaving directory '/home/virtme/testing-5/tools/testing/selftests/net/tcp_ao' make: Leaving directory '/home/virtme/testing-5/tools/testing/selftests' xx__-> echo $? 0 xx__->