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.00 [+0.00] dgram # 1.44 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 1.45 [+0.01] tx: 128 # 1.46 [+0.01] rx: 142 # 1.46 [+0.00] rx: 100 # 1.48 [+0.02] OK # 1.48 [+0.00] # 1.63 [+0.16] dgram bind # 3.03 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 3.04 [+0.01] tx: 128 # 3.05 [+0.01] rx: 142 # 3.05 [+0.00] rx: 100 # 3.06 [+0.01] OK # 3.06 [+0.00] # 3.24 [+0.18] raw # 4.69 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 4.70 [+0.01] tx: 142 # 4.71 [+0.01] rx: 142 # 4.71 [+0.00] rx: 100 # 4.72 [+0.01] OK # 4.72 [+0.00] # 4.89 [+0.17] raw bind # 6.44 [+1.55] net.ipv4.conf.lo.accept_local = 1 # 6.45 [+0.01] tx: 142 # 6.46 [+0.01] rx: 142 # 6.47 [+0.00] rx: 100 # 6.48 [+0.02] OK # 6.48 [+0.00] # 6.66 [+0.17] raw qdisc bypass # 8.30 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 8.31 [+0.01] tx: 142 # 8.32 [+0.01] rx: 142 # 8.32 [+0.00] rx: 100 # 8.34 [+0.01] OK # 8.34 [+0.00] # 8.53 [+0.19] raw vlan # 10.14 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 10.15 [+0.01] tx: 146 # 10.17 [+0.02] rx: 100 # 10.19 [+0.02] OK # 10.19 [+0.00] # 10.37 [+0.18] raw vnet hdr # 11.81 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 11.82 [+0.01] tx: 152 # 11.83 [+0.01] rx: 142 # 11.83 [+0.00] rx: 100 # 11.85 [+0.02] OK # 11.85 [+0.00] # 12.03 [+0.17] raw csum_off # 13.52 [+1.50] net.ipv4.conf.lo.accept_local = 1 # 13.53 [+0.01] tx: 152 # 13.55 [+0.02] rx: 142 # 13.55 [+0.00] rx: 100 # 13.57 [+0.02] OK # 13.57 [+0.00] # 13.77 [+0.20] raw csum_off with bad offset (expected to fail) # 15.12 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 15.14 [+0.02] ./psock_snd: write: Invalid argument # 15.32 [+0.18] raw min size # 16.59 [+1.26] net.ipv4.conf.lo.accept_local = 1 # 16.59 [+0.01] tx: 42 # 16.61 [+0.02] rx: 0 # 16.63 [+0.02] OK # 16.63 [+0.00] # 16.76 [+0.13] raw mtu size # 17.92 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 17.93 [+0.01] tx: 1514 # 17.95 [+0.02] rx: 1472 # 17.97 [+0.02] OK # 17.97 [+0.00] # 18.10 [+0.13] raw mtu size + 1 (expected to fail) # 19.25 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 19.26 [+0.01] ./psock_snd: write: Message too long # 19.41 [+0.15] raw vlan mtu size + 1 (expected to fail) # 20.55 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 20.56 [+0.01] ./psock_snd: write: Message too long # 20.70 [+0.14] dgram mtu size # 21.88 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 21.89 [+0.01] tx: 1500 # 21.90 [+0.01] rx: 1472 # 21.91 [+0.01] OK # 21.91 [+0.00] # 22.04 [+0.13] dgram mtu size + 1 (expected to fail) # 23.34 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 23.34 [+0.01] ./psock_snd: write: Message too long # 23.53 [+0.18] raw truncate hlen (expected to fail: does not arrive) # 24.86 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 24.87 [+0.01] tx: 14 # 24.98 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 25.19 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.53 [+1.34] net.ipv4.conf.lo.accept_local = 1 # 26.54 [+0.01] ./psock_snd: write: Invalid argument # 26.77 [+0.23] raw gso min size # 28.28 [+1.51] net.ipv4.conf.lo.accept_local = 1 # 28.29 [+0.01] tx: 1525 # 28.30 [+0.01] rx: 1473 # 28.32 [+0.02] OK # 28.32 [+0.00] # 28.48 [+0.16] raw gso max size # 29.86 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 29.87 [+0.01] tx: 65559 # 29.88 [+0.01] rx: 65507 # 29.90 [+0.02] OK # 29.90 [+0.00] # 30.04 [+0.14] raw gso max size + 1 (expected to fail) # 31.21 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 31.22 [+0.01] tx: 65560 # 31.33 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.48 [+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__->