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.01 [+1.01] net.ipv4.conf.lo.accept_local = 1 # 1.02 [+0.01] tx: 128 # 1.03 [+0.01] rx: 142 # 1.03 [+0.00] rx: 100 # 1.04 [+0.01] OK # 1.04 [+0.00] # 1.15 [+0.11] dgram bind # 2.24 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 2.24 [+0.01] tx: 128 # 2.25 [+0.01] rx: 142 # 2.25 [+0.00] rx: 100 # 2.27 [+0.01] OK # 2.27 [+0.00] # 2.40 [+0.13] raw # 3.40 [+1.00] net.ipv4.conf.lo.accept_local = 1 # 3.42 [+0.02] tx: 142 # 3.44 [+0.02] rx: 142 # 3.44 [+0.00] rx: 100 # 3.46 [+0.02] OK # 3.46 [+0.00] # 3.59 [+0.14] raw bind # 4.64 [+1.05] net.ipv4.conf.lo.accept_local = 1 # 4.65 [+0.01] tx: 142 # 4.67 [+0.02] rx: 142 # 4.67 [+0.00] rx: 100 # 4.69 [+0.02] OK # 4.69 [+0.00] # 4.80 [+0.11] raw qdisc bypass # 5.93 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 5.94 [+0.01] tx: 142 # 5.96 [+0.02] rx: 142 # 5.96 [+0.00] rx: 100 # 5.97 [+0.02] OK # 5.97 [+0.00] # 6.15 [+0.18] raw vlan # 7.22 [+1.07] net.ipv4.conf.lo.accept_local = 1 # 7.22 [+0.01] tx: 146 # 7.23 [+0.01] rx: 100 # 7.25 [+0.02] OK # 7.25 [+0.00] # 7.37 [+0.12] raw vnet hdr # 8.53 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 8.54 [+0.01] tx: 152 # 8.55 [+0.01] rx: 142 # 8.55 [+0.00] rx: 100 # 8.56 [+0.01] OK # 8.56 [+0.00] # 8.68 [+0.12] raw csum_off # 9.87 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 9.88 [+0.01] tx: 152 # 9.90 [+0.02] rx: 142 # 9.90 [+0.00] rx: 100 # 9.92 [+0.02] OK # 9.92 [+0.00] # 10.07 [+0.15] raw csum_off with bad offset (expected to fail) # 11.18 [+1.10] net.ipv4.conf.lo.accept_local = 1 # 11.19 [+0.01] ./psock_snd: write: Invalid argument # 11.36 [+0.17] raw min size # 12.52 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 12.53 [+0.01] tx: 42 # 12.55 [+0.01] rx: 0 # 12.57 [+0.02] OK # 12.57 [+0.00] # 12.69 [+0.12] raw mtu size # 13.81 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 13.82 [+0.01] tx: 1514 # 13.84 [+0.02] rx: 1472 # 13.86 [+0.02] OK # 13.86 [+0.00] # 14.01 [+0.15] raw mtu size + 1 (expected to fail) # 15.17 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 15.18 [+0.01] ./psock_snd: write: Message too long # 15.31 [+0.13] raw vlan mtu size + 1 (expected to fail) # 16.46 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 16.46 [+0.01] ./psock_snd: write: Message too long # 16.63 [+0.16] dgram mtu size # 17.71 [+1.08] net.ipv4.conf.lo.accept_local = 1 # 17.71 [+0.01] tx: 1500 # 17.73 [+0.02] rx: 1472 # 17.75 [+0.02] OK # 17.75 [+0.00] # 17.89 [+0.14] dgram mtu size + 1 (expected to fail) # 19.21 [+1.32] net.ipv4.conf.lo.accept_local = 1 # 19.22 [+0.01] ./psock_snd: write: Message too long # 19.42 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 20.58 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 20.59 [+0.01] tx: 14 # 20.70 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 20.85 [+0.15] raw truncate hlen - 1 (expected to fail: EINVAL) # 21.91 [+1.06] net.ipv4.conf.lo.accept_local = 1 # 21.92 [+0.01] ./psock_snd: write: Invalid argument # 22.10 [+0.18] raw gso min size # 23.21 [+1.11] net.ipv4.conf.lo.accept_local = 1 # 23.22 [+0.01] tx: 1525 # 23.23 [+0.01] rx: 1473 # 23.24 [+0.01] OK # 23.25 [+0.00] # 23.42 [+0.17] raw gso max size # 24.54 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 24.55 [+0.01] tx: 65559 # 24.56 [+0.01] rx: 65507 # 24.58 [+0.03] OK # 24.58 [+0.00] # 24.70 [+0.12] raw gso max size + 1 (expected to fail) # 25.83 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 25.85 [+0.02] tx: 65560 # 25.96 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 26.12 [+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__->