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.01 [+0.01] dgram # 1.28 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 1.29 [+0.01] tx: 128 # 1.30 [+0.01] rx: 142 # 1.30 [+0.00] rx: 100 # 1.32 [+0.01] OK # 1.32 [+0.00] # 1.50 [+0.19] dgram bind # 2.77 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 2.78 [+0.01] tx: 128 # 2.79 [+0.01] rx: 142 # 2.79 [+0.00] rx: 100 # 2.80 [+0.01] OK # 2.80 [+0.00] # 2.97 [+0.17] raw # 4.22 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 4.23 [+0.01] tx: 142 # 4.25 [+0.02] rx: 142 # 4.25 [+0.00] rx: 100 # 4.27 [+0.02] OK # 4.27 [+0.00] # 4.42 [+0.15] raw bind # 5.71 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 5.73 [+0.02] tx: 142 # 5.74 [+0.01] rx: 142 # 5.74 [+0.00] rx: 100 # 5.75 [+0.01] OK # 5.75 [+0.00] # 5.90 [+0.15] raw qdisc bypass # 7.29 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 7.30 [+0.01] tx: 142 # 7.31 [+0.01] rx: 142 # 7.31 [+0.00] rx: 100 # 7.32 [+0.01] OK # 7.32 [+0.00] # 7.46 [+0.14] raw vlan # 8.73 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 8.73 [+0.01] tx: 146 # 8.74 [+0.01] rx: 100 # 8.76 [+0.02] OK # 8.76 [+0.00] # 8.91 [+0.15] raw vnet hdr # 10.19 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 10.20 [+0.01] tx: 152 # 10.21 [+0.01] rx: 142 # 10.21 [+0.00] rx: 100 # 10.23 [+0.01] OK # 10.23 [+0.00] # 10.37 [+0.14] raw csum_off # 11.75 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 11.76 [+0.01] tx: 152 # 11.76 [+0.01] rx: 142 # 11.76 [+0.00] rx: 100 # 11.77 [+0.01] OK # 11.77 [+0.00] # 11.92 [+0.15] raw csum_off with bad offset (expected to fail) # 13.29 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 13.29 [+0.01] ./psock_snd: write: Invalid argument # 13.49 [+0.20] raw min size # 14.74 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 14.75 [+0.01] tx: 42 # 14.76 [+0.01] rx: 0 # 14.77 [+0.01] OK # 14.77 [+0.00] # 14.91 [+0.14] raw mtu size # 16.21 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 16.22 [+0.01] tx: 1514 # 16.22 [+0.01] rx: 1472 # 16.24 [+0.01] OK # 16.24 [+0.00] # 16.36 [+0.13] raw mtu size + 1 (expected to fail) # 17.61 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 17.63 [+0.01] ./psock_snd: write: Message too long # 17.84 [+0.22] raw vlan mtu size + 1 (expected to fail) # 19.12 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 19.12 [+0.01] ./psock_snd: write: Message too long # 19.30 [+0.18] dgram mtu size # 20.55 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 20.56 [+0.01] tx: 1500 # 20.57 [+0.01] rx: 1472 # 20.59 [+0.02] OK # 20.59 [+0.00] # 20.75 [+0.15] dgram mtu size + 1 (expected to fail) # 22.02 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 22.03 [+0.01] ./psock_snd: write: Message too long # 22.22 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 23.46 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 23.46 [+0.01] tx: 14 # 23.59 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.75 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 25.01 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 25.03 [+0.02] ./psock_snd: write: Invalid argument # 25.20 [+0.17] raw gso min size # 26.45 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 26.45 [+0.01] tx: 1525 # 26.47 [+0.02] rx: 1473 # 26.50 [+0.02] OK # 26.50 [+0.00] # 26.64 [+0.14] raw gso max size # 27.96 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 27.97 [+0.01] tx: 65559 # 27.99 [+0.02] rx: 65507 # 28.02 [+0.03] OK # 28.02 [+0.00] # 28.16 [+0.14] raw gso max size + 1 (expected to fail) # 29.43 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 29.44 [+0.01] tx: 65560 # 29.56 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.75 [+0.19] 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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->