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.10 [+0.10] dgram # 1.99 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 2.00 [+0.01] tx: 128 # 2.01 [+0.02] rx: 142 # 2.01 [+0.00] rx: 100 # 2.02 [+0.01] OK # 2.02 [+0.00] # 2.22 [+0.19] dgram bind # 4.09 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 4.10 [+0.01] tx: 128 # 4.12 [+0.02] rx: 142 # 4.12 [+0.00] rx: 100 # 4.13 [+0.02] OK # 4.13 [+0.00] # 4.31 [+0.17] raw # 6.18 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 6.19 [+0.00] tx: 142 # 6.21 [+0.02] rx: 142 # 6.21 [+0.00] rx: 100 # 6.22 [+0.01] OK # 6.22 [+0.00] # 6.41 [+0.19] raw bind # 8.26 [+1.85] 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.47 [+0.18] raw qdisc bypass # 10.31 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 10.31 [+0.00] tx: 142 # 10.32 [+0.01] rx: 142 # 10.32 [+0.00] rx: 100 # 10.33 [+0.01] OK # 10.33 [+0.00] # 10.50 [+0.17] raw vlan # 12.33 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 12.35 [+0.01] tx: 146 # 12.37 [+0.02] rx: 100 # 12.39 [+0.02] OK # 12.39 [+0.00] # 12.57 [+0.18] raw vnet hdr # 14.45 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 14.46 [+0.01] tx: 152 # 14.47 [+0.01] rx: 142 # 14.47 [+0.00] rx: 100 # 14.48 [+0.01] OK # 14.48 [+0.00] # 14.66 [+0.18] raw csum_off # 16.54 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 16.54 [+0.01] tx: 152 # 16.56 [+0.02] rx: 142 # 16.56 [+0.00] rx: 100 # 16.58 [+0.02] OK # 16.58 [+0.00] # 16.77 [+0.19] raw csum_off with bad offset (expected to fail) # 18.62 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 18.64 [+0.02] ./psock_snd: write: Invalid argument # 18.87 [+0.23] raw min size # 20.78 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 20.79 [+0.01] tx: 42 # 20.79 [+0.01] rx: 0 # 20.81 [+0.01] OK # 20.81 [+0.00] # 21.00 [+0.19] raw mtu size # 22.90 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 22.90 [+0.00] tx: 1514 # 22.92 [+0.02] rx: 1472 # 22.94 [+0.02] OK # 22.94 [+0.00] # 23.13 [+0.19] raw mtu size + 1 (expected to fail) # 25.07 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 25.08 [+0.01] ./psock_snd: write: Message too long # 25.33 [+0.25] raw vlan mtu size + 1 (expected to fail) # 27.26 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 27.26 [+0.00] ./psock_snd: write: Message too long # 27.46 [+0.20] dgram mtu size # 29.46 [+2.00] net.ipv4.conf.lo.accept_local = 1 # 29.46 [+0.00] tx: 1500 # 29.47 [+0.01] rx: 1472 # 29.48 [+0.01] OK # 29.48 [+0.00] # 29.66 [+0.19] dgram mtu size + 1 (expected to fail) # 31.60 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 31.61 [+0.00] ./psock_snd: write: Message too long # 31.82 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 33.78 [+1.96] net.ipv4.conf.lo.accept_local = 1 # 33.79 [+0.01] tx: 14 # 33.92 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 34.12 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 36.09 [+1.97] net.ipv4.conf.lo.accept_local = 1 # 36.09 [+0.01] ./psock_snd: write: Invalid argument # 36.30 [+0.21] raw gso min size # 38.22 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 38.22 [+0.01] tx: 1525 # 38.24 [+0.01] rx: 1473 # 38.25 [+0.02] OK # 38.25 [+0.00] # 38.44 [+0.19] raw gso max size # 40.38 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 40.39 [+0.01] tx: 65559 # 40.39 [+0.01] rx: 65507 # 40.41 [+0.02] OK # 40.41 [+0.00] # 40.60 [+0.18] raw gso max size + 1 (expected to fail) # 42.54 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 42.55 [+0.01] tx: 65560 # 42.67 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 42.88 [+0.21] 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__->