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.17 [+0.17] dgram # 2.05 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 2.05 [+0.01] tx: 128 # 2.06 [+0.01] rx: 142 # 2.06 [+0.00] rx: 100 # 2.07 [+0.01] OK # 2.07 [+0.00] # 2.26 [+0.19] dgram bind # 4.14 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 4.15 [+0.01] tx: 128 # 4.17 [+0.02] rx: 142 # 4.17 [+0.00] rx: 100 # 4.18 [+0.01] OK # 4.18 [+0.00] # 4.37 [+0.19] raw # 6.28 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 6.29 [+0.01] tx: 142 # 6.29 [+0.01] rx: 142 # 6.29 [+0.00] rx: 100 # 6.31 [+0.01] OK # 6.31 [+0.00] # 6.48 [+0.18] raw bind # 8.40 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 8.41 [+0.00] tx: 142 # 8.42 [+0.02] rx: 142 # 8.42 [+0.00] rx: 100 # 8.45 [+0.02] OK # 8.45 [+0.00] # 8.63 [+0.18] raw qdisc bypass # 10.52 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 10.53 [+0.01] tx: 142 # 10.54 [+0.01] rx: 142 # 10.54 [+0.00] rx: 100 # 10.55 [+0.01] OK # 10.55 [+0.00] # 10.76 [+0.21] raw vlan # 12.64 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 12.65 [+0.01] tx: 146 # 12.67 [+0.02] rx: 100 # 12.69 [+0.02] OK # 12.69 [+0.00] # 12.87 [+0.18] raw vnet hdr # 14.75 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 14.76 [+0.00] tx: 152 # 14.77 [+0.01] rx: 142 # 14.77 [+0.00] rx: 100 # 14.78 [+0.02] OK # 14.78 [+0.00] # 14.96 [+0.18] raw csum_off # 16.87 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 16.87 [+0.01] tx: 152 # 16.90 [+0.02] rx: 142 # 16.90 [+0.00] rx: 100 # 16.91 [+0.02] OK # 16.91 [+0.00] # 17.10 [+0.19] raw csum_off with bad offset (expected to fail) # 19.02 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 19.02 [+0.01] ./psock_snd: write: Invalid argument # 19.25 [+0.23] raw min size # 21.11 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 21.12 [+0.00] tx: 42 # 21.13 [+0.02] rx: 0 # 21.15 [+0.02] OK # 21.15 [+0.00] # 21.33 [+0.17] raw mtu size # 23.22 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 23.22 [+0.00] tx: 1514 # 23.24 [+0.02] rx: 1472 # 23.26 [+0.02] OK # 23.26 [+0.00] # 23.45 [+0.19] raw mtu size + 1 (expected to fail) # 25.35 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 25.35 [+0.00] ./psock_snd: write: Message too long # 25.58 [+0.23] raw vlan mtu size + 1 (expected to fail) # 27.45 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 27.45 [+0.00] ./psock_snd: write: Message too long # 27.67 [+0.22] dgram mtu size # 29.52 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 29.53 [+0.00] tx: 1500 # 29.54 [+0.01] rx: 1472 # 29.54 [+0.01] OK # 29.54 [+0.00] # 29.74 [+0.19] dgram mtu size + 1 (expected to fail) # 31.59 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 31.60 [+0.00] ./psock_snd: write: Message too long # 31.83 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 33.68 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 33.69 [+0.01] tx: 14 # 33.81 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 34.02 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 35.92 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 35.92 [+0.00] ./psock_snd: write: Invalid argument # 36.14 [+0.22] raw gso min size # 38.02 [+1.88] net.ipv4.conf.lo.accept_local = 1 # 38.03 [+0.01] tx: 1525 # 38.04 [+0.01] rx: 1473 # 38.05 [+0.01] OK # 38.05 [+0.00] # 38.24 [+0.19] raw gso max size # 40.13 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 40.14 [+0.01] tx: 65559 # 40.15 [+0.02] rx: 65507 # 40.17 [+0.02] OK # 40.17 [+0.00] # 40.36 [+0.19] raw gso max size + 1 (expected to fail) # 42.25 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 42.26 [+0.01] tx: 65560 # 42.38 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 42.59 [+0.20] 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__->