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.12 [+0.12] dgram # 1.72 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 1.73 [+0.01] tx: 128 # 1.74 [+0.01] rx: 142 # 1.74 [+0.00] rx: 100 # 1.76 [+0.02] OK # 1.76 [+0.00] # 1.90 [+0.15] dgram bind # 3.49 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 3.50 [+0.00] tx: 128 # 3.52 [+0.02] rx: 142 # 3.52 [+0.00] rx: 100 # 3.54 [+0.02] OK # 3.54 [+0.00] # 3.68 [+0.15] raw # 5.26 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 5.27 [+0.00] tx: 142 # 5.27 [+0.01] rx: 142 # 5.27 [+0.00] rx: 100 # 5.28 [+0.01] OK # 5.28 [+0.00] # 5.44 [+0.16] raw bind # 7.04 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 7.04 [+0.00] tx: 142 # 7.05 [+0.01] rx: 142 # 7.05 [+0.00] rx: 100 # 7.06 [+0.01] OK # 7.06 [+0.00] # 7.22 [+0.16] raw qdisc bypass # 8.79 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 8.80 [+0.01] tx: 142 # 8.82 [+0.02] rx: 142 # 8.82 [+0.00] rx: 100 # 8.83 [+0.02] OK # 8.83 [+0.00] # 8.98 [+0.15] raw vlan # 10.58 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 10.59 [+0.00] tx: 146 # 10.60 [+0.02] rx: 100 # 10.62 [+0.02] OK # 10.62 [+0.00] # 10.78 [+0.16] raw vnet hdr # 12.39 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 12.39 [+0.00] tx: 152 # 12.40 [+0.01] rx: 142 # 12.40 [+0.00] rx: 100 # 12.41 [+0.01] OK # 12.41 [+0.00] # 12.57 [+0.15] raw csum_off # 14.15 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 14.16 [+0.01] tx: 152 # 14.18 [+0.02] rx: 142 # 14.18 [+0.00] rx: 100 # 14.20 [+0.02] OK # 14.20 [+0.00] # 14.36 [+0.16] raw csum_off with bad offset (expected to fail) # 15.96 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 15.96 [+0.00] ./psock_snd: write: Invalid argument # 16.15 [+0.18] raw min size # 17.74 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 17.75 [+0.01] tx: 42 # 17.77 [+0.02] rx: 0 # 17.78 [+0.02] OK # 17.78 [+0.00] # 17.94 [+0.16] raw mtu size # 19.54 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 19.54 [+0.00] tx: 1514 # 19.55 [+0.01] rx: 1472 # 19.56 [+0.01] OK # 19.56 [+0.00] # 19.71 [+0.16] raw mtu size + 1 (expected to fail) # 21.33 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 21.34 [+0.01] ./psock_snd: write: Message too long # 21.54 [+0.20] raw vlan mtu size + 1 (expected to fail) # 23.17 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 23.17 [+0.00] ./psock_snd: write: Message too long # 23.38 [+0.20] dgram mtu size # 24.99 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 24.99 [+0.00] tx: 1500 # 25.00 [+0.01] rx: 1472 # 25.02 [+0.02] OK # 25.02 [+0.00] # 25.18 [+0.16] dgram mtu size + 1 (expected to fail) # 26.77 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 26.77 [+0.01] ./psock_snd: write: Message too long # 26.97 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 28.57 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 28.57 [+0.01] tx: 14 # 28.68 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 28.87 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.45 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 30.46 [+0.01] ./psock_snd: write: Invalid argument # 30.66 [+0.19] raw gso min size # 32.23 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 32.23 [+0.00] tx: 1525 # 32.24 [+0.01] rx: 1473 # 32.25 [+0.01] OK # 32.25 [+0.00] # 32.42 [+0.17] raw gso max size # 34.01 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 34.02 [+0.01] tx: 65559 # 34.04 [+0.02] rx: 65507 # 34.07 [+0.03] OK # 34.07 [+0.00] # 34.23 [+0.16] raw gso max size + 1 (expected to fail) # 35.88 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 35.88 [+0.01] tx: 65560 # 36.01 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 36.22 [+0.21] 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__->