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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.08 [+0.08] dgram # 1.99 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 2.00 [+0.01] tx: 128 # 2.01 [+0.01] rx: 142 # 2.01 [+0.00] rx: 100 # 2.03 [+0.02] OK # 2.03 [+0.00] # 2.23 [+0.20] dgram bind # 4.09 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 4.10 [+0.01] tx: 128 # 4.11 [+0.01] rx: 142 # 4.11 [+0.00] rx: 100 # 4.12 [+0.02] OK # 4.12 [+0.00] # 4.32 [+0.20] raw # 6.15 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 6.16 [+0.01] tx: 142 # 6.17 [+0.01] rx: 142 # 6.17 [+0.00] rx: 100 # 6.20 [+0.02] OK # 6.20 [+0.00] # 6.38 [+0.18] raw bind # 8.27 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 8.27 [+0.01] tx: 142 # 8.28 [+0.01] rx: 142 # 8.28 [+0.00] rx: 100 # 8.29 [+0.01] OK # 8.29 [+0.00] # 8.46 [+0.17] raw qdisc bypass # 10.32 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 10.32 [+0.01] tx: 142 # 10.33 [+0.00] rx: 142 # 10.33 [+0.00] rx: 100 # 10.34 [+0.01] OK # 10.34 [+0.00] # 10.52 [+0.18] raw vlan # 12.42 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 12.43 [+0.01] tx: 146 # 12.44 [+0.01] rx: 100 # 12.45 [+0.02] OK # 12.45 [+0.00] # 12.65 [+0.19] raw vnet hdr # 14.58 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 14.59 [+0.01] tx: 152 # 14.60 [+0.02] rx: 142 # 14.60 [+0.00] rx: 100 # 14.62 [+0.02] OK # 14.62 [+0.00] # 14.82 [+0.20] raw csum_off # 16.74 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 16.74 [+0.01] tx: 152 # 16.75 [+0.01] rx: 142 # 16.75 [+0.00] rx: 100 # 16.77 [+0.02] OK # 16.77 [+0.00] # 16.94 [+0.18] raw csum_off with bad offset (expected to fail) # 18.87 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 18.88 [+0.01] ./psock_snd: write: Invalid argument # 19.11 [+0.23] raw min size # 20.96 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 20.98 [+0.02] tx: 42 # 20.99 [+0.01] rx: 0 # 21.00 [+0.01] OK # 21.00 [+0.00] # 21.18 [+0.18] raw mtu size # 23.01 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 23.02 [+0.01] tx: 1514 # 23.03 [+0.01] rx: 1472 # 23.04 [+0.02] OK # 23.05 [+0.00] # 23.22 [+0.17] raw mtu size + 1 (expected to fail) # 25.10 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 25.11 [+0.01] ./psock_snd: write: Message too long # 25.33 [+0.22] raw vlan mtu size + 1 (expected to fail) # 27.18 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 27.18 [+0.01] ./psock_snd: write: Message too long # 27.41 [+0.23] dgram mtu size # 29.29 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 29.30 [+0.01] tx: 1500 # 29.31 [+0.01] rx: 1472 # 29.33 [+0.02] OK # 29.33 [+0.00] # 29.50 [+0.17] dgram mtu size + 1 (expected to fail) # 31.32 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 31.33 [+0.01] ./psock_snd: write: Message too long # 31.55 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 33.38 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 33.39 [+0.01] tx: 14 # 33.51 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 33.72 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.54 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 35.55 [+0.01] ./psock_snd: write: Invalid argument # 35.78 [+0.23] raw gso min size # 37.58 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 37.58 [+0.01] tx: 1525 # 37.59 [+0.01] rx: 1473 # 37.61 [+0.02] OK # 37.61 [+0.00] # 37.78 [+0.17] raw gso max size # 39.58 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 39.60 [+0.02] tx: 65559 # 39.61 [+0.01] rx: 65507 # 39.62 [+0.01] OK # 39.62 [+0.00] # 39.78 [+0.17] raw gso max size + 1 (expected to fail) # 41.64 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 41.65 [+0.01] tx: 65560 # 41.76 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 41.97 [+0.20] 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__->