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.14 [+0.14] dgram # 1.99 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 1.99 [+0.00] tx: 128 # 2.01 [+0.02] rx: 142 # 2.01 [+0.00] rx: 100 # 2.03 [+0.02] OK # 2.03 [+0.00] # 2.21 [+0.18] dgram bind # 4.02 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 4.03 [+0.01] tx: 128 # 4.04 [+0.01] rx: 142 # 4.04 [+0.00] rx: 100 # 4.06 [+0.01] OK # 4.06 [+0.00] # 4.27 [+0.22] raw # 6.16 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 6.17 [+0.01] tx: 142 # 6.19 [+0.01] rx: 142 # 6.19 [+0.00] rx: 100 # 6.20 [+0.02] OK # 6.20 [+0.00] # 6.38 [+0.18] raw bind # 8.33 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 8.34 [+0.00] tx: 142 # 8.35 [+0.01] rx: 142 # 8.35 [+0.00] rx: 100 # 8.37 [+0.02] OK # 8.37 [+0.00] # 8.54 [+0.17] raw qdisc bypass # 10.48 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 10.49 [+0.01] tx: 142 # 10.50 [+0.01] rx: 142 # 10.50 [+0.00] rx: 100 # 10.51 [+0.01] OK # 10.51 [+0.00] # 10.69 [+0.19] raw vlan # 12.64 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 12.65 [+0.01] tx: 146 # 12.66 [+0.02] rx: 100 # 12.68 [+0.02] OK # 12.68 [+0.00] # 12.90 [+0.22] raw vnet hdr # 14.88 [+1.98] net.ipv4.conf.lo.accept_local = 1 # 14.88 [+0.01] tx: 152 # 14.89 [+0.01] rx: 142 # 14.89 [+0.00] rx: 100 # 14.90 [+0.01] OK # 14.90 [+0.00] # 15.10 [+0.20] raw csum_off # 16.98 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 17.00 [+0.02] tx: 152 # 17.01 [+0.01] rx: 142 # 17.01 [+0.00] rx: 100 # 17.02 [+0.01] OK # 17.02 [+0.00] # 17.22 [+0.19] raw csum_off with bad offset (expected to fail) # 19.06 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 19.06 [+0.00] ./psock_snd: write: Invalid argument # 19.28 [+0.21] raw min size # 21.12 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 21.13 [+0.01] tx: 42 # 21.14 [+0.01] rx: 0 # 21.16 [+0.02] OK # 21.16 [+0.00] # 21.34 [+0.18] raw mtu size # 23.15 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 23.15 [+0.01] tx: 1514 # 23.17 [+0.01] rx: 1472 # 23.18 [+0.02] OK # 23.18 [+0.00] # 23.36 [+0.18] raw mtu size + 1 (expected to fail) # 25.23 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 25.24 [+0.01] ./psock_snd: write: Message too long # 25.48 [+0.23] raw vlan mtu size + 1 (expected to fail) # 27.38 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 27.38 [+0.01] ./psock_snd: write: Message too long # 27.58 [+0.20] dgram mtu size # 29.44 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 29.45 [+0.01] tx: 1500 # 29.45 [+0.01] rx: 1472 # 29.46 [+0.01] OK # 29.46 [+0.00] # 29.66 [+0.20] dgram mtu size + 1 (expected to fail) # 31.47 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 31.48 [+0.01] ./psock_snd: write: Message too long # 31.70 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 33.56 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 33.56 [+0.01] tx: 14 # 33.67 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 33.89 [+0.22] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.73 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 35.74 [+0.01] ./psock_snd: write: Invalid argument # 35.93 [+0.20] raw gso min size # 37.73 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 37.75 [+0.01] tx: 1525 # 37.76 [+0.01] rx: 1473 # 37.77 [+0.01] OK # 37.77 [+0.00] # 37.95 [+0.18] raw gso max size # 39.78 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 39.79 [+0.01] tx: 65559 # 39.80 [+0.01] rx: 65507 # 39.82 [+0.02] OK # 39.82 [+0.00] # 40.00 [+0.18] raw gso max size + 1 (expected to fail) # 41.81 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 41.82 [+0.01] tx: 65560 # 41.94 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 42.14 [+0.20] 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__->