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.08 [+0.08] dgram # 1.73 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 1.73 [+0.00] tx: 128 # 1.75 [+0.02] rx: 142 # 1.75 [+0.00] rx: 100 # 1.77 [+0.02] OK # 1.77 [+0.00] # 1.94 [+0.17] dgram bind # 3.56 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 3.57 [+0.01] tx: 128 # 3.58 [+0.01] rx: 142 # 3.58 [+0.00] rx: 100 # 3.59 [+0.01] OK # 3.59 [+0.00] # 3.76 [+0.17] raw # 5.38 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 5.39 [+0.00] tx: 142 # 5.41 [+0.02] rx: 142 # 5.41 [+0.00] rx: 100 # 5.42 [+0.02] OK # 5.42 [+0.00] # 5.59 [+0.16] raw bind # 7.24 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 7.25 [+0.01] tx: 142 # 7.26 [+0.01] rx: 142 # 7.26 [+0.00] rx: 100 # 7.27 [+0.01] OK # 7.27 [+0.00] # 7.42 [+0.15] raw qdisc bypass # 9.03 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 9.04 [+0.00] tx: 142 # 9.04 [+0.01] rx: 142 # 9.05 [+0.00] rx: 100 # 9.05 [+0.01] OK # 9.05 [+0.00] # 9.21 [+0.16] raw vlan # 10.82 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 10.82 [+0.01] tx: 146 # 10.85 [+0.02] rx: 100 # 10.86 [+0.02] OK # 10.86 [+0.00] # 11.02 [+0.16] raw vnet hdr # 12.61 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 12.62 [+0.00] tx: 152 # 12.64 [+0.02] rx: 142 # 12.64 [+0.00] rx: 100 # 12.65 [+0.02] OK # 12.65 [+0.00] # 12.82 [+0.17] raw csum_off # 14.42 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 14.42 [+0.00] tx: 152 # 14.44 [+0.02] rx: 142 # 14.44 [+0.00] rx: 100 # 14.45 [+0.02] OK # 14.45 [+0.00] # 14.62 [+0.16] raw csum_off with bad offset (expected to fail) # 16.21 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 16.21 [+0.00] ./psock_snd: write: Invalid argument # 16.40 [+0.19] raw min size # 18.04 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 18.05 [+0.01] tx: 42 # 18.06 [+0.01] rx: 0 # 18.07 [+0.02] OK # 18.07 [+0.00] # 18.24 [+0.17] raw mtu size # 19.85 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 19.85 [+0.00] tx: 1514 # 19.85 [+0.01] rx: 1472 # 19.86 [+0.01] OK # 19.86 [+0.00] # 20.04 [+0.17] raw mtu size + 1 (expected to fail) # 21.69 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 21.70 [+0.00] ./psock_snd: write: Message too long # 21.92 [+0.22] raw vlan mtu size + 1 (expected to fail) # 23.60 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 23.60 [+0.00] ./psock_snd: write: Message too long # 23.80 [+0.20] dgram mtu size # 25.48 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 25.49 [+0.00] tx: 1500 # 25.50 [+0.01] rx: 1472 # 25.52 [+0.02] OK # 25.52 [+0.00] # 25.68 [+0.16] dgram mtu size + 1 (expected to fail) # 27.36 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 27.37 [+0.01] ./psock_snd: write: Message too long # 27.57 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 29.21 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 29.22 [+0.01] tx: 14 # 29.33 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 29.51 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.18 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 31.19 [+0.01] ./psock_snd: write: Invalid argument # 31.39 [+0.20] raw gso min size # 32.97 [+1.59] net.ipv4.conf.lo.accept_local = 1 # 32.98 [+0.00] tx: 1525 # 32.99 [+0.01] rx: 1473 # 33.01 [+0.02] OK # 33.01 [+0.00] # 33.16 [+0.14] raw gso max size # 34.71 [+1.55] net.ipv4.conf.lo.accept_local = 1 # 34.72 [+0.01] tx: 65559 # 34.73 [+0.01] rx: 65507 # 34.74 [+0.02] OK # 34.74 [+0.00] # 34.90 [+0.16] raw gso max size + 1 (expected to fail) # 36.53 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 36.54 [+0.01] tx: 65560 # 36.65 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 36.82 [+0.17] 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__->