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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.02 [+0.02] dgram # 1.18 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 1.19 [+0.01] tx: 128 # 1.20 [+0.01] rx: 142 # 1.20 [+0.00] rx: 100 # 1.21 [+0.02] OK # 1.21 [+0.00] # 1.35 [+0.14] dgram bind # 2.49 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 2.50 [+0.01] tx: 128 # 2.52 [+0.02] rx: 142 # 2.52 [+0.00] rx: 100 # 2.54 [+0.02] OK # 2.54 [+0.00] # 2.66 [+0.12] raw # 3.83 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 3.84 [+0.01] tx: 142 # 3.85 [+0.01] rx: 142 # 3.85 [+0.00] rx: 100 # 3.87 [+0.02] OK # 3.87 [+0.00] # 4.00 [+0.13] raw bind # 5.17 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 5.19 [+0.02] tx: 142 # 5.20 [+0.01] rx: 142 # 5.20 [+0.00] rx: 100 # 5.21 [+0.01] OK # 5.21 [+0.00] # 5.35 [+0.14] raw qdisc bypass # 6.50 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 6.51 [+0.01] tx: 142 # 6.53 [+0.02] rx: 142 # 6.53 [+0.00] rx: 100 # 6.54 [+0.02] OK # 6.54 [+0.00] # 6.69 [+0.15] raw vlan # 7.84 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 7.85 [+0.01] tx: 146 # 7.86 [+0.01] rx: 100 # 7.87 [+0.02] OK # 7.87 [+0.00] # 8.00 [+0.13] raw vnet hdr # 9.17 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 9.18 [+0.01] tx: 152 # 9.19 [+0.01] rx: 142 # 9.19 [+0.00] rx: 100 # 9.20 [+0.01] OK # 9.20 [+0.00] # 9.32 [+0.11] raw csum_off # 10.46 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 10.47 [+0.01] tx: 152 # 10.61 [+0.14] rx: 142 # 10.61 [+0.00] rx: 100 # 10.76 [+0.15] OK # 10.76 [+0.00] # 10.93 [+0.16] raw csum_off with bad offset (expected to fail) # 12.21 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 12.22 [+0.01] ./psock_snd: write: Invalid argument # 12.38 [+0.16] raw min size # 13.54 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 13.55 [+0.01] tx: 42 # 13.56 [+0.02] rx: 0 # 13.58 [+0.02] OK # 13.58 [+0.00] # 13.73 [+0.14] raw mtu size # 14.87 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 14.89 [+0.02] tx: 1514 # 14.91 [+0.02] rx: 1472 # 14.93 [+0.02] OK # 14.93 [+0.00] # 15.04 [+0.11] raw mtu size + 1 (expected to fail) # 16.20 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 16.21 [+0.01] ./psock_snd: write: Message too long # 16.40 [+0.19] raw vlan mtu size + 1 (expected to fail) # 17.54 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 17.56 [+0.02] ./psock_snd: write: Message too long # 17.76 [+0.20] dgram mtu size # 18.94 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 18.95 [+0.01] tx: 1500 # 18.96 [+0.02] rx: 1472 # 18.98 [+0.02] OK # 18.98 [+0.00] # 19.11 [+0.13] dgram mtu size + 1 (expected to fail) # 20.24 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 20.25 [+0.01] ./psock_snd: write: Message too long # 20.45 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 21.63 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 21.64 [+0.01] tx: 14 # 21.75 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.88 [+0.13] raw truncate hlen - 1 (expected to fail: EINVAL) # 23.06 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 23.07 [+0.01] ./psock_snd: write: Invalid argument # 23.24 [+0.17] raw gso min size # 24.43 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 24.43 [+0.01] tx: 1525 # 24.44 [+0.01] rx: 1473 # 24.45 [+0.01] OK # 24.46 [+0.00] # 24.58 [+0.13] raw gso max size # 25.71 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 25.73 [+0.01] tx: 65559 # 25.74 [+0.01] rx: 65507 # 25.76 [+0.02] OK # 25.76 [+0.00] # 25.88 [+0.12] raw gso max size + 1 (expected to fail) # 27.05 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 27.06 [+0.01] tx: 65560 # 27.17 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 27.34 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->