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.13 [+0.13] dgram # 1.86 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 1.86 [+0.00] tx: 128 # 1.88 [+0.02] rx: 142 # 1.88 [+0.00] rx: 100 # 1.90 [+0.02] OK # 1.90 [+0.00] # 2.07 [+0.17] dgram bind # 3.80 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 3.81 [+0.01] tx: 128 # 3.82 [+0.01] rx: 142 # 3.82 [+0.00] rx: 100 # 3.83 [+0.01] OK # 3.83 [+0.00] # 4.01 [+0.18] raw # 5.77 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.77 [+0.00] tx: 142 # 5.78 [+0.01] rx: 142 # 5.78 [+0.00] rx: 100 # 5.79 [+0.01] OK # 5.79 [+0.00] # 5.97 [+0.18] raw bind # 7.72 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 7.72 [+0.01] tx: 142 # 7.73 [+0.01] rx: 142 # 7.73 [+0.00] rx: 100 # 7.74 [+0.01] OK # 7.74 [+0.00] # 7.90 [+0.16] raw qdisc bypass # 9.67 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 9.68 [+0.01] tx: 142 # 9.69 [+0.01] rx: 142 # 9.69 [+0.00] rx: 100 # 9.70 [+0.02] OK # 9.70 [+0.00] # 9.88 [+0.17] raw vlan # 11.67 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 11.67 [+0.01] tx: 146 # 11.68 [+0.01] rx: 100 # 11.70 [+0.02] OK # 11.70 [+0.00] # 11.86 [+0.17] raw vnet hdr # 13.64 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 13.64 [+0.00] tx: 152 # 13.65 [+0.01] rx: 142 # 13.65 [+0.00] rx: 100 # 13.66 [+0.01] OK # 13.66 [+0.00] # 13.83 [+0.17] raw csum_off # 15.60 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 15.61 [+0.01] tx: 152 # 15.62 [+0.01] rx: 142 # 15.62 [+0.00] rx: 100 # 15.64 [+0.02] OK # 15.64 [+0.00] # 15.82 [+0.18] raw csum_off with bad offset (expected to fail) # 17.59 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 17.60 [+0.00] ./psock_snd: write: Invalid argument # 17.80 [+0.21] raw min size # 19.55 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 19.56 [+0.00] tx: 42 # 19.57 [+0.01] rx: 0 # 19.58 [+0.01] OK # 19.58 [+0.00] # 19.76 [+0.18] raw mtu size # 21.51 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 21.52 [+0.01] tx: 1514 # 21.53 [+0.01] rx: 1472 # 21.55 [+0.02] OK # 21.55 [+0.00] # 21.73 [+0.19] raw mtu size + 1 (expected to fail) # 23.44 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 23.45 [+0.01] ./psock_snd: write: Message too long # 23.65 [+0.20] raw vlan mtu size + 1 (expected to fail) # 25.34 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 25.35 [+0.01] ./psock_snd: write: Message too long # 25.56 [+0.21] dgram mtu size # 27.29 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 27.30 [+0.00] tx: 1500 # 27.32 [+0.02] rx: 1472 # 27.33 [+0.02] OK # 27.33 [+0.00] # 27.49 [+0.16] dgram mtu size + 1 (expected to fail) # 29.20 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 29.20 [+0.00] ./psock_snd: write: Message too long # 29.40 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 31.12 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 31.12 [+0.01] tx: 14 # 31.24 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 31.44 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.17 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 33.18 [+0.01] ./psock_snd: write: Invalid argument # 33.38 [+0.20] raw gso min size # 35.09 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 35.09 [+0.00] tx: 1525 # 35.10 [+0.01] rx: 1473 # 35.11 [+0.01] OK # 35.11 [+0.00] # 35.28 [+0.17] raw gso max size # 37.01 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 37.01 [+0.01] tx: 65559 # 37.03 [+0.02] rx: 65507 # 37.04 [+0.01] OK # 37.04 [+0.00] # 37.21 [+0.17] raw gso max size + 1 (expected to fail) # 38.93 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 38.94 [+0.01] tx: 65560 # 39.05 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.23 [+0.18] 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__->