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.07 [+0.07] dgram # 1.71 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 1.71 [+0.01] tx: 128 # 1.72 [+0.01] rx: 142 # 1.72 [+0.00] rx: 100 # 1.73 [+0.01] OK # 1.73 [+0.00] # 1.90 [+0.17] dgram bind # 3.51 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 3.52 [+0.00] tx: 128 # 3.54 [+0.02] rx: 142 # 3.54 [+0.00] rx: 100 # 3.55 [+0.01] OK # 3.55 [+0.00] # 3.71 [+0.16] raw # 5.32 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 5.33 [+0.00] tx: 142 # 5.35 [+0.02] rx: 142 # 5.35 [+0.00] rx: 100 # 5.36 [+0.02] OK # 5.36 [+0.00] # 5.54 [+0.17] raw bind # 7.15 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 7.15 [+0.00] tx: 142 # 7.17 [+0.01] rx: 142 # 7.17 [+0.00] rx: 100 # 7.18 [+0.02] OK # 7.18 [+0.00] # 7.35 [+0.16] raw qdisc bypass # 8.95 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 8.96 [+0.01] tx: 142 # 8.98 [+0.02] rx: 142 # 8.98 [+0.00] rx: 100 # 8.99 [+0.02] OK # 8.99 [+0.00] # 9.16 [+0.16] raw vlan # 10.80 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 10.80 [+0.00] tx: 146 # 10.81 [+0.01] rx: 100 # 10.83 [+0.02] OK # 10.83 [+0.00] # 10.98 [+0.15] raw vnet hdr # 12.55 [+1.57] net.ipv4.conf.lo.accept_local = 1 # 12.56 [+0.00] tx: 152 # 12.56 [+0.01] rx: 142 # 12.56 [+0.00] rx: 100 # 12.57 [+0.01] OK # 12.57 [+0.00] # 12.73 [+0.16] raw csum_off # 14.35 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 14.36 [+0.01] tx: 152 # 14.38 [+0.02] rx: 142 # 14.38 [+0.00] rx: 100 # 14.39 [+0.02] OK # 14.40 [+0.00] # 14.56 [+0.16] raw csum_off with bad offset (expected to fail) # 16.17 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 16.18 [+0.00] ./psock_snd: write: Invalid argument # 16.36 [+0.18] raw min size # 18.00 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 18.01 [+0.01] tx: 42 # 18.03 [+0.02] rx: 0 # 18.05 [+0.02] OK # 18.05 [+0.00] # 18.21 [+0.16] raw mtu size # 19.83 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 19.83 [+0.00] tx: 1514 # 19.85 [+0.01] rx: 1472 # 19.86 [+0.02] OK # 19.86 [+0.00] # 20.02 [+0.16] raw mtu size + 1 (expected to fail) # 21.62 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 21.63 [+0.01] ./psock_snd: write: Message too long # 21.80 [+0.17] raw vlan mtu size + 1 (expected to fail) # 23.42 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 23.43 [+0.01] ./psock_snd: write: Message too long # 23.63 [+0.19] dgram mtu size # 25.23 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 25.23 [+0.00] tx: 1500 # 25.24 [+0.01] rx: 1472 # 25.25 [+0.01] OK # 25.25 [+0.00] # 25.41 [+0.16] dgram mtu size + 1 (expected to fail) # 27.00 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 27.00 [+0.00] ./psock_snd: write: Message too long # 27.20 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 28.82 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 28.83 [+0.00] tx: 14 # 28.94 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.12 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 30.74 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 30.75 [+0.01] ./psock_snd: write: Invalid argument # 30.94 [+0.19] raw gso min size # 32.55 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 32.56 [+0.01] tx: 1525 # 32.58 [+0.02] rx: 1473 # 32.60 [+0.02] OK # 32.60 [+0.00] # 32.76 [+0.17] raw gso max size # 34.40 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 34.40 [+0.01] tx: 65559 # 34.41 [+0.01] rx: 65507 # 34.42 [+0.01] OK # 34.42 [+0.00] # 34.58 [+0.16] raw gso max size + 1 (expected to fail) # 36.21 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 36.22 [+0.01] tx: 65560 # 36.33 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 36.50 [+0.17] 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__->