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 # 0.92 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 0.93 [+0.01] tx: 128 # 0.94 [+0.01] rx: 142 # 0.94 [+0.00] rx: 100 # 0.96 [+0.02] OK # 0.96 [+0.00] # 1.06 [+0.10] dgram bind # 1.94 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 1.95 [+0.01] tx: 128 # 1.95 [+0.01] rx: 142 # 1.95 [+0.00] rx: 100 # 1.97 [+0.02] OK # 1.97 [+0.00] # 2.08 [+0.11] raw # 2.98 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 2.98 [+0.01] tx: 142 # 2.99 [+0.01] rx: 142 # 2.99 [+0.00] rx: 100 # 3.00 [+0.01] OK # 3.00 [+0.00] # 3.10 [+0.10] raw bind # 3.99 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 4.00 [+0.01] tx: 142 # 4.01 [+0.01] rx: 142 # 4.01 [+0.00] rx: 100 # 4.02 [+0.01] OK # 4.02 [+0.00] # 4.12 [+0.10] raw qdisc bypass # 5.04 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 5.05 [+0.01] tx: 142 # 5.05 [+0.01] rx: 142 # 5.06 [+0.00] rx: 100 # 5.07 [+0.01] OK # 5.07 [+0.00] # 5.17 [+0.11] raw vlan # 6.06 [+0.89] net.ipv4.conf.lo.accept_local = 1 # 6.07 [+0.01] tx: 146 # 6.08 [+0.01] rx: 100 # 6.09 [+0.01] OK # 6.09 [+0.00] # 6.20 [+0.12] raw vnet hdr # 7.10 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 7.12 [+0.01] tx: 152 # 7.12 [+0.01] rx: 142 # 7.12 [+0.00] rx: 100 # 7.14 [+0.02] OK # 7.14 [+0.00] # 7.25 [+0.11] raw csum_off # 8.15 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 8.15 [+0.01] tx: 152 # 8.16 [+0.01] rx: 142 # 8.16 [+0.00] rx: 100 # 8.18 [+0.02] OK # 8.18 [+0.00] # 8.30 [+0.12] raw csum_off with bad offset (expected to fail) # 9.28 [+0.99] net.ipv4.conf.lo.accept_local = 1 # 9.29 [+0.01] ./psock_snd: write: Invalid argument # 9.47 [+0.18] raw min size # 10.30 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 10.31 [+0.00] tx: 42 # 10.33 [+0.02] rx: 0 # 10.35 [+0.02] OK # 10.35 [+0.00] # 10.43 [+0.09] raw mtu size # 11.28 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 11.29 [+0.00] tx: 1514 # 11.31 [+0.02] rx: 1472 # 11.33 [+0.03] OK # 11.33 [+0.00] # 11.44 [+0.11] raw mtu size + 1 (expected to fail) # 12.30 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 12.30 [+0.01] ./psock_snd: write: Message too long # 12.45 [+0.14] raw vlan mtu size + 1 (expected to fail) # 13.32 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 13.34 [+0.01] ./psock_snd: write: Message too long # 13.46 [+0.12] dgram mtu size # 14.37 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 14.38 [+0.00] tx: 1500 # 14.40 [+0.02] rx: 1472 # 14.41 [+0.02] OK # 14.41 [+0.00] # 14.53 [+0.11] dgram mtu size + 1 (expected to fail) # 15.41 [+0.88] net.ipv4.conf.lo.accept_local = 1 # 15.42 [+0.01] ./psock_snd: write: Message too long # 15.57 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 16.43 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 16.44 [+0.01] tx: 14 # 16.56 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 16.70 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 17.64 [+0.94] net.ipv4.conf.lo.accept_local = 1 # 17.65 [+0.01] ./psock_snd: write: Invalid argument # 17.78 [+0.13] raw gso min size # 18.70 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 18.70 [+0.01] tx: 1525 # 18.71 [+0.01] rx: 1473 # 18.72 [+0.01] OK # 18.72 [+0.00] # 18.83 [+0.11] raw gso max size # 19.75 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 19.76 [+0.01] tx: 65559 # 19.77 [+0.01] rx: 65507 # 19.78 [+0.01] OK # 19.78 [+0.00] # 19.90 [+0.12] raw gso max size + 1 (expected to fail) # 20.76 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 20.78 [+0.02] tx: 65560 # 20.91 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 21.05 [+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__->