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.09 [+0.09] dgram # 1.86 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 1.86 [+0.01] tx: 128 # 1.87 [+0.01] rx: 142 # 1.87 [+0.00] rx: 100 # 1.88 [+0.01] OK # 1.88 [+0.00] # 2.06 [+0.18] dgram bind # 3.83 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 3.84 [+0.00] tx: 128 # 3.85 [+0.01] rx: 142 # 3.85 [+0.00] rx: 100 # 3.86 [+0.01] OK # 3.86 [+0.00] # 4.04 [+0.18] raw # 5.79 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 5.79 [+0.00] tx: 142 # 5.80 [+0.01] rx: 142 # 5.80 [+0.00] rx: 100 # 5.82 [+0.02] OK # 5.82 [+0.00] # 6.00 [+0.18] raw bind # 7.77 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 7.77 [+0.01] tx: 142 # 7.78 [+0.01] rx: 142 # 7.78 [+0.00] rx: 100 # 7.79 [+0.01] OK # 7.79 [+0.00] # 7.96 [+0.17] raw qdisc bypass # 9.70 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 9.71 [+0.01] tx: 142 # 9.71 [+0.01] rx: 142 # 9.71 [+0.00] rx: 100 # 9.73 [+0.01] OK # 9.73 [+0.00] # 9.89 [+0.16] raw vlan # 11.61 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 11.61 [+0.00] tx: 146 # 11.63 [+0.02] rx: 100 # 11.65 [+0.02] OK # 11.65 [+0.00] # 11.83 [+0.18] raw vnet hdr # 13.60 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 13.60 [+0.00] tx: 152 # 13.61 [+0.01] rx: 142 # 13.61 [+0.00] rx: 100 # 13.63 [+0.02] OK # 13.63 [+0.00] # 13.81 [+0.18] raw csum_off # 15.51 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 15.52 [+0.01] tx: 152 # 15.53 [+0.01] rx: 142 # 15.53 [+0.00] rx: 100 # 15.54 [+0.01] OK # 15.54 [+0.00] # 15.70 [+0.16] raw csum_off with bad offset (expected to fail) # 17.43 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 17.44 [+0.00] ./psock_snd: write: Invalid argument # 17.66 [+0.22] raw min size # 19.35 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 19.36 [+0.01] tx: 42 # 19.38 [+0.02] rx: 0 # 19.39 [+0.02] OK # 19.39 [+0.00] # 19.57 [+0.18] raw mtu size # 21.30 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 21.30 [+0.00] tx: 1514 # 21.31 [+0.01] rx: 1472 # 21.33 [+0.02] OK # 21.33 [+0.00] # 21.51 [+0.17] raw mtu size + 1 (expected to fail) # 23.26 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 23.27 [+0.01] ./psock_snd: write: Message too long # 23.47 [+0.20] raw vlan mtu size + 1 (expected to fail) # 25.24 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 25.25 [+0.01] ./psock_snd: write: Message too long # 25.45 [+0.21] dgram mtu size # 27.20 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 27.20 [+0.00] tx: 1500 # 27.21 [+0.01] rx: 1472 # 27.22 [+0.01] OK # 27.22 [+0.00] # 27.39 [+0.17] dgram mtu size + 1 (expected to fail) # 29.15 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 29.16 [+0.01] ./psock_snd: write: Message too long # 29.37 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 31.09 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 31.09 [+0.01] tx: 14 # 31.21 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.40 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.14 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 33.14 [+0.01] ./psock_snd: write: Invalid argument # 33.32 [+0.18] raw gso min size # 35.05 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 35.05 [+0.00] tx: 1525 # 35.06 [+0.01] rx: 1473 # 35.07 [+0.01] OK # 35.07 [+0.00] # 35.25 [+0.18] raw gso max size # 37.02 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 37.03 [+0.01] tx: 65559 # 37.04 [+0.01] rx: 65507 # 37.06 [+0.02] OK # 37.06 [+0.00] # 37.24 [+0.18] raw gso max size + 1 (expected to fail) # 38.99 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 39.00 [+0.01] tx: 65560 # 39.12 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.31 [+0.19] 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__->