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.16 [+0.16] dgram # 1.85 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 1.86 [+0.01] tx: 128 # 1.88 [+0.02] rx: 142 # 1.88 [+0.00] rx: 100 # 1.90 [+0.02] OK # 1.90 [+0.00] # 2.08 [+0.18] dgram bind # 3.82 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 3.83 [+0.00] tx: 128 # 3.84 [+0.01] rx: 142 # 3.84 [+0.00] rx: 100 # 3.84 [+0.01] OK # 3.84 [+0.00] # 4.01 [+0.17] raw # 5.73 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 5.73 [+0.00] tx: 142 # 5.74 [+0.01] rx: 142 # 5.74 [+0.00] rx: 100 # 5.75 [+0.01] OK # 5.75 [+0.00] # 5.93 [+0.17] raw bind # 7.66 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 7.66 [+0.00] tx: 142 # 7.67 [+0.01] rx: 142 # 7.67 [+0.00] rx: 100 # 7.68 [+0.01] OK # 7.68 [+0.00] # 7.86 [+0.18] raw qdisc bypass # 9.57 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 9.57 [+0.01] tx: 142 # 9.58 [+0.01] rx: 142 # 9.58 [+0.00] rx: 100 # 9.59 [+0.01] OK # 9.59 [+0.00] # 9.77 [+0.18] raw vlan # 11.48 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 11.48 [+0.00] tx: 146 # 11.49 [+0.01] rx: 100 # 11.50 [+0.01] OK # 11.50 [+0.00] # 11.68 [+0.18] raw vnet hdr # 13.40 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 13.41 [+0.01] tx: 152 # 13.43 [+0.02] rx: 142 # 13.43 [+0.00] rx: 100 # 13.44 [+0.02] OK # 13.44 [+0.00] # 13.62 [+0.18] raw csum_off # 15.33 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 15.34 [+0.01] tx: 152 # 15.35 [+0.01] rx: 142 # 15.35 [+0.00] rx: 100 # 15.37 [+0.02] OK # 15.37 [+0.00] # 15.53 [+0.17] raw csum_off with bad offset (expected to fail) # 17.24 [+1.70] net.ipv4.conf.lo.accept_local = 1 # 17.24 [+0.01] ./psock_snd: write: Invalid argument # 17.45 [+0.21] raw min size # 19.17 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 19.18 [+0.00] tx: 42 # 19.18 [+0.01] rx: 0 # 19.19 [+0.01] OK # 19.19 [+0.00] # 19.34 [+0.15] raw mtu size # 21.03 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 21.04 [+0.01] tx: 1514 # 21.05 [+0.01] rx: 1472 # 21.07 [+0.02] OK # 21.07 [+0.00] # 21.22 [+0.15] raw mtu size + 1 (expected to fail) # 22.91 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 22.92 [+0.01] ./psock_snd: write: Message too long # 23.14 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.80 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 24.80 [+0.00] ./psock_snd: write: Message too long # 24.99 [+0.19] dgram mtu size # 26.64 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 26.64 [+0.01] tx: 1500 # 26.66 [+0.02] rx: 1472 # 26.68 [+0.02] OK # 26.68 [+0.00] # 26.86 [+0.18] dgram mtu size + 1 (expected to fail) # 28.52 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 28.53 [+0.00] ./psock_snd: write: Message too long # 28.72 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 30.43 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 30.44 [+0.01] tx: 14 # 30.55 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 30.74 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 32.42 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 32.43 [+0.00] ./psock_snd: write: Invalid argument # 32.63 [+0.20] raw gso min size # 34.29 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 34.29 [+0.01] tx: 1525 # 34.31 [+0.02] rx: 1473 # 34.33 [+0.02] OK # 34.33 [+0.00] # 34.49 [+0.16] raw gso max size # 36.16 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 36.16 [+0.01] tx: 65559 # 36.18 [+0.01] rx: 65507 # 36.19 [+0.01] OK # 36.19 [+0.00] # 36.37 [+0.18] raw gso max size + 1 (expected to fail) # 38.02 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 38.04 [+0.02] tx: 65560 # 38.15 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 38.34 [+0.19] 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__->