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.16 [+0.16] dgram # 2.37 [+2.22] net.ipv4.conf.lo.accept_local = 1 # 2.39 [+0.01] tx: 128 # 2.40 [+0.02] rx: 142 # 2.40 [+0.00] rx: 100 # 2.42 [+0.01] OK # 2.42 [+0.00] # 2.65 [+0.23] dgram bind # 4.86 [+2.22] net.ipv4.conf.lo.accept_local = 1 # 4.87 [+0.01] tx: 128 # 4.88 [+0.01] rx: 142 # 4.88 [+0.00] rx: 100 # 4.89 [+0.01] OK # 4.89 [+0.00] # 5.06 [+0.17] raw # 7.12 [+2.06] net.ipv4.conf.lo.accept_local = 1 # 7.13 [+0.01] tx: 142 # 7.15 [+0.02] rx: 142 # 7.15 [+0.00] rx: 100 # 7.17 [+0.02] OK # 7.17 [+0.00] # 7.37 [+0.20] raw bind # 9.67 [+2.30] net.ipv4.conf.lo.accept_local = 1 # 9.68 [+0.00] tx: 142 # 9.69 [+0.02] rx: 142 # 9.69 [+0.00] rx: 100 # 9.71 [+0.02] OK # 9.71 [+0.00] # 9.92 [+0.21] raw qdisc bypass # 12.20 [+2.28] net.ipv4.conf.lo.accept_local = 1 # 12.20 [+0.01] tx: 142 # 12.21 [+0.01] rx: 142 # 12.21 [+0.00] rx: 100 # 12.22 [+0.01] OK # 12.22 [+0.00] # 12.47 [+0.25] raw vlan # 14.70 [+2.23] net.ipv4.conf.lo.accept_local = 1 # 14.71 [+0.01] tx: 146 # 14.72 [+0.02] rx: 100 # 14.74 [+0.02] OK # 14.74 [+0.00] # 14.94 [+0.20] raw vnet hdr # 17.10 [+2.16] net.ipv4.conf.lo.accept_local = 1 # 17.11 [+0.01] tx: 152 # 17.13 [+0.02] rx: 142 # 17.13 [+0.00] rx: 100 # 17.14 [+0.02] OK # 17.14 [+0.00] # 17.34 [+0.20] raw csum_off # 19.55 [+2.21] net.ipv4.conf.lo.accept_local = 1 # 19.55 [+0.01] tx: 152 # 19.56 [+0.01] rx: 142 # 19.56 [+0.00] rx: 100 # 19.57 [+0.01] OK # 19.57 [+0.00] # 19.79 [+0.21] raw csum_off with bad offset (expected to fail) # 21.95 [+2.16] net.ipv4.conf.lo.accept_local = 1 # 21.96 [+0.01] ./psock_snd: write: Invalid argument # 22.23 [+0.28] raw min size # 24.37 [+2.14] net.ipv4.conf.lo.accept_local = 1 # 24.38 [+0.01] tx: 42 # 24.39 [+0.01] rx: 0 # 24.41 [+0.02] OK # 24.41 [+0.00] # 24.61 [+0.20] raw mtu size # 26.75 [+2.14] net.ipv4.conf.lo.accept_local = 1 # 26.76 [+0.01] tx: 1514 # 26.77 [+0.01] rx: 1472 # 26.78 [+0.01] OK # 26.78 [+0.00] # 26.99 [+0.21] raw mtu size + 1 (expected to fail) # 29.09 [+2.10] net.ipv4.conf.lo.accept_local = 1 # 29.10 [+0.01] ./psock_snd: write: Message too long # 29.34 [+0.25] raw vlan mtu size + 1 (expected to fail) # 31.54 [+2.20] net.ipv4.conf.lo.accept_local = 1 # 31.55 [+0.01] ./psock_snd: write: Message too long # 31.79 [+0.24] dgram mtu size # 33.92 [+2.13] net.ipv4.conf.lo.accept_local = 1 # 33.92 [+0.01] tx: 1500 # 33.93 [+0.01] rx: 1472 # 33.95 [+0.02] OK # 33.95 [+0.00] # 34.16 [+0.21] dgram mtu size + 1 (expected to fail) # 36.14 [+1.99] net.ipv4.conf.lo.accept_local = 1 # 36.15 [+0.00] ./psock_snd: write: Message too long # 36.40 [+0.26] raw truncate hlen (expected to fail: does not arrive) # 38.38 [+1.98] net.ipv4.conf.lo.accept_local = 1 # 38.38 [+0.00] tx: 14 # 38.50 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 38.70 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 40.90 [+2.19] net.ipv4.conf.lo.accept_local = 1 # 40.90 [+0.01] ./psock_snd: write: Invalid argument # 41.15 [+0.24] raw gso min size # 43.33 [+2.18] net.ipv4.conf.lo.accept_local = 1 # 43.34 [+0.01] tx: 1525 # 43.35 [+0.01] rx: 1473 # 43.38 [+0.02] OK # 43.38 [+0.00] # 43.57 [+0.20] raw gso max size # 45.60 [+2.03] net.ipv4.conf.lo.accept_local = 1 # 45.62 [+0.01] tx: 65559 # 45.64 [+0.02] rx: 65507 # 45.66 [+0.02] OK # 45.66 [+0.00] # 45.87 [+0.21] raw gso max size + 1 (expected to fail) # 47.96 [+2.09] net.ipv4.conf.lo.accept_local = 1 # 47.97 [+0.01] tx: 65560 # 48.10 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 48.35 [+0.26] 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__->