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 # 2.02 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 2.02 [+0.00] tx: 128 # 2.03 [+0.01] rx: 142 # 2.03 [+0.00] rx: 100 # 2.04 [+0.01] OK # 2.04 [+0.00] # 2.23 [+0.18] dgram bind # 4.09 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 4.09 [+0.01] tx: 128 # 4.10 [+0.01] rx: 142 # 4.10 [+0.00] rx: 100 # 4.11 [+0.01] OK # 4.11 [+0.00] # 4.30 [+0.19] raw # 6.13 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 6.14 [+0.01] tx: 142 # 6.16 [+0.01] rx: 142 # 6.16 [+0.00] rx: 100 # 6.17 [+0.02] OK # 6.17 [+0.00] # 6.35 [+0.17] raw bind # 8.21 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 8.23 [+0.02] tx: 142 # 8.23 [+0.01] rx: 142 # 8.23 [+0.00] rx: 100 # 8.24 [+0.01] OK # 8.24 [+0.00] # 8.42 [+0.17] raw qdisc bypass # 10.26 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 10.26 [+0.00] tx: 142 # 10.27 [+0.01] rx: 142 # 10.27 [+0.00] rx: 100 # 10.29 [+0.02] OK # 10.29 [+0.00] # 10.48 [+0.19] raw vlan # 12.33 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 12.34 [+0.01] tx: 146 # 12.36 [+0.02] rx: 100 # 12.37 [+0.02] OK # 12.37 [+0.00] # 12.56 [+0.19] raw vnet hdr # 14.39 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 14.41 [+0.01] tx: 152 # 14.43 [+0.02] rx: 142 # 14.43 [+0.00] rx: 100 # 14.44 [+0.02] OK # 14.44 [+0.00] # 14.64 [+0.19] raw csum_off # 16.48 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 16.48 [+0.01] tx: 152 # 16.49 [+0.01] rx: 142 # 16.49 [+0.00] rx: 100 # 16.50 [+0.02] OK # 16.50 [+0.00] # 16.69 [+0.18] raw csum_off with bad offset (expected to fail) # 18.53 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 18.53 [+0.00] ./psock_snd: write: Invalid argument # 18.75 [+0.22] raw min size # 20.58 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 20.59 [+0.01] tx: 42 # 20.60 [+0.01] rx: 0 # 20.61 [+0.01] OK # 20.61 [+0.00] # 20.78 [+0.18] raw mtu size # 22.57 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 22.57 [+0.01] tx: 1514 # 22.59 [+0.02] rx: 1472 # 22.61 [+0.02] OK # 22.61 [+0.00] # 22.79 [+0.18] raw mtu size + 1 (expected to fail) # 24.65 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 24.67 [+0.01] ./psock_snd: write: Message too long # 24.88 [+0.21] raw vlan mtu size + 1 (expected to fail) # 26.76 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 26.77 [+0.00] ./psock_snd: write: Message too long # 26.98 [+0.21] dgram mtu size # 28.86 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 28.86 [+0.01] tx: 1500 # 28.87 [+0.01] rx: 1472 # 28.89 [+0.02] OK # 28.89 [+0.00] # 29.07 [+0.18] dgram mtu size + 1 (expected to fail) # 30.94 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 30.94 [+0.01] ./psock_snd: write: Message too long # 31.17 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 33.03 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 33.04 [+0.01] tx: 14 # 33.17 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 33.35 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.19 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 35.19 [+0.00] ./psock_snd: write: Invalid argument # 35.42 [+0.22] raw gso min size # 37.33 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 37.34 [+0.01] tx: 1525 # 37.35 [+0.01] rx: 1473 # 37.38 [+0.02] OK # 37.38 [+0.00] # 37.58 [+0.20] raw gso max size # 39.46 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 39.46 [+0.01] tx: 65559 # 39.47 [+0.01] rx: 65507 # 39.49 [+0.02] OK # 39.49 [+0.00] # 39.68 [+0.19] raw gso max size + 1 (expected to fail) # 41.47 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 41.48 [+0.01] tx: 65560 # 41.61 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 41.79 [+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__->