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.06 [+0.06] dgram # 1.92 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 1.92 [+0.01] tx: 128 # 1.93 [+0.01] rx: 142 # 1.93 [+0.00] rx: 100 # 1.95 [+0.02] OK # 1.95 [+0.00] # 2.13 [+0.18] dgram bind # 3.96 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 3.96 [+0.01] tx: 128 # 3.98 [+0.02] rx: 142 # 3.99 [+0.00] rx: 100 # 4.00 [+0.01] OK # 4.00 [+0.00] # 4.18 [+0.18] raw # 6.01 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 6.01 [+0.00] tx: 142 # 6.02 [+0.01] rx: 142 # 6.02 [+0.00] rx: 100 # 6.03 [+0.01] OK # 6.03 [+0.00] # 6.21 [+0.18] raw bind # 8.05 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 8.05 [+0.00] tx: 142 # 8.06 [+0.01] rx: 142 # 8.06 [+0.00] rx: 100 # 8.07 [+0.01] OK # 8.07 [+0.00] # 8.24 [+0.17] raw qdisc bypass # 10.09 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 10.10 [+0.00] tx: 142 # 10.11 [+0.01] rx: 142 # 10.11 [+0.00] rx: 100 # 10.13 [+0.02] OK # 10.13 [+0.00] # 10.29 [+0.17] raw vlan # 12.10 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 12.11 [+0.00] tx: 146 # 12.11 [+0.01] rx: 100 # 12.12 [+0.01] OK # 12.12 [+0.00] # 12.29 [+0.17] raw vnet hdr # 14.09 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 14.09 [+0.00] tx: 152 # 14.10 [+0.01] rx: 142 # 14.10 [+0.00] rx: 100 # 14.11 [+0.01] OK # 14.11 [+0.00] # 14.29 [+0.18] raw csum_off # 16.11 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 16.12 [+0.01] tx: 152 # 16.13 [+0.01] rx: 142 # 16.13 [+0.00] rx: 100 # 16.14 [+0.02] OK # 16.14 [+0.00] # 16.33 [+0.19] raw csum_off with bad offset (expected to fail) # 18.18 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 18.19 [+0.01] ./psock_snd: write: Invalid argument # 18.39 [+0.20] raw min size # 20.27 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 20.28 [+0.01] tx: 42 # 20.29 [+0.01] rx: 0 # 20.30 [+0.01] OK # 20.30 [+0.00] # 20.47 [+0.17] raw mtu size # 22.34 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 22.35 [+0.01] tx: 1514 # 22.36 [+0.01] rx: 1472 # 22.38 [+0.02] OK # 22.38 [+0.00] # 22.57 [+0.19] raw mtu size + 1 (expected to fail) # 24.42 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 24.42 [+0.01] ./psock_snd: write: Message too long # 24.62 [+0.20] raw vlan mtu size + 1 (expected to fail) # 26.46 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 26.48 [+0.01] ./psock_snd: write: Message too long # 26.69 [+0.21] dgram mtu size # 28.56 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 28.57 [+0.01] tx: 1500 # 28.59 [+0.02] rx: 1472 # 28.61 [+0.02] OK # 28.61 [+0.00] # 28.79 [+0.18] dgram mtu size + 1 (expected to fail) # 30.72 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 30.73 [+0.01] ./psock_snd: write: Message too long # 30.97 [+0.24] raw truncate hlen (expected to fail: does not arrive) # 32.84 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 32.84 [+0.00] tx: 14 # 32.97 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 33.17 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.99 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 35.00 [+0.01] ./psock_snd: write: Invalid argument # 35.21 [+0.21] raw gso min size # 37.05 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 37.06 [+0.01] tx: 1525 # 37.07 [+0.01] rx: 1473 # 37.09 [+0.02] OK # 37.09 [+0.00] # 37.26 [+0.18] raw gso max size # 39.14 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 39.14 [+0.01] tx: 65559 # 39.16 [+0.01] rx: 65507 # 39.18 [+0.02] OK # 39.18 [+0.00] # 39.36 [+0.19] raw gso max size + 1 (expected to fail) # 41.25 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 41.26 [+0.01] tx: 65560 # 41.39 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 41.60 [+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__->