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 # 1.19 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 1.20 [+0.01] tx: 128 # 1.21 [+0.01] rx: 142 # 1.21 [+0.00] rx: 100 # 1.22 [+0.01] OK # 1.22 [+0.00] # 1.34 [+0.13] dgram bind # 2.49 [+1.15] 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.67 [+0.13] raw # 3.67 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 3.68 [+0.01] tx: 142 # 3.68 [+0.01] rx: 142 # 3.68 [+0.00] rx: 100 # 3.69 [+0.01] OK # 3.69 [+0.00] # 3.82 [+0.13] raw bind # 4.99 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 4.99 [+0.01] tx: 142 # 5.00 [+0.01] rx: 142 # 5.00 [+0.00] rx: 100 # 5.02 [+0.02] OK # 5.02 [+0.00] # 5.17 [+0.15] raw qdisc bypass # 6.53 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 6.54 [+0.01] tx: 142 # 6.54 [+0.00] rx: 142 # 6.54 [+0.00] rx: 100 # 6.55 [+0.01] OK # 6.55 [+0.00] # 6.70 [+0.15] raw vlan # 7.79 [+1.09] net.ipv4.conf.lo.accept_local = 1 # 7.79 [+0.01] tx: 146 # 7.81 [+0.01] rx: 100 # 7.82 [+0.02] OK # 7.82 [+0.00] # 7.95 [+0.13] raw vnet hdr # 9.06 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 9.07 [+0.01] tx: 152 # 9.08 [+0.01] rx: 142 # 9.08 [+0.00] rx: 100 # 9.10 [+0.02] OK # 9.10 [+0.00] # 9.22 [+0.13] raw csum_off # 10.18 [+0.95] net.ipv4.conf.lo.accept_local = 1 # 10.18 [+0.01] tx: 152 # 10.19 [+0.01] rx: 142 # 10.19 [+0.00] rx: 100 # 10.20 [+0.01] OK # 10.20 [+0.00] # 10.30 [+0.10] raw csum_off with bad offset (expected to fail) # 11.34 [+1.04] net.ipv4.conf.lo.accept_local = 1 # 11.34 [+0.00] ./psock_snd: write: Invalid argument # 11.47 [+0.12] raw min size # 12.31 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 12.32 [+0.01] tx: 42 # 12.33 [+0.01] rx: 0 # 12.34 [+0.01] OK # 12.34 [+0.00] # 12.44 [+0.09] raw mtu size # 13.33 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 13.34 [+0.01] tx: 1514 # 13.36 [+0.02] rx: 1472 # 13.37 [+0.02] OK # 13.37 [+0.00] # 13.48 [+0.11] raw mtu size + 1 (expected to fail) # 14.49 [+1.01] net.ipv4.conf.lo.accept_local = 1 # 14.49 [+0.01] ./psock_snd: write: Message too long # 14.63 [+0.14] raw vlan mtu size + 1 (expected to fail) # 15.66 [+1.02] net.ipv4.conf.lo.accept_local = 1 # 15.67 [+0.01] ./psock_snd: write: Message too long # 15.83 [+0.16] dgram mtu size # 16.79 [+0.96] net.ipv4.conf.lo.accept_local = 1 # 16.80 [+0.00] tx: 1500 # 16.80 [+0.01] rx: 1472 # 16.82 [+0.02] OK # 16.82 [+0.00] # 16.93 [+0.11] dgram mtu size + 1 (expected to fail) # 17.92 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 17.93 [+0.01] ./psock_snd: write: Message too long # 18.07 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 18.93 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 18.94 [+0.01] tx: 14 # 19.05 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 19.16 [+0.10] raw truncate hlen - 1 (expected to fail: EINVAL) # 20.22 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 20.22 [+0.01] ./psock_snd: write: Invalid argument # 20.34 [+0.12] raw gso min size # 21.23 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 21.24 [+0.01] tx: 1525 # 21.24 [+0.01] rx: 1473 # 21.26 [+0.02] OK # 21.26 [+0.00] # 21.36 [+0.10] raw gso max size # 22.22 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 22.23 [+0.01] tx: 65559 # 22.24 [+0.01] rx: 65507 # 22.26 [+0.01] OK # 22.26 [+0.00] # 22.35 [+0.09] raw gso max size + 1 (expected to fail) # 23.20 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 23.21 [+0.01] tx: 65560 # 23.33 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 23.46 [+0.14] 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__->