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.03 [+0.03] dgram # 0.96 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 0.96 [+0.00] tx: 128 # 0.97 [+0.01] rx: 142 # 0.97 [+0.00] rx: 100 # 0.98 [+0.01] OK # 0.98 [+0.00] # 1.09 [+0.11] dgram bind # 1.95 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 1.96 [+0.01] tx: 128 # 1.96 [+0.01] rx: 142 # 1.97 [+0.00] rx: 100 # 1.98 [+0.01] OK # 1.98 [+0.00] # 2.06 [+0.09] raw # 2.92 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 2.92 [+0.01] tx: 142 # 2.95 [+0.02] rx: 142 # 2.95 [+0.00] rx: 100 # 2.96 [+0.02] OK # 2.96 [+0.00] # 3.06 [+0.09] raw bind # 3.95 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 3.97 [+0.02] tx: 142 # 4.00 [+0.02] rx: 142 # 4.00 [+0.00] rx: 100 # 4.01 [+0.02] OK # 4.01 [+0.00] # 4.10 [+0.09] raw qdisc bypass # 4.98 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 4.98 [+0.01] tx: 142 # 4.99 [+0.01] rx: 142 # 4.99 [+0.00] rx: 100 # 5.00 [+0.01] OK # 5.00 [+0.00] # 5.10 [+0.10] raw vlan # 6.02 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 6.03 [+0.01] tx: 146 # 6.05 [+0.02] rx: 100 # 6.07 [+0.02] OK # 6.07 [+0.00] # 6.18 [+0.11] raw vnet hdr # 7.04 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 7.05 [+0.01] tx: 152 # 7.06 [+0.01] rx: 142 # 7.06 [+0.00] rx: 100 # 7.08 [+0.02] OK # 7.08 [+0.00] # 7.19 [+0.10] raw csum_off # 8.13 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 8.13 [+0.01] tx: 152 # 8.15 [+0.01] rx: 142 # 8.15 [+0.00] rx: 100 # 8.16 [+0.01] OK # 8.16 [+0.00] # 8.26 [+0.10] raw csum_off with bad offset (expected to fail) # 9.25 [+0.98] net.ipv4.conf.lo.accept_local = 1 # 9.26 [+0.01] ./psock_snd: write: Invalid argument # 9.41 [+0.15] raw min size # 10.30 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 10.31 [+0.01] tx: 42 # 10.33 [+0.02] rx: 0 # 10.34 [+0.01] OK # 10.34 [+0.00] # 10.45 [+0.11] raw mtu size # 11.40 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 11.41 [+0.01] tx: 1514 # 11.43 [+0.02] rx: 1472 # 11.45 [+0.02] OK # 11.45 [+0.00] # 11.55 [+0.10] raw mtu size + 1 (expected to fail) # 12.47 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 12.48 [+0.01] ./psock_snd: write: Message too long # 12.62 [+0.14] raw vlan mtu size + 1 (expected to fail) # 13.59 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 13.59 [+0.01] ./psock_snd: write: Message too long # 13.71 [+0.12] dgram mtu size # 14.60 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 14.60 [+0.01] tx: 1500 # 14.61 [+0.01] rx: 1472 # 14.62 [+0.01] OK # 14.62 [+0.00] # 14.73 [+0.10] dgram mtu size + 1 (expected to fail) # 15.62 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 15.63 [+0.01] ./psock_snd: write: Message too long # 15.77 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 16.67 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 16.67 [+0.01] tx: 14 # 16.79 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 16.97 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.91 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 17.92 [+0.01] ./psock_snd: write: Invalid argument # 18.07 [+0.15] raw gso min size # 19.02 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 19.03 [+0.01] tx: 1525 # 19.03 [+0.00] rx: 1473 # 19.04 [+0.01] OK # 19.04 [+0.00] # 19.14 [+0.10] raw gso max size # 20.04 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 20.05 [+0.01] tx: 65559 # 20.06 [+0.01] rx: 65507 # 20.07 [+0.01] OK # 20.07 [+0.00] # 20.19 [+0.12] raw gso max size + 1 (expected to fail) # 21.16 [+0.97] net.ipv4.conf.lo.accept_local = 1 # 21.18 [+0.02] tx: 65560 # 21.29 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.42 [+0.13] 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__->