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.13 [+0.13] dgram # 1.95 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.01] tx: 128 # 1.96 [+0.01] rx: 142 # 1.96 [+0.00] rx: 100 # 1.98 [+0.01] OK # 1.98 [+0.00] # 2.18 [+0.20] dgram bind # 3.95 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 3.96 [+0.01] tx: 128 # 3.97 [+0.01] rx: 142 # 3.97 [+0.00] rx: 100 # 3.97 [+0.01] OK # 3.97 [+0.00] # 4.15 [+0.18] raw # 5.89 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 5.89 [+0.00] tx: 142 # 5.91 [+0.02] rx: 142 # 5.91 [+0.00] rx: 100 # 5.92 [+0.02] OK # 5.92 [+0.00] # 6.10 [+0.18] raw bind # 7.86 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 7.86 [+0.00] tx: 142 # 7.88 [+0.01] rx: 142 # 7.88 [+0.00] rx: 100 # 7.89 [+0.02] OK # 7.89 [+0.00] # 8.07 [+0.18] raw qdisc bypass # 9.85 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 9.86 [+0.00] tx: 142 # 9.86 [+0.01] rx: 142 # 9.87 [+0.00] rx: 100 # 9.88 [+0.02] OK # 9.88 [+0.00] # 10.05 [+0.17] raw vlan # 11.91 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 11.92 [+0.00] tx: 146 # 11.93 [+0.01] rx: 100 # 11.95 [+0.02] OK # 11.95 [+0.00] # 12.12 [+0.17] raw vnet hdr # 13.94 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 13.95 [+0.01] tx: 152 # 13.96 [+0.02] rx: 142 # 13.96 [+0.00] rx: 100 # 13.98 [+0.01] OK # 13.98 [+0.00] # 14.16 [+0.18] raw csum_off # 16.03 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 16.03 [+0.00] tx: 152 # 16.04 [+0.01] rx: 142 # 16.04 [+0.00] rx: 100 # 16.05 [+0.02] OK # 16.05 [+0.00] # 16.24 [+0.18] raw csum_off with bad offset (expected to fail) # 18.11 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 18.11 [+0.00] ./psock_snd: write: Invalid argument # 18.33 [+0.22] raw min size # 20.20 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 20.21 [+0.01] tx: 42 # 20.22 [+0.01] rx: 0 # 20.23 [+0.02] OK # 20.23 [+0.00] # 20.41 [+0.18] raw mtu size # 22.28 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 22.28 [+0.00] tx: 1514 # 22.29 [+0.01] rx: 1472 # 22.31 [+0.02] OK # 22.31 [+0.00] # 22.49 [+0.18] raw mtu size + 1 (expected to fail) # 24.36 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 24.37 [+0.01] ./psock_snd: write: Message too long # 24.59 [+0.22] raw vlan mtu size + 1 (expected to fail) # 26.50 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 26.51 [+0.01] ./psock_snd: write: Message too long # 26.73 [+0.23] dgram mtu size # 28.59 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 28.59 [+0.01] tx: 1500 # 28.61 [+0.01] rx: 1472 # 28.61 [+0.01] OK # 28.61 [+0.00] # 28.79 [+0.18] dgram mtu size + 1 (expected to fail) # 30.67 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 30.68 [+0.01] ./psock_snd: write: Message too long # 30.90 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 32.76 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 32.76 [+0.01] tx: 14 # 32.89 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 33.08 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.96 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 34.97 [+0.01] ./psock_snd: write: Invalid argument # 35.17 [+0.20] raw gso min size # 36.96 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 36.96 [+0.01] tx: 1525 # 36.98 [+0.02] rx: 1473 # 37.00 [+0.02] OK # 37.00 [+0.00] # 37.17 [+0.17] raw gso max size # 38.98 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 38.99 [+0.01] tx: 65559 # 39.00 [+0.01] rx: 65507 # 39.01 [+0.01] OK # 39.01 [+0.00] # 39.19 [+0.18] raw gso max size + 1 (expected to fail) # 40.99 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 41.00 [+0.01] tx: 65560 # 41.12 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 41.32 [+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__->