make -C tools/testing/selftests TARGETS="net/tcp_ao" TEST_PROGS=key-manageement_ipv4 TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-6/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-6/tools/testing/selftests/net/tcp_ao' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-6/tools/testing/selftests/net/tcp_ao' make[1]: Entering directory '/home/virtme/testing-6/tools/testing/selftests/net/tcp_ao' TAP version 13 1..1 # overriding timeout to 240 # selftests: net/tcp_ao: key-management_ipv4 # 1..121 # # 701[lib/setup.c:250] rand seed 1722612069 # TAP version 13 # ok 1 closed socket, delete a key: the key was deleted # ok 2 closed socket, delete all keys: the key was deleted # ok 3 closed socket, delete current key: key deletion was prevented # ok 4 closed socket, delete rnext key: key deletion was prevented # ok 5 closed socket, delete a key + set current/rnext: the key was deleted # ok 6 closed socket, force-delete current key: the key was deleted # ok 7 closed socket, force-delete rnext key: the key was deleted # ok 8 closed socket, delete current+rnext key: key deletion was prevented # ok 9 closed socket, add + change current key # ok 10 closed socket, add + change rnext key # ok 11 listen socket, delete a key: the key was deleted # ok 12 listen socket, delete all keys: the key was deleted # ok 13 listen socket, setting current key not allowed # ok 14 listen socket, setting rnext key not allowed # ok 15 # XFAIL listen() after current/rnext keys set: the socket has current/rnext keys: 100:200 # ok 16 # XFAIL listen socket, delete current key from before listen(): failed to delete the key 100:100 -16 # ok 17 # XFAIL listen socket, delete rnext key from before listen(): failed to delete the key 200:200 -16 # ok 18 listen socket, getsockopt(TCP_AO_REPAIR) is restricted # ok 19 listen socket, setsockopt(TCP_AO_REPAIR) is restricted # ok 20 listen socket, delete a key + set current/rnext: key deletion was prevented # ok 21 listen socket, force-delete current key: key deletion was prevented # ok 22 listen socket, force-delete rnext key: key deletion was prevented # ok 23 listen socket, delete a key: the key was deleted # ok 24 listen socket, add + change current key # ok 25 listen socket, add + change rnext key # ok 26 server: Check current/rnext keys unset before connect(): The socket keys are consistent with the expectations # ok 27 server: Check current/rnext keys unset before connect(): server alive # ok 28 client: Check current/rnext keys unset before connect(): current key 19 as expected # ok 29 client: Check current/rnext keys unset before connect(): rnext key 146 as expected # ok 30 server: Check current/rnext keys unset before connect(): passed counters checks # ok 31 server: Check current/rnext keys unset before connect(): The socket keys are consistent with the expectations # ok 32 client: Check current/rnext keys unset before connect(): The socket keys are consistent with the expectations # ok 33 server: Check current/rnext keys unset before connect(): passed counters checks # ok 34 client: Check current/rnext keys unset before connect(): passed counters checks # ok 35 server: Check current/rnext keys set before connect(): The socket keys are consistent with the expectations # ok 36 server: Check current/rnext keys set before connect(): server alive # ok 37 client: Check current/rnext keys set before connect(): current key 10 as expected # ok 38 client: Check current/rnext keys set before connect(): rnext key 137 as expected # ok 39 server: Check current/rnext keys set before connect(): passed counters checks # ok 40 client: Check current/rnext keys set before connect(): The socket keys are consistent with the expectations # ok 41 server: Check current/rnext keys set before connect(): The socket keys are consistent with the expectations # ok 42 server: Check current/rnext keys set before connect(): passed counters checks # ok 43 client: Check current/rnext keys set before connect(): passed counters checks # ok 44 server: Check current != rnext keys set before connect(): The socket keys are consistent with the expectations # ok 45 client: Check current != rnext keys set before connect(): current key 10 as expected # ok 46 client: Check current != rnext keys set before connect(): rnext key 132 as expected # ok 47 server: Check current != rnext keys set before connect(): server alive # ok 48 server: Check current != rnext keys set before connect(): passed counters checks # ok 49 client: Check current != rnext keys set before connect(): The socket keys are consistent with the expectations # ok 50 server: Check current != rnext keys set before connect(): The socket keys are consistent with the expectations # ok 51 server: Check current != rnext keys set before connect(): passed counters checks # ok 52 client: Check current != rnext keys set before connect(): passed counters checks # ok 53 server: Check current flapping back on peer's RnextKey request: The socket keys are consistent with the expectations # ok 54 server: Check current flapping back on peer's RnextKey request: server alive # ok 55 server: Check current flapping back on peer's RnextKey request: passed counters checks # ok 56 client: Check current flapping back on peer's RnextKey request: current key 10 as expected # ok 57 client: Check current flapping back on peer's RnextKey request: rnext key 132 as expected # ok 58 server: Check current flapping back on peer's RnextKey request: The socket keys are consistent with the expectations # ok 59 client: Check current flapping back on peer's RnextKey request: The socket keys are consistent with the expectations # ok 60 client: Check current flapping back on peer's RnextKey request: passed counters checks # ok 61 server: Check current flapping back on peer's RnextKey request: passed counters checks # ok 62 server: Rotate over all different keys: The socket keys are consistent with the expectations # ok 63 server: Rotate over all different keys: server alive # ok 64 server: Rotate over all different keys: passed counters checks # ok 65 server: Rotate over all different keys: current key 128 as expected # ok 66 client: Rotate over all different keys: rnext key 128 as expected # ok 67 server: Rotate over all different keys: current key 129 as expected # ok 68 client: Rotate over all different keys: rnext key 129 as expected # ok 69 server: Rotate over all different keys: current key 130 as expected # ok 70 client: Rotate over all different keys: rnext key 130 as expected # ok 71 server: Rotate over all different keys: current key 131 as expected # ok 72 client: Rotate over all different keys: rnext key 131 as expected # ok 73 server: Rotate over all different keys: current key 132 as expected # ok 74 client: Rotate over all different keys: rnext key 132 as expected # ok 75 server: Rotate over all different keys: current key 133 as expected # ok 76 client: Rotate over all different keys: rnext key 133 as expected # ok 77 server: Rotate over all different keys: current key 134 as expected # ok 78 client: Rotate over all different keys: rnext key 134 as expected # ok 79 server: Rotate over all different keys: current key 135 as expected # ok 80 client: Rotate over all different keys: rnext key 135 as expected # ok 81 server: Rotate over all different keys: current key 136 as expected # ok 82 client: Rotate over all different keys: rnext key 136 as expected # ok 83 client: Rotate over all different keys: rnext key 137 as expected # ok 84 server: Rotate over all different keys: current key 137 as expected # ok 85 server: Rotate over all different keys: current key 138 as expected # ok 86 client: Rotate over all different keys: rnext key 138 as expected # ok 87 client: Rotate over all different keys: rnext key 139 as expected # ok 88 server: Rotate over all different keys: current key 139 as expected # ok 89 server: Rotate over all different keys: current key 140 as expected # ok 90 client: Rotate over all different keys: rnext key 140 as expected # ok 91 server: Rotate over all different keys: current key 141 as expected # ok 92 client: Rotate over all different keys: rnext key 141 as expected # ok 93 server: Rotate over all different keys: current key 142 as expected # ok 94 client: Rotate over all different keys: rnext key 142 as expected # ok 95 server: Rotate over all different keys: current key 143 as expected # ok 96 client: Rotate over all different keys: rnext key 143 as expected # ok 97 server: Rotate over all different keys: current key 144 as expected # ok 98 client: Rotate over all different keys: rnext key 144 as expected # ok 99 server: Rotate over all different keys: current key 145 as expected # ok 100 client: Rotate over all different keys: rnext key 145 as expected # ok 101 server: Rotate over all different keys: current key 146 as expected # ok 102 client: Rotate over all different keys: rnext key 146 as expected # ok 103 server: Rotate over all different keys: current key 127 as expected # ok 104 client: Rotate over all different keys: rnext key 127 as expected # ok 105 client: Rotate over all different keys: current key 0 as expected # ok 106 client: Rotate over all different keys: rnext key 127 as expected # ok 107 client: Rotate over all different keys: The socket keys are consistent with the expectations # ok 108 server: Rotate over all different keys: The socket keys are consistent with the expectations # ok 109 client: Rotate over all different keys: passed counters checks # ok 110 server: Rotate over all different keys: passed counters checks # ok 111 server: Check accept() => established key matching: The socket keys are consistent with the expectations # ok 112 Can't add a key with non-matching ip-address for established sk # ok 113 Can't add a key with non-matching VRF for established sk # ok 114 server: Check accept() => established key matching: server alive # ok 115 client: Check connect() => established key matching: current key 0 as expected # ok 116 server: Check accept() => established key matching: passed counters checks # ok 117 client: Check connect() => established key matching: rnext key 128 as expected # ok 118 client: Check connect() => established key matching: The socket keys are consistent with the expectations # ok 119 server: Check accept() => established key matching: The socket keys are consistent with the expectations # ok 120 server: Check accept() => established key matching: passed counters checks # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.254.1:7013 => 10.0.1.1:-1, L3index 0, flags: , keyid: 2, rnext: 10, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 127, rnext: 128, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 128, rnext: 129, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 129, rnext: 130, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 130, rnext: 131, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 131, rnext: 132, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 132, rnext: 133, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 133, rnext: 134, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 134, rnext: 135, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 135, rnext: 136, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 136, rnext: 137, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 137, rnext: 138, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 138, rnext: 139, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 139, rnext: 140, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 140, rnext: 141, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 141, rnext: 142, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 142, rnext: 143, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 143, rnext: 144, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 144, rnext: 145, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: 145, rnext: 146, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7014, L3index 0, flags: , keyid: -1, rnext: 127, maclen: -1, sne: -1] = 1 # # 703[lib/ftrace-tcp.c:427] trace event filter tcp_ao_rnext_request [10.0.1.1:-1 => 10.0.254.1:7015, L3index 0, flags: , keyid: -1, rnext: 128, maclen: -1, sne: -1] = 21 # not ok 121 Trace events [1] were not expected: # # tcp_hash_ao_required: net=10 state= family=AF_INET src=10.0.254.1:7015 dest=10.0.1.1:45022 L3index=0 [ .] # # Totals: pass:117 fail:1 xfail:3 xpass:0 skip:0 error:0 not ok 1 selftests: net/tcp_ao: key-management_ipv4 # exit=1 make[1]: Leaving directory '/home/virtme/testing-6/tools/testing/selftests/net/tcp_ao' make: Leaving directory '/home/virtme/testing-6/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->