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.13 [+0.13] dgram # 2.01 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 2.02 [+0.01] tx: 128 # 2.04 [+0.02] rx: 142 # 2.05 [+0.00] rx: 100 # 2.05 [+0.01] OK # 2.05 [+0.00] # 2.23 [+0.18] dgram bind # 4.13 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 4.13 [+0.00] tx: 128 # 4.15 [+0.02] rx: 142 # 4.15 [+0.00] rx: 100 # 4.16 [+0.01] OK # 4.16 [+0.00] # 4.34 [+0.18] raw # 6.23 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 6.23 [+0.00] tx: 142 # 6.24 [+0.01] rx: 142 # 6.24 [+0.00] rx: 100 # 6.26 [+0.02] OK # 6.26 [+0.00] # 6.42 [+0.17] raw bind # 8.26 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 8.27 [+0.00] tx: 142 # 8.28 [+0.01] rx: 142 # 8.28 [+0.00] rx: 100 # 8.30 [+0.02] OK # 8.30 [+0.00] # 8.49 [+0.19] raw qdisc bypass # 10.37 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 10.37 [+0.00] tx: 142 # 10.39 [+0.02] rx: 142 # 10.39 [+0.00] rx: 100 # 10.41 [+0.02] OK # 10.41 [+0.00] # 10.59 [+0.18] raw vlan # 12.46 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 12.47 [+0.01] tx: 146 # 12.48 [+0.01] rx: 100 # 12.49 [+0.01] OK # 12.49 [+0.00] # 12.67 [+0.18] raw vnet hdr # 14.57 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 14.58 [+0.00] tx: 152 # 14.58 [+0.01] rx: 142 # 14.58 [+0.00] rx: 100 # 14.60 [+0.01] OK # 14.60 [+0.00] # 14.77 [+0.17] raw csum_off # 16.65 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 16.65 [+0.01] tx: 152 # 16.66 [+0.01] rx: 142 # 16.66 [+0.00] rx: 100 # 16.68 [+0.02] OK # 16.68 [+0.00] # 16.88 [+0.20] raw csum_off with bad offset (expected to fail) # 18.78 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 18.79 [+0.00] ./psock_snd: write: Invalid argument # 19.02 [+0.24] raw min size # 20.92 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 20.93 [+0.00] tx: 42 # 20.94 [+0.01] rx: 0 # 20.95 [+0.01] OK # 20.95 [+0.00] # 21.12 [+0.17] raw mtu size # 22.95 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 22.96 [+0.01] tx: 1514 # 22.98 [+0.02] rx: 1472 # 22.99 [+0.02] OK # 22.99 [+0.00] # 23.16 [+0.17] raw mtu size + 1 (expected to fail) # 25.04 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 25.05 [+0.00] ./psock_snd: write: Message too long # 25.27 [+0.23] raw vlan mtu size + 1 (expected to fail) # 27.34 [+2.06] net.ipv4.conf.lo.accept_local = 1 # 27.34 [+0.01] ./psock_snd: write: Message too long # 27.59 [+0.25] dgram mtu size # 29.53 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 29.53 [+0.01] tx: 1500 # 29.54 [+0.01] rx: 1472 # 29.56 [+0.02] OK # 29.56 [+0.00] # 29.77 [+0.21] dgram mtu size + 1 (expected to fail) # 31.61 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 31.62 [+0.01] ./psock_snd: write: Message too long # 31.85 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 33.68 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 33.69 [+0.01] tx: 14 # 33.81 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 34.00 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.79 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 35.80 [+0.01] ./psock_snd: write: Invalid argument # 36.00 [+0.20] raw gso min size # 37.88 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 37.89 [+0.01] tx: 1525 # 37.90 [+0.01] rx: 1473 # 37.91 [+0.01] OK # 37.91 [+0.00] # 38.09 [+0.18] raw gso max size # 40.00 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 40.01 [+0.01] tx: 65559 # 40.03 [+0.03] rx: 65507 # 40.06 [+0.02] OK # 40.06 [+0.00] # 40.25 [+0.19] raw gso max size + 1 (expected to fail) # 42.16 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 42.17 [+0.01] tx: 65560 # 42.30 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 42.51 [+0.21] 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__->