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.35 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 1.36 [+0.01] tx: 128 # 1.37 [+0.01] rx: 142 # 1.37 [+0.00] rx: 100 # 1.38 [+0.01] OK # 1.38 [+0.00] # 1.55 [+0.16] dgram bind # 3.07 [+1.52] net.ipv4.conf.lo.accept_local = 1 # 3.08 [+0.01] tx: 128 # 3.10 [+0.02] rx: 142 # 3.10 [+0.00] rx: 100 # 3.13 [+0.02] OK # 3.13 [+0.00] # 3.37 [+0.24] raw # 4.74 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 4.75 [+0.01] tx: 142 # 4.76 [+0.01] rx: 142 # 4.76 [+0.00] rx: 100 # 4.77 [+0.02] OK # 4.77 [+0.00] # 4.99 [+0.22] raw bind # 6.78 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 6.79 [+0.01] tx: 142 # 6.80 [+0.01] rx: 142 # 6.80 [+0.00] rx: 100 # 6.81 [+0.01] OK # 6.81 [+0.00] # 6.98 [+0.17] raw qdisc bypass # 8.56 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 8.57 [+0.01] tx: 142 # 8.58 [+0.01] rx: 142 # 8.58 [+0.00] rx: 100 # 8.59 [+0.01] OK # 8.59 [+0.00] # 8.81 [+0.22] raw vlan # 10.55 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 10.56 [+0.01] tx: 146 # 10.57 [+0.01] rx: 100 # 10.57 [+0.01] OK # 10.57 [+0.00] # 10.72 [+0.15] raw vnet hdr # 12.44 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 12.47 [+0.03] tx: 152 # 12.48 [+0.01] rx: 142 # 12.48 [+0.00] rx: 100 # 12.49 [+0.01] OK # 12.49 [+0.00] # 12.67 [+0.18] raw csum_off # 14.10 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 14.10 [+0.01] tx: 152 # 14.11 [+0.01] rx: 142 # 14.11 [+0.00] rx: 100 # 14.13 [+0.02] OK # 14.13 [+0.00] # 14.32 [+0.19] raw csum_off with bad offset (expected to fail) # 16.14 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 16.14 [+0.01] ./psock_snd: write: Invalid argument # 16.35 [+0.21] raw min size # 18.21 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 18.22 [+0.01] tx: 42 # 18.23 [+0.01] rx: 0 # 18.25 [+0.02] OK # 18.25 [+0.00] # 18.47 [+0.22] raw mtu size # 19.99 [+1.52] net.ipv4.conf.lo.accept_local = 1 # 20.00 [+0.01] tx: 1514 # 20.01 [+0.01] rx: 1472 # 20.03 [+0.01] OK # 20.03 [+0.00] # 20.29 [+0.26] raw mtu size + 1 (expected to fail) # 21.96 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 21.97 [+0.01] ./psock_snd: write: Message too long # 22.17 [+0.20] raw vlan mtu size + 1 (expected to fail) # 24.02 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 24.03 [+0.01] ./psock_snd: write: Message too long # 24.25 [+0.22] dgram mtu size # 25.87 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 25.88 [+0.02] tx: 1500 # 25.89 [+0.01] rx: 1472 # 25.91 [+0.02] OK # 25.91 [+0.00] # 26.15 [+0.24] dgram mtu size + 1 (expected to fail) # 27.65 [+1.50] net.ipv4.conf.lo.accept_local = 1 # 27.66 [+0.01] ./psock_snd: write: Message too long # 27.86 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 29.62 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 29.63 [+0.01] tx: 14 # 29.76 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 29.95 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.60 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 31.62 [+0.01] ./psock_snd: write: Invalid argument # 31.92 [+0.30] raw gso min size # 33.30 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 33.31 [+0.01] tx: 1525 # 33.32 [+0.01] rx: 1473 # 33.33 [+0.02] OK # 33.34 [+0.00] # 33.50 [+0.16] raw gso max size # 35.36 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 35.37 [+0.02] tx: 65559 # 35.38 [+0.01] rx: 65507 # 35.40 [+0.02] OK # 35.40 [+0.00] # 35.58 [+0.18] raw gso max size + 1 (expected to fail) # 37.24 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 37.25 [+0.02] tx: 65560 # 37.38 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 37.65 [+0.27] 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__->