make -C tools/testing/selftests TARGETS=net/tcp_ao TEST_PROGS=unsigned-md55_ipv6 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 # timeout set to 120 # selftests: net/tcp_ao: unsigned-md5_ipv6 # 1..72 # # 367[lib/setup.c:243] rand seed 1706854045 # 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 [ 122.595037][ C2] TCP: Unexpected MD5 Hash found for [2001:db8:1::1].59635->[2001:db8:254::1].7011 [S] # ok 3 AO server (INADDR_ANY): MD5 client # ok 4 AO server (INADDR_ANY): MD5 client: counter TCPMD5Unexpected inc[ 123.601548][ C2] AO hash is required, but not found for [2001:db8:1::1].32955->[2001:db8:254::1].7012 [S]L3 index 0 reased 0 => 1 # not ok 5 AO server (INADDR_ANY): MD5 client: Counter netns_ao_good was not expected to increase 2 => 4 # ok 6 AO server (INADDR_ANY): unsigned client # ok 7 AO server (INADDR_ANY): no sign client: counter TCPAORequired increased 0 => 1 # ok 8 AO server (AO_REQUIRED): AO client: connected # ok 9 AO server (AO_REQUIRED): AO client: counter TCPAOGood increased 4 =>[ 124.620058][ C2] AO hash is required, but not found for [2001:db8:2::1].54893->[2001:db8:254::1].7014 [S]L3 index 0 6 # ok 10 AO server (AO_REQUIRED): unsigned client # ok 11 AO server (AO_REQUIRED): unsigned client: [ 125.625733][ C2] TCP: AO key not found for [2001:db8:1::1].44997->[2001:db8:254::1].7015 [S]keyid: 100 L3index: 0 counter TCPAORequired increased 1 => 2 # ok 12 MD5 server (INADDR_ANY): AO client # ok 13 MD5 server (INADDR_ANY): AO client: counter TCPAOKeyNotFound increased 0 => 1 # ok 14 MD5 server (INADDR_AN[ 126.637741][ C2] MD5 Hash not found for [2001:db8:1::1].59529->[2001:db8:254::1].7017 [S]L3 index 0 Y): MD5 client: connected # ok 15 MD5 server (INADDR_ANY): MD5 client: no counter checks # ok 16 MD5 server (INADDR_ANY): no sign client # ok 17 MD5 server (INADDR_ANY)[ 127.644367][ C2] TCP: AO key not found for [2001:db8:1::1].39929->[2001:db8:254::1].7018 [S]keyid: 100 L3index: 0 : no sign client: counter TCPMD5NotFound increased 0 => 1 # ok 18 no sign server: AO client # ok 19 no si[ 128.647768][ C2] TCP: Unexpected MD5 Hash found for [2001:db8:1::1].55953->[2001:db8:254::1].7019 [S] gn server: AO client: counter TCPAOKeyNotFound increased 1 => 2 # ok 20 no sign server: MD5 client # ok 21 no sign server: MD5 client: counter TCPMD5Unexpected increased 1 => 2 # ok 22 no sign server: no sign client: connected # ok 23 no sign server: no sign client: counter CurrEstab increased 0 => 1 # ok 24 AO+MD5 server: AO client (matching): connected # ok 25 AO+MD5 server: AO client (matching): counter TCPAOGood increased 8 => 10 [ 129.667737][ C3] TCP: Requested by the peer AO key id not found for [2001:db8:1::1].49759->[2001:db8:254::1].7022 [S]L3index: 0 # ok 26 AO+MD5 server: AO client (misconfig, matching MD5) # ok 27 AO+MD5 server: AO client (misconfig, matching MD5): counter TCPAO[ 130.686210][ C2] TCP: Requested by the peer AO key id not found for [2001:db8:3::1].51701->[2001:db8:254::1].7023 [S]L3index: 0 KeyNotFound increased 2 => 3 # ok 28 AO+MD5 server: AO client (misconfig, non-matching) # ok 29 AO+MD5 server: AO client (misconfig, non-matching): counter TCPAOKeyNotFound increased 3 => 4 # ok 30 AO+MD5 server: MD5 client (matching): connected # ok 31 [ 131.696710][ C2] TCP: Unexpected MD5 Hash found for [2001:db8:2::1].41917->[2001:db8:254::1].7025 [S] AO+MD5 server: MD5 client (matching): no counter checks # ok 32 AO+MD5 server: MD5 client (misconfig, matching AO) # ok 33 AO+MD5 server: MD5 client (misconfig, matching AO): counter TCPMD5Unexpected increased 2 => 3 [ 132.708235][ C2] TCP: Unexpected MD5 Hash found for [2001:db8:3::1].49077->[2001:db8:254::1].7026 [S] # ok 34 AO+MD5 server: MD5 client (misconfig, non-matching) # ok 35 AO+MD5 server: MD5 client (misconfig, non-matching): counter TCPMD5Unexpected increased 3 => 4 # ok 36 AO+MD5 server: no sign client (unmatched): connected # ok 37 AO+MD5 server: no sign client (unmatched): [ 133.720761][ C2] AO hash is required, but not found for [2001:db8:2::1].38237->[2001:db8:254::1].7028 [S]L3 index 0 counter CurrEstab increased 0 => 1 # ok 38 AO+MD5 server: no sign client (misconfig, matching AO) # ok 39 AO+MD5 server: no sign client (misconfig, matching AO): counter TCPAORequired increased 2 => 3 [ 134.731179][ C2] MD5 Hash not found for [2001:db8:1::1].37087->[2001:db8:254::1].7029 [S]L3 index 0 # ok 40 AO+MD5 server: no sign client (misconfig, matching MD5): counter TCPMD5NotFound increased 1 => 2 # ok 41 AO+MD5 server: no sign client (misconfig, matching MD5) # ok 42 AO+MD5 server: client with both [TCP-MD5] and TCP-AO keys: connect() was prevented # ok 43 AO+MD5 server: client with both [TCP-MD5] and TCP-AO keys: no counter checks # ok 44 AO+MD5 server: client with both TCP-MD5 and [TCP-AO] keys: connect() was prevented # ok 45 AO+MD5 server: client with both TCP-MD5 and [TCP-AO] keys: no counter checks # ok 46 TCP-AO established: add TCP-MD5 key: postfailed as expected # ok 47 TCP-AO established: add TCP-MD5 key: counter TCPAOGood increased 12 => 14 # ok 48 TCP-MD5 established: add TCP-AO key: postfailed as expected # ok 49 TCP-MD5 established: add TCP-AO key: no counter checks # ok 50 non-signed established: add TCP-AO key: postfailed as expected # ok 51 non-signed established: add TCP-AO key: counter CurrEstab increased 0 => 1 # ok 52 TCP-AO key intersects with existing TCP-MD5 key: prefailed as expected: Key was rejected by service # ok 53 TCP-MD5 key intersects with existing TCP-AO key: prefailed as expected: Key was rejected by service # ok 54 TCP-MD5 key + TCP-AO required: prefailed as expected: Key was rejected by service # ok 55 TCP-AO required on socket + TCP-MD5 key: prefailed as expected: Key was rejected by service # not ok 56 # error 367[unsigned-md5.c:24] Failed to add a VRF: -17 # # Planned tests != run tests (72 != 56) # # Totals: pass:54 fail:1 xfail:0 xpass:0 skip:0 error:1 not ok 1 selftests: net/tcp_ao: unsigned-md5_ipv6 # 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__->