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.10 [+0.10] dgram # 1.84 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 1.84 [+0.00] tx: 128 # 1.85 [+0.01] rx: 142 # 1.85 [+0.00] rx: 100 # 1.85 [+0.01] OK # 1.85 [+0.00] # 2.02 [+0.17] dgram bind # 3.70 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 3.71 [+0.01] tx: 128 # 3.72 [+0.01] rx: 142 # 3.72 [+0.00] rx: 100 # 3.73 [+0.01] OK # 3.73 [+0.00] # 3.89 [+0.16] raw # 5.53 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 5.54 [+0.01] tx: 142 # 5.56 [+0.02] rx: 142 # 5.56 [+0.00] rx: 100 # 5.57 [+0.02] OK # 5.57 [+0.00] # 5.74 [+0.16] raw bind # 7.38 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 7.39 [+0.01] tx: 142 # 7.41 [+0.02] rx: 142 # 7.41 [+0.00] rx: 100 # 7.42 [+0.02] OK # 7.42 [+0.00] # 7.59 [+0.16] raw qdisc bypass # 9.24 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 9.25 [+0.00] tx: 142 # 9.27 [+0.02] rx: 142 # 9.27 [+0.00] rx: 100 # 9.28 [+0.01] OK # 9.28 [+0.00] # 9.43 [+0.15] raw vlan # 11.12 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 11.12 [+0.00] tx: 146 # 11.13 [+0.01] rx: 100 # 11.15 [+0.02] OK # 11.15 [+0.00] # 11.32 [+0.17] raw vnet hdr # 13.00 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 13.01 [+0.01] tx: 152 # 13.04 [+0.02] rx: 142 # 13.04 [+0.00] rx: 100 # 13.05 [+0.02] OK # 13.05 [+0.00] # 13.21 [+0.16] raw csum_off # 14.86 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 14.87 [+0.00] tx: 152 # 14.88 [+0.01] rx: 142 # 14.88 [+0.00] rx: 100 # 14.88 [+0.01] OK # 14.88 [+0.00] # 15.04 [+0.15] raw csum_off with bad offset (expected to fail) # 16.71 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 16.72 [+0.00] ./psock_snd: write: Invalid argument # 16.90 [+0.18] raw min size # 18.55 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 18.55 [+0.01] tx: 42 # 18.57 [+0.01] rx: 0 # 18.58 [+0.02] OK # 18.58 [+0.00] # 18.76 [+0.18] raw mtu size # 20.39 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 20.39 [+0.00] tx: 1514 # 20.40 [+0.01] rx: 1472 # 20.41 [+0.01] OK # 20.41 [+0.00] # 20.56 [+0.15] raw mtu size + 1 (expected to fail) # 22.23 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 22.24 [+0.00] ./psock_snd: write: Message too long # 22.46 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.11 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 24.12 [+0.00] ./psock_snd: write: Message too long # 24.32 [+0.21] dgram mtu size # 25.99 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 26.00 [+0.00] tx: 1500 # 26.00 [+0.01] rx: 1472 # 26.02 [+0.01] OK # 26.02 [+0.00] # 26.19 [+0.17] dgram mtu size + 1 (expected to fail) # 27.90 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 27.91 [+0.01] ./psock_snd: write: Message too long # 28.15 [+0.24] raw truncate hlen (expected to fail: does not arrive) # 29.84 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 29.84 [+0.00] tx: 14 # 29.96 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 30.17 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.83 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 31.84 [+0.01] ./psock_snd: write: Invalid argument # 32.04 [+0.21] raw gso min size # 33.70 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 33.71 [+0.00] tx: 1525 # 33.71 [+0.01] rx: 1473 # 33.74 [+0.02] OK # 33.74 [+0.00] # 33.91 [+0.17] raw gso max size # 35.51 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 35.52 [+0.01] tx: 65559 # 35.53 [+0.01] rx: 65507 # 35.54 [+0.01] OK # 35.54 [+0.00] # 35.70 [+0.15] raw gso max size + 1 (expected to fail) # 37.35 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 37.36 [+0.01] tx: 65560 # 37.47 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 37.65 [+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__->