make -C tools/testing/selftests TARGETS="net" TEST_PROGS=psock_snd.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: psock_snd.sh # 0.12 [+0.12] dgram # 1.78 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 1.78 [+0.00] tx: 128 # 1.79 [+0.01] rx: 142 # 1.79 [+0.00] rx: 100 # 1.80 [+0.01] OK # 1.80 [+0.00] # 1.96 [+0.15] dgram bind # 3.62 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 3.62 [+0.00] tx: 128 # 3.64 [+0.02] rx: 142 # 3.64 [+0.00] rx: 100 # 3.65 [+0.02] OK # 3.65 [+0.00] # 3.81 [+0.16] raw # 5.48 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 5.49 [+0.01] tx: 142 # 5.49 [+0.01] rx: 142 # 5.49 [+0.00] rx: 100 # 5.51 [+0.01] OK # 5.51 [+0.00] # 5.68 [+0.17] raw bind # 7.30 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 7.30 [+0.00] tx: 142 # 7.31 [+0.01] rx: 142 # 7.31 [+0.00] rx: 100 # 7.32 [+0.01] OK # 7.32 [+0.00] # 7.50 [+0.17] raw qdisc bypass # 9.12 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 9.13 [+0.00] tx: 142 # 9.15 [+0.02] rx: 142 # 9.15 [+0.00] rx: 100 # 9.17 [+0.02] OK # 9.17 [+0.00] # 9.34 [+0.17] raw vlan # 10.99 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 10.99 [+0.00] tx: 146 # 11.00 [+0.01] rx: 100 # 11.01 [+0.01] OK # 11.01 [+0.00] # 11.18 [+0.17] raw vnet hdr # 12.83 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 12.83 [+0.00] tx: 152 # 12.84 [+0.01] rx: 142 # 12.84 [+0.00] rx: 100 # 12.85 [+0.01] OK # 12.85 [+0.00] # 13.02 [+0.18] raw csum_off # 14.63 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 14.63 [+0.00] tx: 152 # 14.64 [+0.01] rx: 142 # 14.64 [+0.00] rx: 100 # 14.65 [+0.01] OK # 14.65 [+0.00] # 14.82 [+0.17] raw csum_off with bad offset (expected to fail) # 16.46 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 16.47 [+0.01] ./psock_snd: write: Invalid argument # 16.66 [+0.19] raw min size # 18.31 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 18.32 [+0.01] tx: 42 # 18.34 [+0.02] rx: 0 # 18.35 [+0.02] OK # 18.35 [+0.00] # 18.52 [+0.17] raw mtu size # 20.16 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 20.16 [+0.00] tx: 1514 # 20.18 [+0.02] rx: 1472 # 20.20 [+0.02] OK # 20.20 [+0.00] # 20.36 [+0.16] raw mtu size + 1 (expected to fail) # 22.01 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 22.02 [+0.01] ./psock_snd: write: Message too long # 22.23 [+0.22] raw vlan mtu size + 1 (expected to fail) # 23.84 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 23.85 [+0.01] ./psock_snd: write: Message too long # 24.05 [+0.21] dgram mtu size # 25.69 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 25.69 [+0.01] tx: 1500 # 25.70 [+0.01] rx: 1472 # 25.71 [+0.01] OK # 25.71 [+0.00] # 25.88 [+0.17] dgram mtu size + 1 (expected to fail) # 27.54 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 27.55 [+0.01] ./psock_snd: write: Message too long # 27.75 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 29.45 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 29.46 [+0.01] tx: 14 # 29.58 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.77 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.52 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 31.53 [+0.01] ./psock_snd: write: Invalid argument # 31.70 [+0.17] raw gso min size # 33.49 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 33.50 [+0.01] tx: 1525 # 33.50 [+0.01] rx: 1473 # 33.52 [+0.02] OK # 33.52 [+0.00] # 33.71 [+0.19] raw gso max size # 35.46 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 35.47 [+0.01] tx: 65559 # 35.48 [+0.01] rx: 65507 # 35.50 [+0.03] OK # 35.50 [+0.00] # 35.67 [+0.17] raw gso max size + 1 (expected to fail) # 37.39 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 37.40 [+0.02] tx: 65560 # 37.52 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 37.70 [+0.18] OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->