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.32 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 1.33 [+0.01] tx: 128 # 1.34 [+0.01] rx: 142 # 1.34 [+0.00] rx: 100 # 1.34 [+0.00] OK # 1.34 [+0.00] # 1.49 [+0.14] dgram bind # 2.81 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 2.82 [+0.01] tx: 128 # 2.83 [+0.01] rx: 142 # 2.83 [+0.00] rx: 100 # 2.84 [+0.01] OK # 2.84 [+0.00] # 2.98 [+0.14] raw # 4.17 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 4.17 [+0.01] tx: 142 # 4.18 [+0.00] rx: 142 # 4.18 [+0.00] rx: 100 # 4.19 [+0.01] OK # 4.19 [+0.00] # 4.32 [+0.13] raw bind # 5.71 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 5.72 [+0.01] tx: 142 # 5.73 [+0.01] rx: 142 # 5.73 [+0.00] rx: 100 # 5.73 [+0.00] OK # 5.73 [+0.00] # 5.92 [+0.19] raw qdisc bypass # 7.34 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 7.35 [+0.01] tx: 142 # 7.36 [+0.01] rx: 142 # 7.36 [+0.00] rx: 100 # 7.36 [+0.01] OK # 7.36 [+0.00] # 7.52 [+0.15] raw vlan # 8.77 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 8.78 [+0.01] tx: 146 # 8.79 [+0.01] rx: 100 # 8.79 [+0.01] OK # 8.79 [+0.00] # 8.91 [+0.12] raw vnet hdr # 10.33 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 10.34 [+0.01] tx: 152 # 10.35 [+0.01] rx: 142 # 10.35 [+0.00] rx: 100 # 10.36 [+0.01] OK # 10.36 [+0.00] # 10.48 [+0.13] raw csum_off # 11.84 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 11.85 [+0.01] tx: 152 # 11.85 [+0.01] rx: 142 # 11.85 [+0.00] rx: 100 # 11.86 [+0.00] OK # 11.86 [+0.00] # 12.00 [+0.15] raw csum_off with bad offset (expected to fail) # 13.29 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 13.30 [+0.01] ./psock_snd: write: Invalid argument # 13.45 [+0.15] raw min size # 14.71 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 14.72 [+0.01] tx: 42 # 14.73 [+0.01] rx: 0 # 14.74 [+0.02] OK # 14.74 [+0.00] # 14.86 [+0.12] raw mtu size # 16.17 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 16.18 [+0.01] tx: 1514 # 16.18 [+0.01] rx: 1472 # 16.19 [+0.01] OK # 16.19 [+0.00] # 16.33 [+0.14] raw mtu size + 1 (expected to fail) # 17.72 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 17.73 [+0.01] ./psock_snd: write: Message too long # 17.89 [+0.16] raw vlan mtu size + 1 (expected to fail) # 19.17 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 19.18 [+0.01] ./psock_snd: write: Message too long # 19.37 [+0.19] dgram mtu size # 20.72 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 20.73 [+0.01] tx: 1500 # 20.73 [+0.01] rx: 1472 # 20.74 [+0.01] OK # 20.74 [+0.00] # 20.91 [+0.17] dgram mtu size + 1 (expected to fail) # 22.14 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 22.15 [+0.01] ./psock_snd: write: Message too long # 22.33 [+0.18] raw truncate hlen (expected to fail: does not arrive) # 23.52 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 23.53 [+0.01] tx: 14 # 23.65 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.80 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 24.98 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 24.99 [+0.01] ./psock_snd: write: Invalid argument # 25.14 [+0.15] raw gso min size # 26.36 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 26.36 [+0.01] tx: 1525 # 26.37 [+0.01] rx: 1473 # 26.37 [+0.00] OK # 26.37 [+0.00] # 26.51 [+0.14] raw gso max size # 27.67 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 27.68 [+0.01] tx: 65559 # 27.69 [+0.01] rx: 65507 # 27.70 [+0.01] OK # 27.70 [+0.00] # 27.81 [+0.11] raw gso max size + 1 (expected to fail) # 28.98 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 28.99 [+0.01] tx: 65560 # 29.12 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.31 [+0.19] 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__->