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.82 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 1.83 [+0.00] tx: 128 # 1.84 [+0.02] rx: 142 # 1.84 [+0.00] rx: 100 # 1.86 [+0.02] OK # 1.86 [+0.00] # 2.03 [+0.18] dgram bind # 3.79 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 3.79 [+0.00] tx: 128 # 3.80 [+0.01] rx: 142 # 3.80 [+0.00] rx: 100 # 3.82 [+0.01] OK # 3.82 [+0.00] # 3.99 [+0.18] raw # 5.71 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 5.72 [+0.00] tx: 142 # 5.74 [+0.02] rx: 142 # 5.74 [+0.00] rx: 100 # 5.75 [+0.02] OK # 5.75 [+0.00] # 5.94 [+0.19] raw bind # 7.67 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 7.68 [+0.01] tx: 142 # 7.69 [+0.01] rx: 142 # 7.69 [+0.00] rx: 100 # 7.70 [+0.01] OK # 7.70 [+0.00] # 7.88 [+0.17] raw qdisc bypass # 9.62 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 9.63 [+0.01] tx: 142 # 9.64 [+0.01] rx: 142 # 9.64 [+0.00] rx: 100 # 9.65 [+0.01] OK # 9.65 [+0.00] # 9.82 [+0.17] raw vlan # 11.57 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 11.57 [+0.01] tx: 146 # 11.59 [+0.02] rx: 100 # 11.61 [+0.01] OK # 11.61 [+0.00] # 11.78 [+0.17] raw vnet hdr # 13.54 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 13.55 [+0.00] tx: 152 # 13.56 [+0.01] rx: 142 # 13.56 [+0.00] rx: 100 # 13.58 [+0.02] OK # 13.58 [+0.00] # 13.75 [+0.17] raw csum_off # 15.48 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 15.48 [+0.01] tx: 152 # 15.49 [+0.01] rx: 142 # 15.49 [+0.00] rx: 100 # 15.50 [+0.01] OK # 15.50 [+0.00] # 15.68 [+0.18] raw csum_off with bad offset (expected to fail) # 17.44 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 17.45 [+0.01] ./psock_snd: write: Invalid argument # 17.65 [+0.20] raw min size # 19.41 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 19.41 [+0.00] tx: 42 # 19.42 [+0.01] rx: 0 # 19.44 [+0.02] OK # 19.44 [+0.00] # 19.61 [+0.18] raw mtu size # 21.37 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 21.38 [+0.01] tx: 1514 # 21.39 [+0.01] rx: 1472 # 21.40 [+0.01] OK # 21.40 [+0.00] # 21.57 [+0.17] raw mtu size + 1 (expected to fail) # 23.34 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 23.35 [+0.01] ./psock_snd: write: Message too long # 23.57 [+0.22] raw vlan mtu size + 1 (expected to fail) # 25.35 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 25.35 [+0.01] ./psock_snd: write: Message too long # 25.58 [+0.22] dgram mtu size # 27.30 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 27.31 [+0.00] tx: 1500 # 27.31 [+0.01] rx: 1472 # 27.32 [+0.01] OK # 27.32 [+0.00] # 27.50 [+0.18] dgram mtu size + 1 (expected to fail) # 29.28 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 29.28 [+0.01] ./psock_snd: write: Message too long # 29.51 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 31.29 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 31.30 [+0.00] tx: 14 # 31.41 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.59 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.38 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 33.39 [+0.01] ./psock_snd: write: Invalid argument # 33.59 [+0.20] raw gso min size # 35.36 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 35.37 [+0.01] tx: 1525 # 35.39 [+0.02] rx: 1473 # 35.41 [+0.02] OK # 35.41 [+0.00] # 35.58 [+0.17] raw gso max size # 37.34 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 37.35 [+0.01] tx: 65559 # 37.36 [+0.01] rx: 65507 # 37.37 [+0.01] OK # 37.37 [+0.00] # 37.55 [+0.18] raw gso max size + 1 (expected to fail) # 39.32 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 39.33 [+0.01] tx: 65560 # 39.45 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.65 [+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__->