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.51 [+1.51] net.ipv4.conf.lo.accept_local = 1 # 1.52 [+0.01] tx: 128 # 1.53 [+0.00] rx: 142 # 1.53 [+0.00] rx: 100 # 1.53 [+0.01] OK # 1.53 [+0.00] # 1.73 [+0.19] dgram bind # 3.37 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 3.38 [+0.01] tx: 128 # 3.39 [+0.01] rx: 142 # 3.39 [+0.00] rx: 100 # 3.40 [+0.01] OK # 3.40 [+0.00] # 3.57 [+0.17] raw # 5.18 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 5.19 [+0.01] tx: 142 # 5.20 [+0.01] rx: 142 # 5.20 [+0.00] rx: 100 # 5.20 [+0.00] OK # 5.20 [+0.00] # 5.38 [+0.17] raw bind # 6.95 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 6.96 [+0.01] tx: 142 # 6.97 [+0.01] rx: 142 # 6.97 [+0.00] rx: 100 # 6.97 [+0.01] OK # 6.97 [+0.00] # 7.17 [+0.19] raw qdisc bypass # 8.79 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 8.80 [+0.01] tx: 142 # 8.81 [+0.01] rx: 142 # 8.81 [+0.00] rx: 100 # 8.82 [+0.01] OK # 8.82 [+0.00] # 8.96 [+0.14] raw vlan # 10.36 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 10.37 [+0.01] tx: 146 # 10.37 [+0.01] rx: 100 # 10.38 [+0.01] OK # 10.38 [+0.00] # 10.54 [+0.15] raw vnet hdr # 11.74 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 11.75 [+0.01] tx: 152 # 11.76 [+0.00] rx: 142 # 11.76 [+0.00] rx: 100 # 11.77 [+0.01] OK # 11.77 [+0.00] # 11.90 [+0.13] raw csum_off # 13.03 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 13.03 [+0.01] tx: 152 # 13.04 [+0.01] rx: 142 # 13.04 [+0.00] rx: 100 # 13.05 [+0.01] OK # 13.05 [+0.00] # 13.18 [+0.13] raw csum_off with bad offset (expected to fail) # 14.27 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 14.28 [+0.01] ./psock_snd: write: Invalid argument # 14.43 [+0.15] raw min size # 15.56 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 15.57 [+0.01] tx: 42 # 15.58 [+0.02] rx: 0 # 15.60 [+0.02] OK # 15.60 [+0.00] # 15.72 [+0.12] raw mtu size # 16.80 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 16.82 [+0.02] tx: 1514 # 16.82 [+0.01] rx: 1472 # 16.83 [+0.01] OK # 16.83 [+0.00] # 16.97 [+0.14] raw mtu size + 1 (expected to fail) # 18.07 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 18.08 [+0.01] ./psock_snd: write: Message too long # 18.21 [+0.13] raw vlan mtu size + 1 (expected to fail) # 19.29 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 19.30 [+0.01] ./psock_snd: write: Message too long # 19.45 [+0.14] dgram mtu size # 20.51 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 20.51 [+0.01] tx: 1500 # 20.52 [+0.01] rx: 1472 # 20.53 [+0.01] OK # 20.53 [+0.00] # 20.66 [+0.13] dgram mtu size + 1 (expected to fail) # 21.76 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 21.77 [+0.01] ./psock_snd: write: Message too long # 21.93 [+0.16] raw truncate hlen (expected to fail: does not arrive) # 23.03 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 23.05 [+0.02] tx: 14 # 23.16 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.29 [+0.13] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.37 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 24.37 [+0.01] ./psock_snd: write: Invalid argument # 24.52 [+0.14] raw gso min size # 25.58 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 25.59 [+0.01] tx: 1525 # 25.60 [+0.00] rx: 1473 # 25.61 [+0.01] OK # 25.61 [+0.00] # 25.73 [+0.12] raw gso max size # 26.78 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 26.80 [+0.01] tx: 65559 # 26.80 [+0.01] rx: 65507 # 26.81 [+0.01] OK # 26.81 [+0.00] # 26.96 [+0.15] raw gso max size + 1 (expected to fail) # 28.02 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 28.05 [+0.03] tx: 65560 # 28.16 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 28.29 [+0.14] 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__->