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.14 [+0.14] dgram # 2.09 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 2.09 [+0.01] tx: 128 # 2.11 [+0.02] rx: 142 # 2.11 [+0.00] rx: 100 # 2.12 [+0.02] OK # 2.12 [+0.00] # 2.31 [+0.18] dgram bind # 4.25 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 4.26 [+0.01] tx: 128 # 4.27 [+0.01] rx: 142 # 4.27 [+0.00] rx: 100 # 4.28 [+0.02] OK # 4.28 [+0.00] # 4.47 [+0.19] raw # 6.38 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 6.39 [+0.00] tx: 142 # 6.40 [+0.01] rx: 142 # 6.40 [+0.00] rx: 100 # 6.41 [+0.02] OK # 6.41 [+0.00] # 6.60 [+0.19] raw bind # 8.50 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 8.51 [+0.00] tx: 142 # 8.52 [+0.01] rx: 142 # 8.52 [+0.00] rx: 100 # 8.54 [+0.02] OK # 8.54 [+0.00] # 8.72 [+0.18] raw qdisc bypass # 10.59 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 10.60 [+0.00] tx: 142 # 10.61 [+0.01] rx: 142 # 10.61 [+0.00] rx: 100 # 10.62 [+0.01] OK # 10.62 [+0.00] # 10.81 [+0.19] raw vlan # 12.74 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 12.75 [+0.00] tx: 146 # 12.76 [+0.01] rx: 100 # 12.78 [+0.02] OK # 12.78 [+0.00] # 12.98 [+0.20] raw vnet hdr # 14.92 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 14.93 [+0.01] tx: 152 # 14.94 [+0.01] rx: 142 # 14.94 [+0.00] rx: 100 # 14.95 [+0.01] OK # 14.95 [+0.00] # 15.13 [+0.19] raw csum_off # 17.01 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 17.02 [+0.01] tx: 152 # 17.04 [+0.02] rx: 142 # 17.04 [+0.00] rx: 100 # 17.06 [+0.02] OK # 17.06 [+0.00] # 17.24 [+0.19] raw csum_off with bad offset (expected to fail) # 19.19 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 19.20 [+0.01] ./psock_snd: write: Invalid argument # 19.42 [+0.22] raw min size # 21.32 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 21.33 [+0.01] tx: 42 # 21.34 [+0.01] rx: 0 # 21.35 [+0.01] OK # 21.35 [+0.00] # 21.54 [+0.19] raw mtu size # 23.46 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 23.47 [+0.00] tx: 1514 # 23.47 [+0.01] rx: 1472 # 23.49 [+0.02] OK # 23.49 [+0.00] # 23.68 [+0.19] raw mtu size + 1 (expected to fail) # 25.57 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 25.57 [+0.00] ./psock_snd: write: Message too long # 25.78 [+0.21] raw vlan mtu size + 1 (expected to fail) # 27.69 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 27.69 [+0.00] ./psock_snd: write: Message too long # 27.91 [+0.22] dgram mtu size # 29.86 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 29.87 [+0.00] tx: 1500 # 29.88 [+0.01] rx: 1472 # 29.90 [+0.02] OK # 29.90 [+0.00] # 30.08 [+0.18] dgram mtu size + 1 (expected to fail) # 31.96 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 31.97 [+0.01] ./psock_snd: write: Message too long # 32.20 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 34.09 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 34.10 [+0.00] tx: 14 # 34.22 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 34.43 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 36.35 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 36.36 [+0.01] ./psock_snd: write: Invalid argument # 36.56 [+0.20] raw gso min size # 38.48 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 38.50 [+0.01] tx: 1525 # 38.50 [+0.01] rx: 1473 # 38.52 [+0.01] OK # 38.52 [+0.00] # 38.70 [+0.18] raw gso max size # 40.67 [+1.97] net.ipv4.conf.lo.accept_local = 1 # 40.68 [+0.01] tx: 65559 # 40.69 [+0.01] rx: 65507 # 40.70 [+0.02] OK # 40.70 [+0.00] # 40.90 [+0.19] raw gso max size + 1 (expected to fail) # 42.84 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 42.86 [+0.02] tx: 65560 # 42.98 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 43.19 [+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__->