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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.02 [+0.02] dgram # 1.14 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 1.15 [+0.01] tx: 128 # 1.15 [+0.01] rx: 142 # 1.15 [+0.00] rx: 100 # 1.16 [+0.01] OK # 1.16 [+0.00] # 1.28 [+0.12] dgram bind # 2.43 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 2.43 [+0.01] tx: 128 # 2.44 [+0.01] rx: 142 # 2.44 [+0.00] rx: 100 # 2.45 [+0.01] OK # 2.45 [+0.00] # 2.59 [+0.14] raw # 3.97 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 3.98 [+0.01] tx: 142 # 3.99 [+0.01] rx: 142 # 3.99 [+0.00] rx: 100 # 4.00 [+0.01] OK # 4.00 [+0.00] # 4.22 [+0.21] raw bind # 6.23 [+2.01] net.ipv4.conf.lo.accept_local = 1 # 6.25 [+0.02] tx: 142 # 6.25 [+0.01] rx: 142 # 6.25 [+0.00] rx: 100 # 6.27 [+0.01] OK # 6.27 [+0.00] # 6.51 [+0.24] raw qdisc bypass # 8.44 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 8.45 [+0.01] tx: 142 # 8.46 [+0.01] rx: 142 # 8.46 [+0.00] rx: 100 # 8.47 [+0.01] OK # 8.47 [+0.00] # 8.70 [+0.23] raw vlan # 10.07 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 10.08 [+0.01] tx: 146 # 10.08 [+0.01] rx: 100 # 10.09 [+0.01] OK # 10.09 [+0.00] # 10.22 [+0.13] raw vnet hdr # 11.37 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 11.38 [+0.01] tx: 152 # 11.40 [+0.02] rx: 142 # 11.40 [+0.00] rx: 100 # 11.42 [+0.02] OK # 11.42 [+0.00] # 11.54 [+0.12] raw csum_off # 12.67 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 12.69 [+0.02] tx: 152 # 12.70 [+0.01] rx: 142 # 12.70 [+0.00] rx: 100 # 12.70 [+0.01] OK # 12.70 [+0.00] # 12.82 [+0.11] raw csum_off with bad offset (expected to fail) # 13.94 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 13.95 [+0.01] ./psock_snd: write: Invalid argument # 14.12 [+0.17] raw min size # 15.21 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 15.22 [+0.01] tx: 42 # 15.23 [+0.01] rx: 0 # 15.23 [+0.01] OK # 15.23 [+0.00] # 15.37 [+0.14] raw mtu size # 16.52 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 16.53 [+0.01] tx: 1514 # 16.54 [+0.02] rx: 1472 # 16.56 [+0.02] OK # 16.56 [+0.00] # 16.67 [+0.10] raw mtu size + 1 (expected to fail) # 17.86 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 17.87 [+0.01] ./psock_snd: write: Message too long # 18.06 [+0.19] raw vlan mtu size + 1 (expected to fail) # 19.19 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 19.20 [+0.01] ./psock_snd: write: Message too long # 19.35 [+0.16] dgram mtu size # 20.49 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 20.49 [+0.01] tx: 1500 # 20.51 [+0.02] rx: 1472 # 20.53 [+0.02] OK # 20.53 [+0.00] # 20.65 [+0.12] dgram mtu size + 1 (expected to fail) # 21.79 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 21.80 [+0.01] ./psock_snd: write: Message too long # 21.97 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 23.12 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 23.13 [+0.01] tx: 14 # 23.23 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.41 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.54 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 24.55 [+0.01] ./psock_snd: write: Invalid argument # 24.72 [+0.17] raw gso min size # 25.84 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 25.85 [+0.01] tx: 1525 # 25.86 [+0.01] rx: 1473 # 25.88 [+0.02] OK # 25.88 [+0.00] # 26.00 [+0.12] raw gso max size # 27.11 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 27.12 [+0.01] tx: 65559 # 27.13 [+0.02] rx: 65507 # 27.15 [+0.02] OK # 27.15 [+0.00] # 27.28 [+0.13] raw gso max size + 1 (expected to fail) # 28.40 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 28.41 [+0.01] tx: 65560 # 28.53 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 28.68 [+0.15] 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__->