make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.00 [+0.00] dgram # 1.27 [+1.27] net.ipv4.conf.lo.accept_local = 1 # 1.27 [+0.01] tx: 128 # 1.28 [+0.01] rx: 142 # 1.28 [+0.00] rx: 100 # 1.29 [+0.00] OK # 1.29 [+0.00] # 1.45 [+0.16] dgram bind # 2.93 [+1.48] net.ipv4.conf.lo.accept_local = 1 # 2.93 [+0.01] tx: 128 # 2.94 [+0.01] rx: 142 # 2.94 [+0.00] rx: 100 # 2.95 [+0.01] OK # 2.95 [+0.00] # 3.10 [+0.15] raw # 4.40 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 4.41 [+0.01] tx: 142 # 4.42 [+0.01] rx: 142 # 4.42 [+0.00] rx: 100 # 4.43 [+0.01] OK # 4.43 [+0.00] # 4.57 [+0.14] raw bind # 5.92 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 5.94 [+0.01] tx: 142 # 5.94 [+0.00] rx: 142 # 5.94 [+0.00] rx: 100 # 5.95 [+0.01] OK # 5.95 [+0.00] # 6.10 [+0.15] raw qdisc bypass # 7.43 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 7.44 [+0.01] tx: 142 # 7.44 [+0.01] rx: 142 # 7.45 [+0.00] rx: 100 # 7.45 [+0.01] OK # 7.45 [+0.00] # 7.63 [+0.17] raw vlan # 8.92 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 8.93 [+0.01] tx: 146 # 8.93 [+0.00] rx: 100 # 8.94 [+0.00] OK # 8.94 [+0.00] # 9.08 [+0.15] raw vnet hdr # 10.45 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 10.47 [+0.01] tx: 152 # 10.47 [+0.01] rx: 142 # 10.47 [+0.00] rx: 100 # 10.48 [+0.01] OK # 10.48 [+0.00] # 10.66 [+0.17] raw csum_off # 12.10 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 12.11 [+0.01] tx: 152 # 12.12 [+0.01] rx: 142 # 12.12 [+0.00] rx: 100 # 12.13 [+0.01] OK # 12.13 [+0.00] # 12.28 [+0.15] raw csum_off with bad offset (expected to fail) # 13.64 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 13.64 [+0.01] ./psock_snd: write: Invalid argument # 13.81 [+0.17] 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.19 [+0.01] OK # 15.19 [+0.00] # 15.35 [+0.16] raw mtu size # 16.85 [+1.50] net.ipv4.conf.lo.accept_local = 1 # 16.86 [+0.01] tx: 1514 # 16.87 [+0.01] rx: 1472 # 16.88 [+0.00] OK # 16.88 [+0.00] # 17.08 [+0.20] raw mtu size + 1 (expected to fail) # 18.49 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 18.50 [+0.01] ./psock_snd: write: Message too long # 18.67 [+0.17] raw vlan mtu size + 1 (expected to fail) # 20.01 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 20.02 [+0.01] ./psock_snd: write: Message too long # 20.22 [+0.20] dgram mtu size # 21.60 [+1.38] net.ipv4.conf.lo.accept_local = 1 # 21.61 [+0.01] tx: 1500 # 21.61 [+0.01] rx: 1472 # 21.63 [+0.01] OK # 21.63 [+0.00] # 21.79 [+0.16] dgram mtu size + 1 (expected to fail) # 23.20 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 23.21 [+0.01] ./psock_snd: write: Message too long # 23.38 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 24.89 [+1.51] net.ipv4.conf.lo.accept_local = 1 # 24.90 [+0.01] tx: 14 # 25.01 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 25.21 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.61 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 26.62 [+0.01] ./psock_snd: write: Invalid argument # 26.83 [+0.21] raw gso min size # 28.28 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 28.29 [+0.01] tx: 1525 # 28.29 [+0.01] rx: 1473 # 28.30 [+0.01] OK # 28.30 [+0.00] # 28.47 [+0.16] raw gso max size # 29.90 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 29.92 [+0.03] tx: 65559 # 29.93 [+0.01] rx: 65507 # 29.94 [+0.01] OK # 29.94 [+0.00] # 30.09 [+0.15] raw gso max size + 1 (expected to fail) # 31.49 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 31.51 [+0.02] tx: 65560 # 31.63 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.79 [+0.16] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->