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.83 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 0.83 [+0.00] tx: 128 # 0.84 [+0.01] rx: 142 # 0.84 [+0.00] rx: 100 # 0.85 [+0.01] OK # 0.85 [+0.00] # 0.93 [+0.08] dgram bind # 1.76 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 1.77 [+0.01] tx: 128 # 1.78 [+0.01] rx: 142 # 1.78 [+0.00] rx: 100 # 1.79 [+0.01] OK # 1.79 [+0.00] # 1.89 [+0.10] raw # 2.79 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 2.80 [+0.01] tx: 142 # 2.81 [+0.01] rx: 142 # 2.81 [+0.00] rx: 100 # 2.83 [+0.02] OK # 2.83 [+0.00] # 2.92 [+0.09] raw bind # 3.74 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 3.75 [+0.01] tx: 142 # 3.76 [+0.01] rx: 142 # 3.76 [+0.00] rx: 100 # 3.77 [+0.01] OK # 3.77 [+0.00] # 3.85 [+0.08] raw qdisc bypass # 4.78 [+0.93] net.ipv4.conf.lo.accept_local = 1 # 4.79 [+0.01] tx: 142 # 4.80 [+0.01] rx: 142 # 4.80 [+0.00] rx: 100 # 4.81 [+0.02] OK # 4.82 [+0.00] # 4.94 [+0.13] raw vlan # 5.84 [+0.90] net.ipv4.conf.lo.accept_local = 1 # 5.84 [+0.01] tx: 146 # 5.86 [+0.02] rx: 100 # 5.88 [+0.02] OK # 5.88 [+0.00] # 5.97 [+0.10] raw vnet hdr # 6.90 [+0.92] net.ipv4.conf.lo.accept_local = 1 # 6.91 [+0.01] tx: 152 # 6.93 [+0.02] rx: 142 # 6.93 [+0.00] rx: 100 # 6.94 [+0.02] OK # 6.94 [+0.00] # 7.03 [+0.09] raw csum_off # 7.90 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 7.91 [+0.01] tx: 152 # 7.92 [+0.01] rx: 142 # 7.92 [+0.00] rx: 100 # 7.93 [+0.01] OK # 7.93 [+0.00] # 8.02 [+0.09] raw csum_off with bad offset (expected to fail) # 8.86 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 8.87 [+0.01] ./psock_snd: write: Invalid argument # 9.00 [+0.13] raw min size # 9.87 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 9.87 [+0.01] tx: 42 # 9.89 [+0.02] rx: 0 # 9.90 [+0.01] OK # 9.90 [+0.00] # 10.00 [+0.10] raw mtu size # 10.84 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 10.84 [+0.01] tx: 1514 # 10.85 [+0.01] rx: 1472 # 10.86 [+0.01] OK # 10.86 [+0.00] # 10.96 [+0.09] raw mtu size + 1 (expected to fail) # 11.77 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 11.78 [+0.01] ./psock_snd: write: Message too long # 11.89 [+0.11] raw vlan mtu size + 1 (expected to fail) # 12.70 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 12.71 [+0.01] ./psock_snd: write: Message too long # 12.82 [+0.12] dgram mtu size # 13.64 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 13.64 [+0.01] tx: 1500 # 13.65 [+0.01] rx: 1472 # 13.66 [+0.01] OK # 13.66 [+0.00] # 13.74 [+0.08] dgram mtu size + 1 (expected to fail) # 14.58 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 14.58 [+0.01] ./psock_snd: write: Message too long # 14.71 [+0.13] raw truncate hlen (expected to fail: does not arrive) # 15.54 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 15.55 [+0.01] tx: 14 # 15.67 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 15.79 [+0.12] raw truncate hlen - 1 (expected to fail: EINVAL) # 16.62 [+0.83] net.ipv4.conf.lo.accept_local = 1 # 16.63 [+0.01] ./psock_snd: write: Invalid argument # 16.75 [+0.12] raw gso min size # 17.57 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 17.58 [+0.01] tx: 1525 # 17.60 [+0.02] rx: 1473 # 17.61 [+0.01] OK # 17.61 [+0.00] # 17.70 [+0.08] raw gso max size # 18.52 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 18.52 [+0.01] tx: 65559 # 18.54 [+0.02] rx: 65507 # 18.56 [+0.02] OK # 18.56 [+0.00] # 18.67 [+0.11] raw gso max size + 1 (expected to fail) # 19.51 [+0.84] net.ipv4.conf.lo.accept_local = 1 # 19.52 [+0.01] tx: 65560 # 19.65 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 19.77 [+0.12] 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__->