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.02 [+0.02] dgram # 1.12 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 1.13 [+0.01] tx: 128 # 1.14 [+0.01] rx: 142 # 1.14 [+0.00] rx: 100 # 1.15 [+0.00] OK # 1.15 [+0.00] # 1.27 [+0.12] dgram bind # 2.55 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 2.56 [+0.01] tx: 128 # 2.58 [+0.02] rx: 142 # 2.58 [+0.00] rx: 100 # 2.60 [+0.02] OK # 2.60 [+0.00] # 2.73 [+0.13] raw # 3.89 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 3.89 [+0.01] tx: 142 # 3.90 [+0.00] rx: 142 # 3.90 [+0.00] rx: 100 # 3.91 [+0.01] OK # 3.91 [+0.00] # 4.04 [+0.13] raw bind # 5.17 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 5.18 [+0.01] tx: 142 # 5.19 [+0.01] rx: 142 # 5.19 [+0.00] rx: 100 # 5.20 [+0.01] OK # 5.20 [+0.00] # 5.32 [+0.12] raw qdisc bypass # 6.48 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 6.49 [+0.01] tx: 142 # 6.50 [+0.01] rx: 142 # 6.50 [+0.00] rx: 100 # 6.51 [+0.01] OK # 6.51 [+0.00] # 6.63 [+0.12] raw vlan # 7.80 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 7.81 [+0.01] tx: 146 # 7.82 [+0.01] rx: 100 # 7.83 [+0.01] OK # 7.83 [+0.00] # 7.94 [+0.12] raw vnet hdr # 9.23 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 9.24 [+0.01] tx: 152 # 9.24 [+0.00] rx: 142 # 9.24 [+0.00] rx: 100 # 9.25 [+0.01] OK # 9.25 [+0.00] # 9.39 [+0.13] raw csum_off # 10.61 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 10.62 [+0.01] tx: 152 # 10.63 [+0.01] rx: 142 # 10.63 [+0.00] rx: 100 # 10.64 [+0.01] OK # 10.64 [+0.00] # 10.76 [+0.13] raw csum_off with bad offset (expected to fail) # 12.00 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 12.01 [+0.01] ./psock_snd: write: Invalid argument # 12.19 [+0.19] raw min size # 13.38 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 13.39 [+0.01] tx: 42 # 13.39 [+0.00] rx: 0 # 13.40 [+0.01] OK # 13.40 [+0.00] # 13.55 [+0.15] raw mtu size # 14.85 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 14.88 [+0.02] tx: 1514 # 14.89 [+0.01] rx: 1472 # 14.90 [+0.01] OK # 14.90 [+0.00] # 15.02 [+0.12] raw mtu size + 1 (expected to fail) # 16.24 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 16.25 [+0.01] ./psock_snd: write: Message too long # 16.42 [+0.18] raw vlan mtu size + 1 (expected to fail) # 17.55 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 17.56 [+0.01] ./psock_snd: write: Message too long # 17.71 [+0.15] dgram mtu size # 18.84 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 18.86 [+0.02] tx: 1500 # 18.87 [+0.01] rx: 1472 # 18.88 [+0.01] OK # 18.88 [+0.00] # 18.99 [+0.11] dgram mtu size + 1 (expected to fail) # 20.14 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 20.15 [+0.01] ./psock_snd: write: Message too long # 20.31 [+0.16] raw truncate hlen (expected to fail: does not arrive) # 21.45 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 21.46 [+0.01] tx: 14 # 21.58 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 21.73 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.89 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 22.90 [+0.01] ./psock_snd: write: Invalid argument # 23.05 [+0.15] raw gso min size # 24.22 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 24.23 [+0.01] tx: 1525 # 24.23 [+0.01] rx: 1473 # 24.24 [+0.01] OK # 24.24 [+0.00] # 24.36 [+0.12] raw gso max size # 25.54 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 25.56 [+0.01] tx: 65559 # 25.56 [+0.01] rx: 65507 # 25.57 [+0.01] OK # 25.57 [+0.00] # 25.71 [+0.13] raw gso max size + 1 (expected to fail) # 26.89 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 26.90 [+0.01] tx: 65560 # 27.01 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 27.17 [+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__->