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.01 [+0.01] dgram # 1.36 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 1.37 [+0.01] tx: 128 # 1.38 [+0.01] rx: 142 # 1.38 [+0.00] rx: 100 # 1.38 [+0.01] OK # 1.38 [+0.00] # 1.56 [+0.17] dgram bind # 2.91 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 2.91 [+0.01] tx: 128 # 2.92 [+0.01] rx: 142 # 2.92 [+0.00] rx: 100 # 2.93 [+0.01] OK # 2.93 [+0.00] # 3.13 [+0.20] raw # 4.57 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 4.59 [+0.02] tx: 142 # 4.60 [+0.01] rx: 142 # 4.60 [+0.00] rx: 100 # 4.61 [+0.00] OK # 4.61 [+0.00] # 4.80 [+0.19] raw bind # 6.11 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 6.12 [+0.01] tx: 142 # 6.13 [+0.01] rx: 142 # 6.13 [+0.00] rx: 100 # 6.14 [+0.01] OK # 6.14 [+0.00] # 6.29 [+0.15] raw qdisc bypass # 7.66 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 7.66 [+0.01] tx: 142 # 7.67 [+0.01] rx: 142 # 7.67 [+0.00] rx: 100 # 7.68 [+0.01] OK # 7.68 [+0.00] # 7.82 [+0.14] raw vlan # 9.22 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 9.23 [+0.01] tx: 146 # 9.24 [+0.01] rx: 100 # 9.25 [+0.01] OK # 9.25 [+0.00] # 9.40 [+0.15] raw vnet hdr # 10.80 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 10.81 [+0.01] tx: 152 # 10.82 [+0.00] rx: 142 # 10.82 [+0.00] rx: 100 # 10.83 [+0.01] OK # 10.83 [+0.00] # 10.96 [+0.13] raw csum_off # 12.28 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 12.29 [+0.01] tx: 152 # 12.30 [+0.01] rx: 142 # 12.30 [+0.00] rx: 100 # 12.31 [+0.01] OK # 12.31 [+0.00] # 12.50 [+0.18] raw csum_off with bad offset (expected to fail) # 13.81 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 13.82 [+0.01] ./psock_snd: write: Invalid argument # 13.96 [+0.15] raw min size # 15.26 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 15.27 [+0.01] tx: 42 # 15.27 [+0.01] rx: 0 # 15.28 [+0.01] OK # 15.28 [+0.00] # 15.43 [+0.15] raw mtu size # 16.83 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 16.84 [+0.01] tx: 1514 # 16.85 [+0.01] rx: 1472 # 16.86 [+0.01] OK # 16.86 [+0.00] # 17.10 [+0.24] raw mtu size + 1 (expected to fail) # 18.51 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 18.52 [+0.01] ./psock_snd: write: Message too long # 18.67 [+0.15] raw vlan mtu size + 1 (expected to fail) # 20.06 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 20.07 [+0.01] ./psock_snd: write: Message too long # 20.23 [+0.16] dgram mtu size # 21.51 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 21.52 [+0.01] tx: 1500 # 21.53 [+0.01] rx: 1472 # 21.54 [+0.01] OK # 21.54 [+0.00] # 21.67 [+0.13] dgram mtu size + 1 (expected to fail) # 22.98 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 22.99 [+0.01] ./psock_snd: write: Message too long # 23.15 [+0.16] raw truncate hlen (expected to fail: does not arrive) # 24.44 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 24.46 [+0.02] tx: 14 # 24.58 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 24.74 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.03 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 26.04 [+0.01] ./psock_snd: write: Invalid argument # 26.20 [+0.16] raw gso min size # 27.53 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 27.54 [+0.01] tx: 1525 # 27.55 [+0.01] rx: 1473 # 27.56 [+0.01] OK # 27.56 [+0.00] # 27.74 [+0.18] raw gso max size # 29.19 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 29.20 [+0.01] tx: 65559 # 29.21 [+0.01] rx: 65507 # 29.22 [+0.01] OK # 29.22 [+0.00] # 29.37 [+0.15] raw gso max size + 1 (expected to fail) # 30.76 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 30.78 [+0.02] tx: 65560 # 30.89 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.07 [+0.18] 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 && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->