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.87 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 1.87 [+0.01] tx: 128 # 1.88 [+0.01] rx: 142 # 1.88 [+0.00] rx: 100 # 1.89 [+0.01] OK # 1.89 [+0.00] # 2.04 [+0.16] dgram bind # 3.77 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 3.78 [+0.00] tx: 128 # 3.78 [+0.01] rx: 142 # 3.78 [+0.00] rx: 100 # 3.80 [+0.01] OK # 3.80 [+0.00] # 3.97 [+0.18] raw # 5.66 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 5.66 [+0.01] tx: 142 # 5.68 [+0.02] rx: 142 # 5.68 [+0.00] rx: 100 # 5.70 [+0.02] OK # 5.70 [+0.00] # 5.87 [+0.17] raw bind # 7.56 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 7.57 [+0.00] tx: 142 # 7.59 [+0.02] rx: 142 # 7.59 [+0.00] rx: 100 # 7.60 [+0.02] OK # 7.60 [+0.00] # 7.78 [+0.17] raw qdisc bypass # 9.47 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 9.48 [+0.01] tx: 142 # 9.50 [+0.02] rx: 142 # 9.50 [+0.00] rx: 100 # 9.51 [+0.02] OK # 9.51 [+0.00] # 9.69 [+0.17] raw vlan # 11.43 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 11.43 [+0.00] tx: 146 # 11.44 [+0.01] rx: 100 # 11.46 [+0.02] OK # 11.46 [+0.00] # 11.64 [+0.18] raw vnet hdr # 13.36 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 13.37 [+0.01] tx: 152 # 13.37 [+0.01] rx: 142 # 13.37 [+0.00] rx: 100 # 13.39 [+0.02] OK # 13.39 [+0.00] # 13.56 [+0.17] raw csum_off # 15.28 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 15.29 [+0.01] tx: 152 # 15.30 [+0.01] rx: 142 # 15.30 [+0.00] rx: 100 # 15.32 [+0.02] OK # 15.32 [+0.00] # 15.49 [+0.17] raw csum_off with bad offset (expected to fail) # 17.16 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 17.16 [+0.01] ./psock_snd: write: Invalid argument # 17.38 [+0.22] raw min size # 19.07 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 19.08 [+0.01] tx: 42 # 19.09 [+0.01] rx: 0 # 19.10 [+0.01] OK # 19.10 [+0.00] # 19.27 [+0.17] raw mtu size # 20.96 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 20.96 [+0.01] tx: 1514 # 20.98 [+0.02] rx: 1472 # 21.00 [+0.03] OK # 21.00 [+0.00] # 21.17 [+0.16] raw mtu size + 1 (expected to fail) # 22.85 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 22.86 [+0.00] ./psock_snd: write: Message too long # 23.07 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.81 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 24.82 [+0.01] ./psock_snd: write: Message too long # 25.04 [+0.22] dgram mtu size # 26.78 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 26.79 [+0.01] tx: 1500 # 26.80 [+0.01] rx: 1472 # 26.82 [+0.02] OK # 26.82 [+0.00] # 27.00 [+0.18] dgram mtu size + 1 (expected to fail) # 28.93 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 28.94 [+0.00] ./psock_snd: write: Message too long # 29.15 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 30.90 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 30.90 [+0.00] tx: 14 # 31.01 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 31.21 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 32.93 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 32.94 [+0.01] ./psock_snd: write: Invalid argument # 33.14 [+0.20] raw gso min size # 34.86 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 34.87 [+0.01] tx: 1525 # 34.88 [+0.01] rx: 1473 # 34.89 [+0.01] OK # 34.89 [+0.00] # 35.07 [+0.18] raw gso max size # 36.80 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 36.80 [+0.01] tx: 65559 # 36.81 [+0.01] rx: 65507 # 36.83 [+0.02] OK # 36.83 [+0.00] # 36.99 [+0.16] raw gso max size + 1 (expected to fail) # 38.71 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 38.72 [+0.01] tx: 65560 # 38.84 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.01 [+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__->