make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.01 [+0.01] dgram # 1.13 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 1.14 [+0.01] tx: 128 # 1.14 [+0.01] rx: 142 # 1.14 [+0.00] rx: 100 # 1.15 [+0.01] OK # 1.16 [+0.00] # 1.30 [+0.14] dgram bind # 2.43 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 2.43 [+0.01] tx: 128 # 2.44 [+0.01] rx: 142 # 2.44 [+0.00] rx: 100 # 2.45 [+0.01] OK # 2.45 [+0.00] # 2.58 [+0.13] raw # 3.73 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 3.74 [+0.01] tx: 142 # 3.76 [+0.02] rx: 142 # 3.76 [+0.00] rx: 100 # 3.78 [+0.02] OK # 3.78 [+0.00] # 3.89 [+0.11] raw bind # 5.04 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 5.05 [+0.01] tx: 142 # 5.07 [+0.02] rx: 142 # 5.07 [+0.00] rx: 100 # 5.09 [+0.02] OK # 5.09 [+0.00] # 5.21 [+0.12] raw qdisc bypass # 6.36 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 6.37 [+0.01] tx: 142 # 6.37 [+0.01] rx: 142 # 6.37 [+0.00] rx: 100 # 6.38 [+0.01] OK # 6.38 [+0.00] # 6.51 [+0.13] raw vlan # 7.68 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 7.68 [+0.01] tx: 146 # 7.70 [+0.02] rx: 100 # 7.72 [+0.02] OK # 7.72 [+0.00] # 7.86 [+0.14] raw vnet hdr # 9.01 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 9.02 [+0.01] tx: 152 # 9.03 [+0.01] rx: 142 # 9.03 [+0.00] rx: 100 # 9.04 [+0.01] OK # 9.04 [+0.00] # 9.21 [+0.17] raw csum_off # 10.51 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 10.52 [+0.01] tx: 152 # 10.59 [+0.07] rx: 142 # 10.59 [+0.00] rx: 100 # 10.60 [+0.01] OK # 10.60 [+0.00] # 10.74 [+0.14] raw csum_off with bad offset (expected to fail) # 11.98 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 11.98 [+0.01] ./psock_snd: write: Invalid argument # 12.15 [+0.16] raw min size # 13.32 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 13.33 [+0.01] tx: 42 # 13.35 [+0.02] rx: 0 # 13.36 [+0.02] OK # 13.36 [+0.00] # 13.49 [+0.12] raw mtu size # 14.64 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 14.65 [+0.01] tx: 1514 # 14.66 [+0.01] rx: 1472 # 14.67 [+0.01] OK # 14.67 [+0.00] # 14.81 [+0.14] raw mtu size + 1 (expected to fail) # 15.97 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 15.97 [+0.01] ./psock_snd: write: Message too long # 16.13 [+0.15] raw vlan mtu size + 1 (expected to fail) # 17.29 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 17.30 [+0.01] ./psock_snd: write: Message too long # 17.48 [+0.18] dgram mtu size # 18.66 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 18.67 [+0.01] tx: 1500 # 18.68 [+0.02] rx: 1472 # 18.70 [+0.02] OK # 18.70 [+0.00] # 18.83 [+0.13] dgram mtu size + 1 (expected to fail) # 20.06 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 20.07 [+0.01] ./psock_snd: write: Message too long # 20.27 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 21.43 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 21.45 [+0.02] tx: 14 # 21.56 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 21.77 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.92 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 22.93 [+0.01] ./psock_snd: write: Invalid argument # 23.11 [+0.18] raw gso min size # 24.26 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 24.27 [+0.01] tx: 1525 # 24.28 [+0.01] rx: 1473 # 24.30 [+0.02] OK # 24.30 [+0.00] # 24.45 [+0.15] raw gso max size # 25.61 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 25.63 [+0.01] tx: 65559 # 25.64 [+0.02] rx: 65507 # 25.66 [+0.02] OK # 25.66 [+0.00] # 25.79 [+0.13] raw gso max size + 1 (expected to fail) # 26.95 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 26.96 [+0.01] tx: 65560 # 27.08 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 27.26 [+0.18] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->