make -C tools/testing/selftests TARGETS=net/tcp_ao TEST_PROGS=unsigned-md55_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..72 # # 221[lib/setup.c:243] rand seed 1708722717 # TAP version 13 # ok 1 AO server (INADDR_ANY): [ 1.791054] TCP: Unexpected MD5 Hash found for 10.0.1.1.37105->10.0.254.1.7011 [S] AO client: connected # ok 2 AO server (INADDR_ANY): AO client: counter TCPAOGood increased 0 => 2 [ 2.793131] TCP: AO hash is required, but not found for 10.0.1.1.44009->10.0.254.1.7012 [S] L3 index 0 # ok 3 AO server (INADDR_ANY): MD5 client: counter TCPMD5Unexpected increased 0 => 1 # ok 4 AO server (INADDR_ANY): MD5 client # ok 5 AO server (INADDR_ANY): no sign client: counter TCPAORequired increased 0 => 1 # ok 6 AO server (INADDR_ANY): unsigned client # ok 7 A[ 3.796134] TCP: AO hash is required, but not found for 10.0.2.1.41379->10.0.254.1.7014 [S] L3 index 0 O server (AO_REQUIRED): AO client: connected # ok 8 AO server (AO_REQUIRED): AO client: counter TCPAOGood increased 2 => 4 # ok 9 AO server[ 4.798271] TCP: AO key not found for 10.0.1.1.56441->10.0.254.1.7015 [S] keyid: 100 L3index: 0 (AO_REQUIRED): unsigned client: counter TCPAORequired increased 1 => 2 # ok 10 AO server (AO_REQUIRED): unsigned client [ 5.800262] TCP: MD5 Hash not found for 10.0.1.1.59343->10.0.254.1.7017 [S] L3 index 0 # ok 11 MD5 server (INADDR_ANY): AO client: counter TCPAOKeyNotFound increased 0 => 1 # ok 12 MD5 server (INADDR_ANY): AO client # ok 13 MD5 server (INADDR_ANY): MD5 client: connected # ok 14 MD5 server (INADDR_ANY): MD5 client: no counter checks [ 6.802162] TCP: AO key not found for 10.0.1.1.42091->10.0.254.1.7018 [S] keyid: 100 L3index: 0 # ok 15 MD5 server (INADDR_ANY): no sign client: counter TCPMD5NotFound increased 0 => 1 # ok 16 MD5 server (INADDR_ANY): no sign client # ok 17 no sign server: AO client: counter TCPAO[ 7.804085] TCP: Unexpected MD5 Hash found for 10.0.1.1.36483->10.0.254.1.7019 [S] KeyNotFound increased 1 => 2 # ok 18 no sign server: AO client # ok 19 no sign server: MD5 client: counter TCPMD5Unexpected increased 1 => 2 # ok 20 no sign server: MD5 client # ok 21 no sign server: no sign client: conne[ 8.807385] TCP: Requested by the peer AO key id not found for 10.0.1.1.36889->10.0.254.1.7022 [S] L3index: 0 cted # 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 [ 9.809533] TCP: Requested by the peer AO key id not found for 10.0.3.1.45323->10.0.254.1.7023 [S] L3index: 0 # ok 25 AO+MD5 server: AO client (misconfig, matching MD5): counter TCPAOKeyNotFound increased 2 => 3 # ok 26 AO+MD5 server: AO client (misconfig, matching MD5) # ok 27 AO+MD5 server: AO client (misconfig, non-matching): counter TCPAOKeyNotFound increased 3 => 4 # ok 28 AO+MD5 server: AO client (misconf[ 10.812396] TCP: Unexpected MD5 Hash found for 10.0.2.1.54777->10.0.254.1.7025 [S] ig, non-matching) # ok 29 AO+MD5 server: MD5 client (matching): connected # ok 30 AO+MD5 server: MD5 client (matching): no counter checks # ok 31 AO+MD5 server: MD5 client (misconfig, matching AO) # ok 32 AO[ 11.814929] TCP: Unexpected MD5 Hash found for 10.0.3.1.54597->10.0.254.1.7026 [S] +MD5 server: MD5 client (misconfig, matching AO): counter TCPMD5Unexpected increased 2 => 3 # ok 33 AO+MD5 server: MD5 client (misconfig, non-matching) # ok 34 AO+MD5 server: MD5 client (misconfig, non-m[ 12.818289] TCP: AO hash is required, but not found for 10.0.2.1.39713->10.0.254.1.7028 [S] L3 index 0 atching): 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 # ok 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 [ 13.823538] TCP: MD5 Hash not found for 10.0.1.1.51873->10.0.254.1.7029 [S] L3 index 0 # ok 39 AO+MD5 server: no sign client (misconfig, matching MD5): counter TCPMD5NotFound increased 1 => 2 # ok 40 AO+MD5 server: no sign client (misconfig, matching MD5) # 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 # not ok 55 # error 229[unsigned-md5.c:33] Failed to add a route to VRF: -22: Key was rejected by service # # Planned tests != run tests (72 != 55) # # Totals: pass:54 fail:0 xfail:0 xpass:0 skip:0 error:1 ok 1 selftests: net/tcp_ao: unsigned-md5_ipv4 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__->