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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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.00 [+0.00] dgram # 1.22 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 1.23 [+0.01] tx: 128 # 1.25 [+0.02] rx: 142 # 1.25 [+0.00] rx: 100 # 1.26 [+0.01] OK # 1.26 [+0.00] # 1.43 [+0.18] dgram bind # 2.69 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 2.70 [+0.01] tx: 128 # 2.71 [+0.02] rx: 142 # 2.71 [+0.00] rx: 100 # 2.73 [+0.02] OK # 2.73 [+0.00] # 2.90 [+0.17] raw # 4.26 [+1.36] net.ipv4.conf.lo.accept_local = 1 # 4.27 [+0.01] tx: 142 # 4.28 [+0.01] rx: 142 # 4.28 [+0.00] rx: 100 # 4.29 [+0.01] OK # 4.29 [+0.00] # 4.46 [+0.17] raw bind # 5.77 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 5.78 [+0.01] tx: 142 # 5.80 [+0.02] rx: 142 # 5.80 [+0.00] rx: 100 # 5.81 [+0.01] OK # 5.82 [+0.00] # 5.94 [+0.12] raw qdisc bypass # 7.17 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 7.18 [+0.01] tx: 142 # 7.19 [+0.01] rx: 142 # 7.19 [+0.00] rx: 100 # 7.19 [+0.01] OK # 7.19 [+0.00] # 7.38 [+0.19] raw vlan # 8.62 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 8.63 [+0.01] tx: 146 # 8.65 [+0.02] rx: 100 # 8.66 [+0.02] OK # 8.66 [+0.00] # 8.83 [+0.16] raw vnet hdr # 10.06 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 10.07 [+0.02] tx: 152 # 10.09 [+0.01] rx: 142 # 10.09 [+0.00] rx: 100 # 10.10 [+0.01] OK # 10.10 [+0.00] # 10.25 [+0.15] raw csum_off # 11.47 [+1.22] net.ipv4.conf.lo.accept_local = 1 # 11.48 [+0.01] tx: 152 # 11.48 [+0.01] rx: 142 # 11.48 [+0.00] rx: 100 # 11.49 [+0.01] OK # 11.49 [+0.00] # 11.64 [+0.15] raw csum_off with bad offset (expected to fail) # 13.06 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 13.07 [+0.01] ./psock_snd: write: Invalid argument # 13.28 [+0.22] raw min size # 14.57 [+1.28] net.ipv4.conf.lo.accept_local = 1 # 14.58 [+0.01] tx: 42 # 14.60 [+0.02] rx: 0 # 14.61 [+0.01] OK # 14.61 [+0.00] # 14.76 [+0.15] raw mtu size # 16.08 [+1.31] net.ipv4.conf.lo.accept_local = 1 # 16.09 [+0.01] tx: 1514 # 16.10 [+0.02] rx: 1472 # 16.11 [+0.01] OK # 16.12 [+0.00] # 16.25 [+0.13] raw mtu size + 1 (expected to fail) # 17.54 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 17.55 [+0.01] ./psock_snd: write: Message too long # 17.77 [+0.22] raw vlan mtu size + 1 (expected to fail) # 19.01 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 19.02 [+0.01] ./psock_snd: write: Message too long # 19.18 [+0.17] dgram mtu size # 20.47 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 20.48 [+0.01] tx: 1500 # 20.49 [+0.01] rx: 1472 # 20.50 [+0.02] OK # 20.50 [+0.00] # 20.65 [+0.15] dgram mtu size + 1 (expected to fail) # 21.95 [+1.30] net.ipv4.conf.lo.accept_local = 1 # 21.96 [+0.01] ./psock_snd: write: Message too long # 22.15 [+0.19] raw truncate hlen (expected to fail: does not arrive) # 23.44 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 23.45 [+0.01] tx: 14 # 23.57 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 23.76 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 25.17 [+1.41] net.ipv4.conf.lo.accept_local = 1 # 25.17 [+0.01] ./psock_snd: write: Invalid argument # 25.36 [+0.18] raw gso min size # 26.59 [+1.24] net.ipv4.conf.lo.accept_local = 1 # 26.61 [+0.02] tx: 1525 # 26.62 [+0.01] rx: 1473 # 26.63 [+0.01] OK # 26.63 [+0.00] # 26.77 [+0.14] raw gso max size # 28.11 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 28.12 [+0.01] tx: 65559 # 28.13 [+0.01] rx: 65507 # 28.15 [+0.02] OK # 28.15 [+0.00] # 28.32 [+0.17] raw gso max size + 1 (expected to fail) # 29.65 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 29.67 [+0.02] tx: 65560 # 29.81 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 29.97 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->