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.12 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 1.14 [+0.01] tx: 128 # 1.14 [+0.01] rx: 142 # 1.14 [+0.00] rx: 100 # 1.15 [+0.01] OK # 1.15 [+0.00] # 1.31 [+0.15] dgram bind # 2.64 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 2.65 [+0.01] tx: 128 # 2.66 [+0.01] rx: 142 # 2.66 [+0.00] rx: 100 # 2.67 [+0.01] OK # 2.67 [+0.00] # 2.80 [+0.13] raw # 3.99 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 3.99 [+0.01] tx: 142 # 4.00 [+0.01] rx: 142 # 4.00 [+0.00] rx: 100 # 4.01 [+0.01] OK # 4.01 [+0.00] # 4.13 [+0.12] raw bind # 5.30 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 5.31 [+0.01] tx: 142 # 5.31 [+0.01] rx: 142 # 5.32 [+0.00] rx: 100 # 5.32 [+0.01] OK # 5.33 [+0.00] # 5.44 [+0.11] raw qdisc bypass # 6.64 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 6.65 [+0.01] tx: 142 # 6.65 [+0.01] rx: 142 # 6.65 [+0.00] rx: 100 # 6.66 [+0.01] OK # 6.66 [+0.00] # 6.83 [+0.16] raw vlan # 8.16 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 8.17 [+0.01] tx: 146 # 8.18 [+0.01] rx: 100 # 8.19 [+0.01] OK # 8.19 [+0.00] # 8.38 [+0.19] raw vnet hdr # 9.67 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 9.68 [+0.01] tx: 152 # 9.68 [+0.01] rx: 142 # 9.68 [+0.00] rx: 100 # 9.69 [+0.01] OK # 9.69 [+0.00] # 9.86 [+0.17] raw csum_off # 11.25 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 11.26 [+0.01] tx: 152 # 11.27 [+0.01] rx: 142 # 11.27 [+0.00] rx: 100 # 11.28 [+0.01] OK # 11.28 [+0.00] # 11.44 [+0.15] raw csum_off with bad offset (expected to fail) # 12.92 [+1.48] net.ipv4.conf.lo.accept_local = 1 # 12.92 [+0.01] ./psock_snd: write: Invalid argument # 13.10 [+0.18] raw min size # 14.52 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 14.53 [+0.01] tx: 42 # 14.54 [+0.01] rx: 0 # 14.55 [+0.01] OK # 14.55 [+0.00] # 14.73 [+0.18] raw mtu size # 16.22 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 16.23 [+0.01] tx: 1514 # 16.24 [+0.01] rx: 1472 # 16.25 [+0.01] OK # 16.25 [+0.00] # 16.43 [+0.18] raw mtu size + 1 (expected to fail) # 17.95 [+1.52] net.ipv4.conf.lo.accept_local = 1 # 17.96 [+0.01] ./psock_snd: write: Message too long # 18.16 [+0.20] raw vlan mtu size + 1 (expected to fail) # 19.74 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 19.75 [+0.01] ./psock_snd: write: Message too long # 19.94 [+0.19] dgram mtu size # 21.41 [+1.47] net.ipv4.conf.lo.accept_local = 1 # 21.42 [+0.01] tx: 1500 # 21.43 [+0.01] rx: 1472 # 21.44 [+0.01] OK # 21.44 [+0.00] # 21.62 [+0.18] dgram mtu size + 1 (expected to fail) # 23.06 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 23.07 [+0.01] ./psock_snd: write: Message too long # 23.24 [+0.17] raw truncate hlen (expected to fail: does not arrive) # 24.53 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 24.55 [+0.01] tx: 14 # 24.67 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 24.80 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.03 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 26.04 [+0.01] ./psock_snd: write: Invalid argument # 26.19 [+0.16] raw gso min size # 27.37 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 27.38 [+0.02] tx: 1525 # 27.39 [+0.01] rx: 1473 # 27.40 [+0.01] OK # 27.40 [+0.00] # 27.52 [+0.12] raw gso max size # 28.65 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 28.67 [+0.01] tx: 65559 # 28.68 [+0.01] rx: 65507 # 28.69 [+0.01] OK # 28.69 [+0.00] # 28.82 [+0.13] raw gso max size + 1 (expected to fail) # 29.96 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 29.97 [+0.01] tx: 65560 # 30.08 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 30.25 [+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__->