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.36 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 1.38 [+0.02] tx: 128 # 1.38 [+0.00] rx: 142 # 1.38 [+0.00] rx: 100 # 1.38 [+0.00] OK # 1.38 [+0.00] # 1.57 [+0.18] dgram bind # 2.93 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 2.95 [+0.01] tx: 128 # 2.95 [+0.00] rx: 142 # 2.95 [+0.00] rx: 100 # 2.96 [+0.01] OK # 2.96 [+0.00] # 3.10 [+0.14] raw # 4.38 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 4.39 [+0.01] tx: 142 # 4.40 [+0.01] rx: 142 # 4.40 [+0.00] rx: 100 # 4.41 [+0.01] OK # 4.41 [+0.00] # 4.56 [+0.15] raw bind # 5.86 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 5.87 [+0.01] tx: 142 # 5.88 [+0.01] rx: 142 # 5.88 [+0.00] rx: 100 # 5.89 [+0.01] OK # 5.89 [+0.00] # 6.04 [+0.15] raw qdisc bypass # 7.45 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 7.46 [+0.01] tx: 142 # 7.46 [+0.01] rx: 142 # 7.46 [+0.00] rx: 100 # 7.47 [+0.01] OK # 7.47 [+0.00] # 7.62 [+0.15] raw vlan # 8.97 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 8.98 [+0.01] tx: 146 # 8.99 [+0.01] rx: 100 # 9.00 [+0.01] OK # 9.00 [+0.00] # 9.15 [+0.15] raw vnet hdr # 10.56 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 10.57 [+0.01] tx: 152 # 10.58 [+0.01] rx: 142 # 10.58 [+0.00] rx: 100 # 10.58 [+0.01] OK # 10.58 [+0.00] # 10.74 [+0.15] raw csum_off # 12.11 [+1.37] net.ipv4.conf.lo.accept_local = 1 # 12.12 [+0.01] tx: 152 # 12.12 [+0.01] rx: 142 # 12.12 [+0.00] rx: 100 # 12.13 [+0.01] OK # 12.13 [+0.00] # 12.29 [+0.16] raw csum_off with bad offset (expected to fail) # 13.71 [+1.42] net.ipv4.conf.lo.accept_local = 1 # 13.72 [+0.01] ./psock_snd: write: Invalid argument # 13.91 [+0.19] raw min size # 15.20 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 15.21 [+0.01] tx: 42 # 15.22 [+0.01] rx: 0 # 15.23 [+0.01] OK # 15.23 [+0.00] # 15.38 [+0.15] raw mtu size # 16.71 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 16.72 [+0.01] tx: 1514 # 16.73 [+0.01] rx: 1472 # 16.74 [+0.01] OK # 16.74 [+0.00] # 16.92 [+0.18] raw mtu size + 1 (expected to fail) # 18.33 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 18.34 [+0.01] ./psock_snd: write: Message too long # 18.54 [+0.20] raw vlan mtu size + 1 (expected to fail) # 19.89 [+1.35] net.ipv4.conf.lo.accept_local = 1 # 19.90 [+0.01] ./psock_snd: write: Message too long # 20.14 [+0.24] dgram mtu size # 21.58 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 21.60 [+0.01] tx: 1500 # 21.60 [+0.01] rx: 1472 # 21.61 [+0.01] OK # 21.61 [+0.00] # 21.80 [+0.18] dgram mtu size + 1 (expected to fail) # 23.19 [+1.40] net.ipv4.conf.lo.accept_local = 1 # 23.20 [+0.01] ./psock_snd: write: Message too long # 23.42 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 24.90 [+1.47] net.ipv4.conf.lo.accept_local = 1 # 24.91 [+0.01] tx: 14 # 25.02 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 25.22 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.84 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 26.86 [+0.01] ./psock_snd: write: Invalid argument # 27.06 [+0.20] raw gso min size # 28.54 [+1.49] net.ipv4.conf.lo.accept_local = 1 # 28.56 [+0.01] tx: 1525 # 28.56 [+0.01] rx: 1473 # 28.57 [+0.01] OK # 28.57 [+0.00] # 28.75 [+0.17] raw gso max size # 30.20 [+1.45] net.ipv4.conf.lo.accept_local = 1 # 30.22 [+0.02] tx: 65559 # 30.23 [+0.01] rx: 65507 # 30.24 [+0.01] OK # 30.24 [+0.00] # 30.38 [+0.14] raw gso max size + 1 (expected to fail) # 31.70 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 31.72 [+0.02] tx: 65560 # 31.84 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.99 [+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__->