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.29 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 1.30 [+0.01] tx: 128 # 1.31 [+0.01] rx: 142 # 1.31 [+0.00] rx: 100 # 1.33 [+0.02] OK # 1.33 [+0.00] # 1.48 [+0.16] dgram bind # 3.10 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 3.11 [+0.01] tx: 128 # 3.13 [+0.02] rx: 142 # 3.13 [+0.00] rx: 100 # 3.14 [+0.01] OK # 3.14 [+0.00] # 3.32 [+0.17] raw # 4.79 [+1.48] net.ipv4.conf.lo.accept_local = 1 # 4.80 [+0.01] tx: 142 # 4.82 [+0.02] rx: 142 # 4.82 [+0.00] rx: 100 # 4.84 [+0.02] OK # 4.84 [+0.00] # 5.06 [+0.23] raw bind # 6.46 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 6.47 [+0.01] tx: 142 # 6.48 [+0.01] rx: 142 # 6.48 [+0.00] rx: 100 # 6.50 [+0.02] OK # 6.50 [+0.00] # 6.65 [+0.15] raw qdisc bypass # 7.85 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 7.85 [+0.01] tx: 142 # 7.86 [+0.01] rx: 142 # 7.86 [+0.00] rx: 100 # 7.87 [+0.01] OK # 7.87 [+0.00] # 7.99 [+0.12] raw vlan # 9.18 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 9.19 [+0.01] tx: 146 # 9.20 [+0.01] rx: 100 # 9.21 [+0.01] OK # 9.21 [+0.00] # 9.37 [+0.16] raw vnet hdr # 10.65 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 10.66 [+0.01] tx: 152 # 10.66 [+0.01] rx: 142 # 10.66 [+0.00] rx: 100 # 10.68 [+0.01] OK # 10.68 [+0.00] # 10.83 [+0.15] raw csum_off # 12.25 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 12.26 [+0.01] tx: 152 # 12.27 [+0.02] rx: 142 # 12.27 [+0.00] rx: 100 # 12.29 [+0.02] OK # 12.29 [+0.00] # 12.45 [+0.16] raw csum_off with bad offset (expected to fail) # 13.78 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 13.79 [+0.01] ./psock_snd: write: Invalid argument # 13.95 [+0.16] raw min size # 15.03 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 15.03 [+0.01] tx: 42 # 15.04 [+0.01] rx: 0 # 15.05 [+0.01] OK # 15.05 [+0.00] # 15.19 [+0.14] raw mtu size # 16.26 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 16.27 [+0.01] tx: 1514 # 16.28 [+0.01] rx: 1472 # 16.29 [+0.01] OK # 16.29 [+0.00] # 16.41 [+0.13] raw mtu size + 1 (expected to fail) # 17.54 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 17.54 [+0.01] ./psock_snd: write: Message too long # 17.73 [+0.19] raw vlan mtu size + 1 (expected to fail) # 18.96 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 18.97 [+0.01] ./psock_snd: write: Message too long # 19.17 [+0.20] dgram mtu size # 20.47 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 20.48 [+0.01] tx: 1500 # 20.49 [+0.02] rx: 1472 # 20.51 [+0.01] OK # 20.51 [+0.00] # 20.66 [+0.15] dgram mtu size + 1 (expected to fail) # 21.83 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 21.84 [+0.01] ./psock_snd: write: Message too long # 21.99 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 23.16 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 23.16 [+0.01] tx: 14 # 23.27 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.43 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.84 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 24.85 [+0.01] ./psock_snd: write: Invalid argument # 25.02 [+0.17] raw gso min size # 26.40 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 26.41 [+0.01] tx: 1525 # 26.43 [+0.02] rx: 1473 # 26.45 [+0.02] OK # 26.45 [+0.00] # 26.63 [+0.18] raw gso max size # 27.97 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 27.98 [+0.01] tx: 65559 # 27.99 [+0.01] rx: 65507 # 28.01 [+0.02] OK # 28.01 [+0.00] # 28.16 [+0.16] raw gso max size + 1 (expected to fail) # 29.81 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 29.83 [+0.02] tx: 65560 # 29.94 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 30.18 [+0.24] 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__->