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 # 1.79 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 1.80 [+0.01] tx: 128 # 1.81 [+0.01] rx: 142 # 1.81 [+0.00] rx: 100 # 1.82 [+0.01] OK # 1.82 [+0.00] # 1.99 [+0.17] dgram bind # 3.69 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 3.70 [+0.01] tx: 128 # 3.71 [+0.01] rx: 142 # 3.71 [+0.00] rx: 100 # 3.72 [+0.01] OK # 3.72 [+0.00] # 3.90 [+0.18] raw # 5.63 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 5.64 [+0.01] tx: 142 # 5.64 [+0.01] rx: 142 # 5.65 [+0.00] rx: 100 # 5.66 [+0.01] OK # 5.66 [+0.00] # 5.82 [+0.17] raw bind # 7.60 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 7.60 [+0.01] tx: 142 # 7.61 [+0.01] rx: 142 # 7.61 [+0.00] rx: 100 # 7.63 [+0.02] OK # 7.63 [+0.00] # 7.81 [+0.19] raw qdisc bypass # 9.56 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 9.57 [+0.00] tx: 142 # 9.59 [+0.02] rx: 142 # 9.59 [+0.00] rx: 100 # 9.60 [+0.02] OK # 9.60 [+0.00] # 9.76 [+0.16] raw vlan # 11.50 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 11.50 [+0.00] tx: 146 # 11.52 [+0.02] rx: 100 # 11.54 [+0.02] OK # 11.54 [+0.00] # 11.71 [+0.17] raw vnet hdr # 13.44 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 13.45 [+0.01] tx: 152 # 13.47 [+0.02] rx: 142 # 13.47 [+0.00] rx: 100 # 13.49 [+0.02] OK # 13.49 [+0.00] # 13.66 [+0.17] raw csum_off # 15.43 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 15.44 [+0.00] tx: 152 # 15.46 [+0.02] rx: 142 # 15.46 [+0.00] rx: 100 # 15.47 [+0.01] OK # 15.47 [+0.00] # 15.64 [+0.17] raw csum_off with bad offset (expected to fail) # 17.38 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 17.38 [+0.00] ./psock_snd: write: Invalid argument # 17.59 [+0.20] raw min size # 19.32 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 19.32 [+0.00] tx: 42 # 19.33 [+0.01] rx: 0 # 19.35 [+0.02] OK # 19.35 [+0.00] # 19.52 [+0.17] raw mtu size # 21.25 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 21.26 [+0.00] tx: 1514 # 21.26 [+0.01] rx: 1472 # 21.28 [+0.01] OK # 21.28 [+0.00] # 21.44 [+0.16] raw mtu size + 1 (expected to fail) # 23.12 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 23.13 [+0.00] ./psock_snd: write: Message too long # 23.34 [+0.22] raw vlan mtu size + 1 (expected to fail) # 25.07 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 25.08 [+0.02] ./psock_snd: write: Message too long # 25.30 [+0.21] dgram mtu size # 27.03 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 27.03 [+0.00] tx: 1500 # 27.05 [+0.02] rx: 1472 # 27.07 [+0.02] OK # 27.07 [+0.00] # 27.24 [+0.17] dgram mtu size + 1 (expected to fail) # 28.99 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 29.00 [+0.01] ./psock_snd: write: Message too long # 29.23 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 30.99 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 31.00 [+0.01] tx: 14 # 31.11 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.32 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.06 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 33.07 [+0.01] ./psock_snd: write: Invalid argument # 33.27 [+0.19] raw gso min size # 35.01 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 35.02 [+0.01] tx: 1525 # 35.03 [+0.01] rx: 1473 # 35.05 [+0.02] OK # 35.05 [+0.00] # 35.21 [+0.17] raw gso max size # 36.97 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 36.98 [+0.01] tx: 65559 # 37.00 [+0.02] rx: 65507 # 37.02 [+0.02] OK # 37.02 [+0.00] # 37.20 [+0.18] raw gso max size + 1 (expected to fail) # 38.91 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 38.92 [+0.01] tx: 65560 # 39.03 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 39.23 [+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__->