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.01 [+0.01] dgram # 1.35 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 1.36 [+0.01] tx: 128 # 1.37 [+0.01] rx: 142 # 1.37 [+0.00] rx: 100 # 1.37 [+0.01] OK # 1.38 [+0.00] # 1.52 [+0.14] dgram bind # 2.82 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 2.83 [+0.01] tx: 128 # 2.84 [+0.01] rx: 142 # 2.84 [+0.00] rx: 100 # 2.85 [+0.01] OK # 2.85 [+0.00] # 2.98 [+0.14] raw # 4.26 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 4.27 [+0.01] tx: 142 # 4.28 [+0.01] rx: 142 # 4.28 [+0.00] rx: 100 # 4.29 [+0.01] OK # 4.29 [+0.00] # 4.43 [+0.14] raw bind # 5.77 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 5.77 [+0.01] tx: 142 # 5.78 [+0.01] rx: 142 # 5.78 [+0.00] rx: 100 # 5.79 [+0.01] OK # 5.79 [+0.00] # 5.93 [+0.14] raw qdisc bypass # 7.30 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 7.32 [+0.01] tx: 142 # 7.32 [+0.01] rx: 142 # 7.33 [+0.00] rx: 100 # 7.34 [+0.01] OK # 7.34 [+0.00] # 7.48 [+0.14] raw vlan # 8.78 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 8.79 [+0.01] tx: 146 # 8.80 [+0.01] rx: 100 # 8.81 [+0.01] OK # 8.81 [+0.00] # 8.96 [+0.15] raw vnet hdr # 10.26 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 10.27 [+0.01] tx: 152 # 10.28 [+0.01] rx: 142 # 10.28 [+0.00] rx: 100 # 10.28 [+0.01] OK # 10.28 [+0.00] # 10.43 [+0.15] raw csum_off # 11.86 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 11.86 [+0.01] tx: 152 # 11.87 [+0.01] rx: 142 # 11.87 [+0.00] rx: 100 # 11.88 [+0.00] OK # 11.88 [+0.00] # 12.02 [+0.14] raw csum_off with bad offset (expected to fail) # 13.26 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 13.27 [+0.01] ./psock_snd: write: Invalid argument # 13.44 [+0.17] raw min size # 14.73 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 14.74 [+0.01] tx: 42 # 14.75 [+0.01] rx: 0 # 14.76 [+0.01] OK # 14.76 [+0.00] # 14.89 [+0.13] raw mtu size # 16.39 [+1.50] net.ipv4.conf.lo.accept_local = 1 # 16.40 [+0.01] tx: 1514 # 16.41 [+0.01] rx: 1472 # 16.42 [+0.01] OK # 16.42 [+0.00] # 16.60 [+0.18] raw mtu size + 1 (expected to fail) # 17.91 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 17.92 [+0.01] ./psock_snd: write: Message too long # 18.09 [+0.17] raw vlan mtu size + 1 (expected to fail) # 19.42 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 19.43 [+0.01] ./psock_snd: write: Message too long # 19.62 [+0.19] dgram mtu size # 20.96 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 20.98 [+0.02] tx: 1500 # 20.98 [+0.00] rx: 1472 # 20.99 [+0.01] OK # 20.99 [+0.00] # 21.14 [+0.15] dgram mtu size + 1 (expected to fail) # 22.55 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 22.56 [+0.01] ./psock_snd: write: Message too long # 22.75 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 24.13 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 24.14 [+0.01] tx: 14 # 24.26 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 24.42 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 25.70 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 25.70 [+0.01] ./psock_snd: write: Invalid argument # 25.88 [+0.17] raw gso min size # 27.18 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 27.19 [+0.01] tx: 1525 # 27.20 [+0.01] rx: 1473 # 27.21 [+0.01] OK # 27.21 [+0.00] # 27.34 [+0.14] raw gso max size # 28.74 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 28.75 [+0.01] tx: 65559 # 28.76 [+0.01] rx: 65507 # 28.77 [+0.01] OK # 28.77 [+0.00] # 28.95 [+0.17] raw gso max size + 1 (expected to fail) # 30.38 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 30.40 [+0.02] tx: 65560 # 30.52 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 30.69 [+0.17] 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__->