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.00 [+0.00] dgram # 1.18 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 1.19 [+0.01] tx: 128 # 1.20 [+0.02] rx: 142 # 1.20 [+0.00] rx: 100 # 1.22 [+0.02] OK # 1.22 [+0.00] # 1.38 [+0.16] dgram bind # 2.53 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 2.54 [+0.01] tx: 128 # 2.55 [+0.01] rx: 142 # 2.55 [+0.00] rx: 100 # 2.56 [+0.02] OK # 2.56 [+0.00] # 2.70 [+0.14] raw # 3.92 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 3.93 [+0.01] tx: 142 # 3.93 [+0.01] rx: 142 # 3.93 [+0.00] rx: 100 # 3.94 [+0.01] OK # 3.94 [+0.00] # 4.07 [+0.13] raw bind # 5.18 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 5.18 [+0.01] tx: 142 # 5.20 [+0.01] rx: 142 # 5.20 [+0.00] rx: 100 # 5.21 [+0.01] OK # 5.21 [+0.00] # 5.34 [+0.13] raw qdisc bypass # 6.46 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 6.47 [+0.01] tx: 142 # 6.48 [+0.01] rx: 142 # 6.48 [+0.00] rx: 100 # 6.48 [+0.01] OK # 6.49 [+0.00] # 6.61 [+0.13] raw vlan # 7.90 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 7.91 [+0.01] tx: 146 # 7.92 [+0.01] rx: 100 # 7.93 [+0.01] OK # 7.93 [+0.00] # 8.05 [+0.12] raw vnet hdr # 9.21 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 9.22 [+0.01] tx: 152 # 9.23 [+0.01] rx: 142 # 9.23 [+0.00] rx: 100 # 9.23 [+0.01] OK # 9.23 [+0.00] # 9.37 [+0.14] raw csum_off # 10.56 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 10.56 [+0.01] tx: 152 # 10.58 [+0.02] rx: 142 # 10.58 [+0.00] rx: 100 # 10.60 [+0.02] OK # 10.60 [+0.00] # 10.72 [+0.12] raw csum_off with bad offset (expected to fail) # 11.82 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 11.83 [+0.01] ./psock_snd: write: Invalid argument # 12.02 [+0.19] raw min size # 13.19 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 13.19 [+0.01] tx: 42 # 13.20 [+0.01] rx: 0 # 13.21 [+0.01] OK # 13.21 [+0.00] # 13.34 [+0.13] raw mtu size # 14.45 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 14.46 [+0.01] tx: 1514 # 14.47 [+0.02] rx: 1472 # 14.49 [+0.02] OK # 14.49 [+0.00] # 14.62 [+0.13] raw mtu size + 1 (expected to fail) # 15.82 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 15.83 [+0.01] ./psock_snd: write: Message too long # 16.00 [+0.18] raw vlan mtu size + 1 (expected to fail) # 17.13 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 17.14 [+0.01] ./psock_snd: write: Message too long # 17.29 [+0.16] dgram mtu size # 18.40 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 18.41 [+0.01] tx: 1500 # 18.42 [+0.01] rx: 1472 # 18.43 [+0.01] OK # 18.43 [+0.00] # 18.56 [+0.13] dgram mtu size + 1 (expected to fail) # 19.69 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 19.69 [+0.01] ./psock_snd: write: Message too long # 19.85 [+0.16] raw truncate hlen (expected to fail: does not arrive) # 20.98 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 20.98 [+0.01] tx: 14 # 21.09 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.25 [+0.16] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.37 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 22.38 [+0.01] ./psock_snd: write: Invalid argument # 22.53 [+0.15] raw gso min size # 23.64 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 23.65 [+0.01] tx: 1525 # 23.67 [+0.02] rx: 1473 # 23.68 [+0.01] OK # 23.68 [+0.00] # 23.80 [+0.12] raw gso max size # 24.93 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 24.94 [+0.01] tx: 65559 # 24.95 [+0.01] rx: 65507 # 24.97 [+0.01] OK # 24.97 [+0.00] # 25.08 [+0.12] raw gso max size + 1 (expected to fail) # 26.19 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 26.20 [+0.01] tx: 65560 # 26.32 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 26.47 [+0.15] 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__->