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.17 [+0.17] dgram # 1.83 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 1.84 [+0.01] tx: 128 # 1.85 [+0.01] rx: 142 # 1.85 [+0.00] rx: 100 # 1.86 [+0.01] OK # 1.86 [+0.00] # 2.03 [+0.17] dgram bind # 3.72 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 3.72 [+0.00] tx: 128 # 3.73 [+0.01] rx: 142 # 3.73 [+0.00] rx: 100 # 3.75 [+0.02] OK # 3.75 [+0.00] # 3.91 [+0.17] raw # 5.59 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 5.59 [+0.00] tx: 142 # 5.62 [+0.02] rx: 142 # 5.62 [+0.00] rx: 100 # 5.63 [+0.02] OK # 5.63 [+0.00] # 5.81 [+0.17] raw bind # 7.47 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 7.48 [+0.01] tx: 142 # 7.49 [+0.01] rx: 142 # 7.49 [+0.00] rx: 100 # 7.50 [+0.01] OK # 7.50 [+0.00] # 7.67 [+0.17] raw qdisc bypass # 9.34 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 9.34 [+0.00] tx: 142 # 9.36 [+0.02] rx: 142 # 9.36 [+0.00] rx: 100 # 9.38 [+0.02] OK # 9.38 [+0.00] # 9.53 [+0.16] raw vlan # 11.21 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 11.22 [+0.00] tx: 146 # 11.24 [+0.02] rx: 100 # 11.25 [+0.01] OK # 11.25 [+0.00] # 11.41 [+0.17] raw vnet hdr # 13.06 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 13.07 [+0.00] tx: 152 # 13.09 [+0.02] rx: 142 # 13.09 [+0.00] rx: 100 # 13.11 [+0.02] OK # 13.11 [+0.00] # 13.27 [+0.16] raw csum_off # 14.92 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 14.93 [+0.00] tx: 152 # 14.93 [+0.01] rx: 142 # 14.93 [+0.00] rx: 100 # 14.94 [+0.01] OK # 14.94 [+0.00] # 15.12 [+0.17] raw csum_off with bad offset (expected to fail) # 16.85 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 16.85 [+0.00] ./psock_snd: write: Invalid argument # 17.06 [+0.21] raw min size # 18.80 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 18.80 [+0.00] tx: 42 # 18.82 [+0.02] rx: 0 # 18.84 [+0.02] OK # 18.84 [+0.00] # 19.00 [+0.16] raw mtu size # 20.79 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 20.79 [+0.00] tx: 1514 # 20.80 [+0.01] rx: 1472 # 20.82 [+0.02] OK # 20.82 [+0.00] # 20.99 [+0.18] raw mtu size + 1 (expected to fail) # 22.68 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 22.68 [+0.00] ./psock_snd: write: Message too long # 22.90 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.60 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 24.60 [+0.00] ./psock_snd: write: Message too long # 24.81 [+0.21] dgram mtu size # 26.54 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 26.55 [+0.01] tx: 1500 # 26.55 [+0.01] rx: 1472 # 26.57 [+0.01] OK # 26.57 [+0.00] # 26.73 [+0.16] dgram mtu size + 1 (expected to fail) # 28.45 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 28.46 [+0.00] ./psock_snd: write: Message too long # 28.67 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 30.35 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 30.36 [+0.00] tx: 14 # 30.47 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 30.64 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 32.35 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 32.35 [+0.00] ./psock_snd: write: Invalid argument # 32.56 [+0.21] raw gso min size # 34.29 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 34.30 [+0.01] tx: 1525 # 34.31 [+0.01] rx: 1473 # 34.32 [+0.01] OK # 34.32 [+0.00] # 34.49 [+0.17] raw gso max size # 36.22 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 36.22 [+0.01] tx: 65559 # 36.23 [+0.01] rx: 65507 # 36.24 [+0.01] OK # 36.24 [+0.00] # 36.42 [+0.17] raw gso max size + 1 (expected to fail) # 38.13 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 38.13 [+0.01] tx: 65560 # 38.26 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 38.44 [+0.17] 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__->