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.07 [+0.07] dgram # 1.83 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 1.83 [+0.00] tx: 128 # 1.84 [+0.01] rx: 142 # 1.84 [+0.00] rx: 100 # 1.85 [+0.01] OK # 1.85 [+0.00] # 2.02 [+0.17] dgram bind # 3.79 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 3.79 [+0.00] tx: 128 # 3.81 [+0.02] rx: 142 # 3.81 [+0.00] rx: 100 # 3.82 [+0.02] OK # 3.82 [+0.00] # 3.98 [+0.16] raw # 5.73 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 5.73 [+0.00] tx: 142 # 5.75 [+0.02] rx: 142 # 5.75 [+0.00] rx: 100 # 5.76 [+0.02] OK # 5.76 [+0.00] # 5.92 [+0.16] raw bind # 7.66 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 7.67 [+0.01] tx: 142 # 7.67 [+0.01] rx: 142 # 7.68 [+0.00] rx: 100 # 7.69 [+0.01] OK # 7.69 [+0.00] # 7.86 [+0.17] raw qdisc bypass # 9.60 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 9.60 [+0.00] tx: 142 # 9.61 [+0.01] rx: 142 # 9.61 [+0.00] rx: 100 # 9.62 [+0.01] OK # 9.62 [+0.00] # 9.79 [+0.17] raw vlan # 11.53 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 11.53 [+0.00] tx: 146 # 11.55 [+0.02] rx: 100 # 11.57 [+0.02] OK # 11.57 [+0.00] # 11.73 [+0.16] raw vnet hdr # 13.47 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 13.47 [+0.00] tx: 152 # 13.49 [+0.02] rx: 142 # 13.49 [+0.00] rx: 100 # 13.51 [+0.02] OK # 13.51 [+0.00] # 13.68 [+0.17] raw csum_off # 15.39 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 15.39 [+0.00] tx: 152 # 15.40 [+0.01] rx: 142 # 15.40 [+0.00] rx: 100 # 15.41 [+0.01] OK # 15.41 [+0.00] # 15.58 [+0.17] raw csum_off with bad offset (expected to fail) # 17.41 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 17.41 [+0.00] ./psock_snd: write: Invalid argument # 17.63 [+0.22] raw min size # 19.42 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 19.42 [+0.00] tx: 42 # 19.44 [+0.02] rx: 0 # 19.46 [+0.02] OK # 19.46 [+0.00] # 19.61 [+0.16] raw mtu size # 21.37 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 21.37 [+0.01] tx: 1514 # 21.38 [+0.01] rx: 1472 # 21.40 [+0.02] OK # 21.40 [+0.00] # 21.56 [+0.17] raw mtu size + 1 (expected to fail) # 23.31 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 23.32 [+0.01] ./psock_snd: write: Message too long # 23.53 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.26 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 25.27 [+0.01] ./psock_snd: write: Message too long # 25.48 [+0.21] dgram mtu size # 27.26 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 27.27 [+0.00] tx: 1500 # 27.28 [+0.01] rx: 1472 # 27.30 [+0.02] OK # 27.30 [+0.00] # 27.47 [+0.17] dgram mtu size + 1 (expected to fail) # 29.23 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 29.24 [+0.00] ./psock_snd: write: Message too long # 29.46 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 31.24 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 31.24 [+0.00] tx: 14 # 31.37 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 31.56 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.35 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 33.36 [+0.00] ./psock_snd: write: Invalid argument # 33.56 [+0.21] raw gso min size # 35.32 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 35.32 [+0.00] tx: 1525 # 35.33 [+0.01] rx: 1473 # 35.35 [+0.02] OK # 35.35 [+0.00] # 35.51 [+0.16] raw gso max size # 37.29 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 37.30 [+0.01] tx: 65559 # 37.32 [+0.02] rx: 65507 # 37.33 [+0.02] OK # 37.33 [+0.00] # 37.51 [+0.17] raw gso max size + 1 (expected to fail) # 39.31 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 39.32 [+0.01] tx: 65560 # 39.43 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.63 [+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__->