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.06 [+0.06] dgram # 1.77 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 1.77 [+0.00] tx: 128 # 1.78 [+0.01] rx: 142 # 1.78 [+0.00] rx: 100 # 1.80 [+0.02] OK # 1.80 [+0.00] # 1.96 [+0.16] dgram bind # 3.62 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 3.63 [+0.01] tx: 128 # 3.64 [+0.02] rx: 142 # 3.64 [+0.00] rx: 100 # 3.66 [+0.01] OK # 3.66 [+0.00] # 3.82 [+0.17] raw # 5.48 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 5.49 [+0.01] tx: 142 # 5.50 [+0.01] rx: 142 # 5.50 [+0.00] rx: 100 # 5.52 [+0.02] OK # 5.52 [+0.00] # 5.67 [+0.16] raw bind # 7.34 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 7.35 [+0.00] tx: 142 # 7.37 [+0.02] rx: 142 # 7.37 [+0.00] rx: 100 # 7.39 [+0.02] OK # 7.39 [+0.00] # 7.54 [+0.15] raw qdisc bypass # 9.19 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 9.20 [+0.01] tx: 142 # 9.21 [+0.01] rx: 142 # 9.21 [+0.00] rx: 100 # 9.22 [+0.01] OK # 9.22 [+0.00] # 9.38 [+0.15] raw vlan # 11.01 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 11.01 [+0.00] tx: 146 # 11.03 [+0.01] rx: 100 # 11.04 [+0.01] OK # 11.04 [+0.00] # 11.21 [+0.17] raw vnet hdr # 12.89 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 12.90 [+0.01] tx: 152 # 12.91 [+0.02] rx: 142 # 12.91 [+0.00] rx: 100 # 12.93 [+0.02] OK # 12.93 [+0.00] # 13.09 [+0.16] raw csum_off # 14.71 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 14.72 [+0.01] tx: 152 # 14.74 [+0.02] rx: 142 # 14.74 [+0.00] rx: 100 # 14.76 [+0.02] OK # 14.76 [+0.00] # 14.91 [+0.15] raw csum_off with bad offset (expected to fail) # 16.51 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 16.52 [+0.00] ./psock_snd: write: Invalid argument # 16.72 [+0.20] raw min size # 18.27 [+1.55] net.ipv4.conf.lo.accept_local = 1 # 18.27 [+0.00] tx: 42 # 18.27 [+0.01] rx: 0 # 18.28 [+0.01] OK # 18.28 [+0.00] # 18.43 [+0.15] raw mtu size # 20.00 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 20.01 [+0.00] tx: 1514 # 20.01 [+0.01] rx: 1472 # 20.02 [+0.01] OK # 20.02 [+0.00] # 20.19 [+0.16] raw mtu size + 1 (expected to fail) # 21.76 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 21.76 [+0.00] ./psock_snd: write: Message too long # 21.96 [+0.19] raw vlan mtu size + 1 (expected to fail) # 23.54 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 23.54 [+0.00] ./psock_snd: write: Message too long # 23.72 [+0.18] dgram mtu size # 25.29 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 25.29 [+0.00] tx: 1500 # 25.30 [+0.01] rx: 1472 # 25.32 [+0.02] OK # 25.32 [+0.00] # 25.46 [+0.15] dgram mtu size + 1 (expected to fail) # 27.05 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 27.05 [+0.00] ./psock_snd: write: Message too long # 27.22 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 28.79 [+1.56] net.ipv4.conf.lo.accept_local = 1 # 28.79 [+0.00] tx: 14 # 28.90 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.07 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.61 [+1.53] net.ipv4.conf.lo.accept_local = 1 # 30.61 [+0.00] ./psock_snd: write: Invalid argument # 30.81 [+0.19] raw gso min size # 32.36 [+1.56] net.ipv4.conf.lo.accept_local = 1 # 32.37 [+0.00] tx: 1525 # 32.38 [+0.01] rx: 1473 # 32.40 [+0.02] OK # 32.40 [+0.00] # 32.57 [+0.16] raw gso max size # 34.17 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 34.17 [+0.01] tx: 65559 # 34.18 [+0.01] rx: 65507 # 34.19 [+0.01] OK # 34.19 [+0.00] # 34.35 [+0.15] raw gso max size + 1 (expected to fail) # 35.91 [+1.56] net.ipv4.conf.lo.accept_local = 1 # 35.92 [+0.01] tx: 65560 # 36.04 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 36.21 [+0.18] 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__->