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.02 [+0.02] dgram # 1.15 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 1.16 [+0.01] tx: 128 # 1.18 [+0.02] rx: 142 # 1.18 [+0.00] rx: 100 # 1.20 [+0.02] OK # 1.20 [+0.00] # 1.33 [+0.14] dgram bind # 2.48 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 2.49 [+0.01] tx: 128 # 2.50 [+0.01] rx: 142 # 2.50 [+0.00] rx: 100 # 2.51 [+0.01] OK # 2.51 [+0.00] # 2.64 [+0.13] raw # 3.77 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 3.78 [+0.01] tx: 142 # 3.80 [+0.02] rx: 142 # 3.80 [+0.00] rx: 100 # 3.81 [+0.02] OK # 3.81 [+0.00] # 3.94 [+0.13] raw bind # 5.09 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 5.10 [+0.01] tx: 142 # 5.10 [+0.01] rx: 142 # 5.11 [+0.00] rx: 100 # 5.11 [+0.01] OK # 5.11 [+0.00] # 5.23 [+0.12] raw qdisc bypass # 6.37 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 6.38 [+0.01] tx: 142 # 6.39 [+0.01] rx: 142 # 6.39 [+0.00] rx: 100 # 6.41 [+0.02] OK # 6.41 [+0.00] # 6.55 [+0.14] raw vlan # 7.70 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 7.71 [+0.01] tx: 146 # 7.73 [+0.02] rx: 100 # 7.74 [+0.02] OK # 7.74 [+0.00] # 7.88 [+0.14] raw vnet hdr # 9.04 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 9.05 [+0.01] tx: 152 # 9.06 [+0.01] rx: 142 # 9.06 [+0.00] rx: 100 # 9.07 [+0.01] OK # 9.07 [+0.00] # 9.22 [+0.15] raw csum_off # 10.36 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 10.36 [+0.01] tx: 152 # 10.38 [+0.02] rx: 142 # 10.38 [+0.00] rx: 100 # 10.40 [+0.01] OK # 10.40 [+0.00] # 10.52 [+0.13] raw csum_off with bad offset (expected to fail) # 11.67 [+1.14] net.ipv4.conf.lo.accept_local = 1 # 11.68 [+0.02] ./psock_snd: write: Invalid argument # 11.84 [+0.15] raw min size # 12.96 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 12.97 [+0.01] tx: 42 # 12.99 [+0.02] rx: 0 # 13.01 [+0.02] OK # 13.01 [+0.00] # 13.14 [+0.13] raw mtu size # 14.29 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 14.30 [+0.02] tx: 1514 # 14.31 [+0.01] rx: 1472 # 14.33 [+0.01] OK # 14.33 [+0.00] # 14.45 [+0.12] raw mtu size + 1 (expected to fail) # 15.64 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 15.65 [+0.01] ./psock_snd: write: Message too long # 15.81 [+0.17] raw vlan mtu size + 1 (expected to fail) # 17.02 [+1.21] net.ipv4.conf.lo.accept_local = 1 # 17.03 [+0.01] ./psock_snd: write: Message too long # 17.20 [+0.17] dgram mtu size # 18.53 [+1.33] net.ipv4.conf.lo.accept_local = 1 # 18.54 [+0.01] tx: 1500 # 18.70 [+0.16] rx: 1472 # 18.77 [+0.07] OK # 18.77 [+0.00] # 18.95 [+0.18] dgram mtu size + 1 (expected to fail) # 20.15 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 20.15 [+0.01] ./psock_snd: write: Message too long # 20.31 [+0.15] raw truncate hlen (expected to fail: does not arrive) # 21.48 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 21.49 [+0.01] tx: 14 # 21.60 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 21.73 [+0.14] raw truncate hlen - 1 (expected to fail: EINVAL) # 22.91 [+1.18] net.ipv4.conf.lo.accept_local = 1 # 22.92 [+0.01] ./psock_snd: write: Invalid argument # 23.09 [+0.17] raw gso min size # 24.24 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 24.26 [+0.02] tx: 1525 # 24.28 [+0.02] rx: 1473 # 24.30 [+0.02] OK # 24.30 [+0.00] # 24.43 [+0.13] raw gso max size # 25.62 [+1.20] net.ipv4.conf.lo.accept_local = 1 # 25.63 [+0.01] tx: 65559 # 25.64 [+0.01] rx: 65507 # 25.66 [+0.02] OK # 25.66 [+0.00] # 25.78 [+0.12] raw gso max size + 1 (expected to fail) # 26.90 [+1.12] net.ipv4.conf.lo.accept_local = 1 # 26.91 [+0.01] tx: 65560 # 27.02 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 27.18 [+0.16] 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__->