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.11 [+0.11] dgram # 2.06 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 2.06 [+0.00] tx: 128 # 2.07 [+0.01] rx: 142 # 2.07 [+0.00] rx: 100 # 2.09 [+0.02] OK # 2.09 [+0.00] # 2.30 [+0.21] dgram bind # 4.26 [+1.96] net.ipv4.conf.lo.accept_local = 1 # 4.27 [+0.00] tx: 128 # 4.28 [+0.01] rx: 142 # 4.28 [+0.00] rx: 100 # 4.30 [+0.02] OK # 4.30 [+0.00] # 4.49 [+0.19] raw # 6.43 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 6.44 [+0.01] tx: 142 # 6.46 [+0.02] rx: 142 # 6.46 [+0.00] rx: 100 # 6.47 [+0.02] OK # 6.47 [+0.00] # 6.67 [+0.19] raw bind # 8.59 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 8.59 [+0.01] tx: 142 # 8.60 [+0.01] rx: 142 # 8.60 [+0.00] rx: 100 # 8.62 [+0.02] OK # 8.62 [+0.00] # 8.80 [+0.19] raw qdisc bypass # 10.74 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 10.75 [+0.01] tx: 142 # 10.76 [+0.01] rx: 142 # 10.76 [+0.00] rx: 100 # 10.77 [+0.01] OK # 10.77 [+0.00] # 10.96 [+0.19] raw vlan # 12.86 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 12.87 [+0.00] tx: 146 # 12.89 [+0.02] rx: 100 # 12.91 [+0.02] OK # 12.91 [+0.00] # 13.09 [+0.18] raw vnet hdr # 15.06 [+1.97] net.ipv4.conf.lo.accept_local = 1 # 15.07 [+0.01] tx: 152 # 15.08 [+0.01] rx: 142 # 15.08 [+0.00] rx: 100 # 15.09 [+0.01] OK # 15.09 [+0.00] # 15.29 [+0.20] raw csum_off # 17.21 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 17.21 [+0.00] tx: 152 # 17.23 [+0.01] rx: 142 # 17.23 [+0.00] rx: 100 # 17.24 [+0.02] OK # 17.24 [+0.00] # 17.43 [+0.18] raw csum_off with bad offset (expected to fail) # 19.29 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 19.30 [+0.00] ./psock_snd: write: Invalid argument # 19.51 [+0.22] raw min size # 21.39 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 21.40 [+0.00] tx: 42 # 21.41 [+0.02] rx: 0 # 21.43 [+0.02] OK # 21.43 [+0.00] # 21.61 [+0.18] raw mtu size # 23.51 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 23.52 [+0.01] tx: 1514 # 23.53 [+0.01] rx: 1472 # 23.54 [+0.01] OK # 23.54 [+0.00] # 23.73 [+0.19] raw mtu size + 1 (expected to fail) # 25.62 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 25.62 [+0.00] ./psock_snd: write: Message too long # 25.85 [+0.23] raw vlan mtu size + 1 (expected to fail) # 27.77 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 27.78 [+0.01] ./psock_snd: write: Message too long # 27.99 [+0.22] dgram mtu size # 29.85 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 29.86 [+0.01] tx: 1500 # 29.88 [+0.02] rx: 1472 # 29.90 [+0.02] OK # 29.90 [+0.00] # 30.08 [+0.18] dgram mtu size + 1 (expected to fail) # 31.92 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 31.92 [+0.00] ./psock_snd: write: Message too long # 32.14 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 34.06 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 34.07 [+0.01] tx: 14 # 34.18 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 34.40 [+0.22] raw truncate hlen - 1 (expected to fail: EINVAL) # 36.32 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 36.32 [+0.01] ./psock_snd: write: Invalid argument # 36.54 [+0.22] raw gso min size # 38.44 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 38.45 [+0.01] tx: 1525 # 38.46 [+0.01] rx: 1473 # 38.47 [+0.02] OK # 38.47 [+0.00] # 38.67 [+0.19] raw gso max size # 40.56 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 40.57 [+0.01] tx: 65559 # 40.59 [+0.02] rx: 65507 # 40.61 [+0.02] OK # 40.61 [+0.00] # 40.80 [+0.19] raw gso max size + 1 (expected to fail) # 42.72 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 42.73 [+0.01] tx: 65560 # 42.85 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 43.07 [+0.23] 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__->