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.03 [+0.03] dgram # 1.69 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 1.69 [+0.01] tx: 128 # 1.71 [+0.02] rx: 142 # 1.71 [+0.00] rx: 100 # 1.73 [+0.02] OK # 1.73 [+0.00] # 1.89 [+0.16] dgram bind # 3.55 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 3.56 [+0.01] tx: 128 # 3.56 [+0.01] rx: 142 # 3.57 [+0.00] rx: 100 # 3.58 [+0.02] OK # 3.58 [+0.00] # 3.74 [+0.15] raw # 5.38 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 5.38 [+0.00] tx: 142 # 5.40 [+0.02] rx: 142 # 5.40 [+0.00] rx: 100 # 5.41 [+0.02] OK # 5.41 [+0.00] # 5.58 [+0.17] raw bind # 7.25 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 7.25 [+0.00] tx: 142 # 7.27 [+0.02] rx: 142 # 7.27 [+0.00] rx: 100 # 7.29 [+0.02] OK # 7.29 [+0.00] # 7.46 [+0.17] raw qdisc bypass # 9.11 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 9.12 [+0.01] tx: 142 # 9.14 [+0.02] rx: 142 # 9.14 [+0.00] rx: 100 # 9.16 [+0.02] OK # 9.16 [+0.00] # 9.33 [+0.17] raw vlan # 11.01 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 11.02 [+0.00] tx: 146 # 11.02 [+0.01] rx: 100 # 11.03 [+0.01] OK # 11.03 [+0.00] # 11.19 [+0.16] raw vnet hdr # 12.83 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 12.84 [+0.01] tx: 152 # 12.85 [+0.01] rx: 142 # 12.85 [+0.00] rx: 100 # 12.87 [+0.02] OK # 12.87 [+0.00] # 13.04 [+0.17] raw csum_off # 14.67 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 14.67 [+0.00] tx: 152 # 14.68 [+0.01] rx: 142 # 14.68 [+0.00] rx: 100 # 14.70 [+0.02] OK # 14.70 [+0.00] # 14.86 [+0.17] raw csum_off with bad offset (expected to fail) # 16.48 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 16.48 [+0.00] ./psock_snd: write: Invalid argument # 16.68 [+0.20] raw min size # 18.31 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 18.31 [+0.00] tx: 42 # 18.33 [+0.02] rx: 0 # 18.34 [+0.02] OK # 18.35 [+0.00] # 18.51 [+0.16] raw mtu size # 20.16 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 20.17 [+0.01] tx: 1514 # 20.18 [+0.01] rx: 1472 # 20.20 [+0.02] OK # 20.20 [+0.00] # 20.36 [+0.16] raw mtu size + 1 (expected to fail) # 21.99 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 21.99 [+0.00] ./psock_snd: write: Message too long # 22.18 [+0.19] raw vlan mtu size + 1 (expected to fail) # 23.82 [+1.64] net.ipv4.conf.lo.accept_local = 1 # 23.83 [+0.01] ./psock_snd: write: Message too long # 24.02 [+0.19] dgram mtu size # 25.64 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 25.65 [+0.01] tx: 1500 # 25.67 [+0.02] rx: 1472 # 25.68 [+0.02] OK # 25.68 [+0.00] # 25.86 [+0.17] dgram mtu size + 1 (expected to fail) # 27.48 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 27.49 [+0.01] ./psock_snd: write: Message too long # 27.68 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 29.31 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 29.33 [+0.01] tx: 14 # 29.44 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 29.62 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.24 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 31.25 [+0.00] ./psock_snd: write: Invalid argument # 31.44 [+0.19] raw gso min size # 33.03 [+1.60] net.ipv4.conf.lo.accept_local = 1 # 33.04 [+0.00] tx: 1525 # 33.06 [+0.02] rx: 1473 # 33.08 [+0.02] OK # 33.08 [+0.00] # 33.24 [+0.16] raw gso max size # 34.87 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 34.88 [+0.01] tx: 65559 # 34.88 [+0.01] rx: 65507 # 34.90 [+0.01] OK # 34.90 [+0.00] # 35.06 [+0.16] raw gso max size + 1 (expected to fail) # 36.69 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 36.70 [+0.01] tx: 65560 # 36.80 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 36.99 [+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__->