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.03 [+0.03] dgram # 1.24 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 1.25 [+0.01] tx: 128 # 1.27 [+0.02] rx: 142 # 1.27 [+0.00] rx: 100 # 1.30 [+0.02] OK # 1.30 [+0.00] # 1.50 [+0.20] dgram bind # 2.71 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 2.72 [+0.01] tx: 128 # 2.73 [+0.01] rx: 142 # 2.73 [+0.00] rx: 100 # 2.74 [+0.01] OK # 2.74 [+0.00] # 2.89 [+0.15] raw # 4.12 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 4.13 [+0.01] tx: 142 # 4.14 [+0.01] rx: 142 # 4.14 [+0.00] rx: 100 # 4.16 [+0.02] OK # 4.16 [+0.00] # 4.29 [+0.13] raw bind # 5.61 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 5.62 [+0.01] tx: 142 # 5.62 [+0.01] rx: 142 # 5.62 [+0.00] rx: 100 # 5.63 [+0.01] OK # 5.63 [+0.00] # 5.80 [+0.16] raw qdisc bypass # 7.00 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 7.01 [+0.01] tx: 142 # 7.02 [+0.01] rx: 142 # 7.02 [+0.00] rx: 100 # 7.03 [+0.01] OK # 7.03 [+0.00] # 7.18 [+0.16] raw vlan # 8.52 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 8.53 [+0.01] tx: 146 # 8.54 [+0.01] rx: 100 # 8.55 [+0.01] OK # 8.55 [+0.00] # 8.71 [+0.15] raw vnet hdr # 9.95 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 9.96 [+0.01] tx: 152 # 9.97 [+0.01] rx: 142 # 9.97 [+0.00] rx: 100 # 9.98 [+0.01] OK # 9.98 [+0.00] # 10.15 [+0.17] raw csum_off # 11.41 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 11.42 [+0.01] tx: 152 # 11.44 [+0.02] rx: 142 # 11.44 [+0.00] rx: 100 # 11.45 [+0.02] OK # 11.45 [+0.00] # 11.62 [+0.17] raw csum_off with bad offset (expected to fail) # 12.99 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 13.00 [+0.01] ./psock_snd: write: Invalid argument # 13.20 [+0.19] raw min size # 14.46 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 14.47 [+0.01] tx: 42 # 14.49 [+0.02] rx: 0 # 14.50 [+0.02] OK # 14.50 [+0.00] # 14.64 [+0.13] raw mtu size # 15.94 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 15.95 [+0.01] tx: 1514 # 15.96 [+0.01] rx: 1472 # 15.97 [+0.01] OK # 15.97 [+0.00] # 16.12 [+0.16] raw mtu size + 1 (expected to fail) # 17.48 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 17.49 [+0.01] ./psock_snd: write: Message too long # 17.71 [+0.22] raw vlan mtu size + 1 (expected to fail) # 18.98 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 18.98 [+0.01] ./psock_snd: write: Message too long # 19.19 [+0.20] dgram mtu size # 20.49 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 20.50 [+0.01] tx: 1500 # 20.51 [+0.02] rx: 1472 # 20.54 [+0.02] OK # 20.54 [+0.00] # 20.67 [+0.13] dgram mtu size + 1 (expected to fail) # 22.22 [+1.55] net.ipv4.conf.lo.accept_local = 1 # 22.23 [+0.01] ./psock_snd: write: Message too long # 22.42 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 23.91 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 23.92 [+0.01] tx: 14 # 24.03 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 24.22 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 25.52 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 25.53 [+0.01] ./psock_snd: write: Invalid argument # 25.69 [+0.16] raw gso min size # 27.05 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 27.06 [+0.01] tx: 1525 # 27.07 [+0.01] rx: 1473 # 27.08 [+0.01] OK # 27.08 [+0.00] # 27.22 [+0.14] raw gso max size # 28.58 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 28.60 [+0.02] tx: 65559 # 28.62 [+0.02] rx: 65507 # 28.64 [+0.03] OK # 28.64 [+0.00] # 28.83 [+0.18] raw gso max size + 1 (expected to fail) # 30.26 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 30.27 [+0.02] tx: 65560 # 30.40 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 30.60 [+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__->