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.11 [+0.11] dgram # 1.90 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 1.90 [+0.00] tx: 128 # 1.91 [+0.01] rx: 142 # 1.92 [+0.00] rx: 100 # 1.93 [+0.01] OK # 1.93 [+0.00] # 2.10 [+0.17] dgram bind # 3.84 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 3.84 [+0.00] tx: 128 # 3.85 [+0.01] rx: 142 # 3.85 [+0.00] rx: 100 # 3.85 [+0.01] OK # 3.85 [+0.00] # 4.03 [+0.18] raw # 5.79 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.80 [+0.00] tx: 142 # 5.82 [+0.02] rx: 142 # 5.82 [+0.00] rx: 100 # 5.83 [+0.02] OK # 5.83 [+0.00] # 5.99 [+0.16] raw bind # 7.79 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 7.80 [+0.01] tx: 142 # 7.80 [+0.01] rx: 142 # 7.80 [+0.00] rx: 100 # 7.81 [+0.01] OK # 7.81 [+0.00] # 7.98 [+0.17] raw qdisc bypass # 9.84 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 9.84 [+0.01] tx: 142 # 9.85 [+0.01] rx: 142 # 9.85 [+0.00] rx: 100 # 9.86 [+0.01] OK # 9.86 [+0.00] # 10.03 [+0.17] raw vlan # 11.80 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 11.80 [+0.00] tx: 146 # 11.81 [+0.01] rx: 100 # 11.82 [+0.01] OK # 11.82 [+0.00] # 12.01 [+0.19] raw vnet hdr # 13.81 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 13.81 [+0.00] tx: 152 # 13.82 [+0.01] rx: 142 # 13.82 [+0.00] rx: 100 # 13.83 [+0.01] OK # 13.83 [+0.00] # 14.01 [+0.17] raw csum_off # 15.77 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 15.78 [+0.00] tx: 152 # 15.78 [+0.01] rx: 142 # 15.78 [+0.00] rx: 100 # 15.79 [+0.01] OK # 15.79 [+0.00] # 15.96 [+0.17] raw csum_off with bad offset (expected to fail) # 17.76 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 17.77 [+0.00] ./psock_snd: write: Invalid argument # 17.97 [+0.20] raw min size # 19.73 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 19.74 [+0.01] tx: 42 # 19.75 [+0.01] rx: 0 # 19.77 [+0.02] OK # 19.77 [+0.00] # 19.94 [+0.17] raw mtu size # 21.74 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 21.74 [+0.00] tx: 1514 # 21.75 [+0.01] rx: 1472 # 21.76 [+0.01] OK # 21.76 [+0.00] # 21.94 [+0.18] raw mtu size + 1 (expected to fail) # 23.74 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 23.75 [+0.01] ./psock_snd: write: Message too long # 23.96 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.78 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 25.78 [+0.01] ./psock_snd: write: Message too long # 25.99 [+0.21] dgram mtu size # 27.78 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 27.79 [+0.01] tx: 1500 # 27.79 [+0.01] rx: 1472 # 27.80 [+0.01] OK # 27.80 [+0.00] # 27.97 [+0.16] dgram mtu size + 1 (expected to fail) # 29.76 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 29.77 [+0.00] ./psock_snd: write: Message too long # 29.98 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 31.79 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 31.79 [+0.00] tx: 14 # 31.91 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.10 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.92 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 33.93 [+0.01] ./psock_snd: write: Invalid argument # 34.13 [+0.20] raw gso min size # 35.95 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 35.96 [+0.01] tx: 1525 # 35.97 [+0.01] rx: 1473 # 35.98 [+0.01] OK # 35.98 [+0.00] # 36.19 [+0.21] raw gso max size # 37.97 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 37.98 [+0.01] tx: 65559 # 37.99 [+0.01] rx: 65507 # 38.01 [+0.02] OK # 38.01 [+0.00] # 38.17 [+0.16] raw gso max size + 1 (expected to fail) # 39.99 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 40.00 [+0.01] tx: 65560 # 40.11 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 40.30 [+0.19] 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__->