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.30 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 1.31 [+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.50 [+0.17] dgram bind # 2.79 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 2.79 [+0.01] tx: 128 # 2.80 [+0.01] rx: 142 # 2.80 [+0.00] rx: 100 # 2.81 [+0.01] OK # 2.81 [+0.00] # 2.97 [+0.16] raw # 4.33 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 4.34 [+0.01] tx: 142 # 4.35 [+0.01] rx: 142 # 4.35 [+0.00] rx: 100 # 4.37 [+0.02] OK # 4.37 [+0.00] # 4.50 [+0.13] raw bind # 5.81 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 5.83 [+0.02] tx: 142 # 5.84 [+0.01] rx: 142 # 5.84 [+0.00] rx: 100 # 5.85 [+0.01] OK # 5.85 [+0.00] # 6.05 [+0.20] raw qdisc bypass # 7.35 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 7.36 [+0.01] tx: 142 # 7.37 [+0.01] rx: 142 # 7.37 [+0.00] rx: 100 # 7.39 [+0.02] OK # 7.39 [+0.00] # 7.56 [+0.17] raw vlan # 8.84 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 8.85 [+0.01] tx: 146 # 8.87 [+0.02] rx: 100 # 8.88 [+0.02] OK # 8.88 [+0.00] # 9.07 [+0.18] raw vnet hdr # 10.39 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 10.40 [+0.01] tx: 152 # 10.42 [+0.01] rx: 142 # 10.42 [+0.00] rx: 100 # 10.43 [+0.01] OK # 10.43 [+0.00] # 10.60 [+0.17] raw csum_off # 11.89 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 11.90 [+0.01] tx: 152 # 11.91 [+0.01] rx: 142 # 11.91 [+0.00] rx: 100 # 11.92 [+0.01] OK # 11.92 [+0.00] # 12.09 [+0.18] raw csum_off with bad offset (expected to fail) # 13.56 [+1.47] net.ipv4.conf.lo.accept_local = 1 # 13.57 [+0.01] ./psock_snd: write: Invalid argument # 13.81 [+0.24] raw min size # 15.17 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 15.18 [+0.01] tx: 42 # 15.19 [+0.01] rx: 0 # 15.20 [+0.02] OK # 15.20 [+0.00] # 15.39 [+0.19] raw mtu size # 16.77 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 16.79 [+0.02] tx: 1514 # 16.81 [+0.02] rx: 1472 # 16.82 [+0.02] OK # 16.82 [+0.00] # 16.98 [+0.16] raw mtu size + 1 (expected to fail) # 18.46 [+1.48] net.ipv4.conf.lo.accept_local = 1 # 18.47 [+0.01] ./psock_snd: write: Message too long # 18.69 [+0.22] raw vlan mtu size + 1 (expected to fail) # 20.08 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 20.09 [+0.01] ./psock_snd: write: Message too long # 20.26 [+0.18] dgram mtu size # 21.67 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 21.68 [+0.01] tx: 1500 # 21.68 [+0.01] rx: 1472 # 21.70 [+0.01] OK # 21.70 [+0.00] # 21.84 [+0.14] dgram mtu size + 1 (expected to fail) # 23.19 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 23.20 [+0.02] ./psock_snd: write: Message too long # 23.41 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 24.76 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 24.77 [+0.01] tx: 14 # 24.89 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 25.10 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.63 [+1.53] net.ipv4.conf.lo.accept_local = 1 # 26.64 [+0.01] ./psock_snd: write: Invalid argument # 26.82 [+0.18] raw gso min size # 28.13 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 28.14 [+0.01] tx: 1525 # 28.16 [+0.02] rx: 1473 # 28.18 [+0.02] OK # 28.18 [+0.00] # 28.32 [+0.14] raw gso max size # 29.61 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 29.63 [+0.02] tx: 65559 # 29.64 [+0.01] rx: 65507 # 29.65 [+0.01] OK # 29.65 [+0.00] # 29.84 [+0.19] raw gso max size + 1 (expected to fail) # 31.30 [+1.46] net.ipv4.conf.lo.accept_local = 1 # 31.31 [+0.01] tx: 65560 # 31.43 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.62 [+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__->