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.15 [+0.15] dgram # 1.94 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 1.94 [+0.00] tx: 128 # 1.95 [+0.01] rx: 142 # 1.95 [+0.00] rx: 100 # 1.97 [+0.02] OK # 1.97 [+0.00] # 2.15 [+0.18] dgram bind # 3.91 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 3.91 [+0.00] tx: 128 # 3.92 [+0.01] rx: 142 # 3.92 [+0.00] rx: 100 # 3.94 [+0.02] OK # 3.94 [+0.00] # 4.11 [+0.18] raw # 5.95 [+1.84] net.ipv4.conf.lo.accept_local = 1 # 5.95 [+0.01] tx: 142 # 5.97 [+0.02] rx: 142 # 5.97 [+0.00] rx: 100 # 5.99 [+0.02] OK # 5.99 [+0.00] # 6.17 [+0.18] raw bind # 7.98 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 7.99 [+0.01] tx: 142 # 8.00 [+0.01] rx: 142 # 8.00 [+0.00] rx: 100 # 8.01 [+0.01] OK # 8.01 [+0.00] # 8.18 [+0.17] raw qdisc bypass # 10.01 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 10.01 [+0.00] tx: 142 # 10.02 [+0.01] rx: 142 # 10.02 [+0.00] rx: 100 # 10.03 [+0.01] OK # 10.03 [+0.00] # 10.21 [+0.18] raw vlan # 12.02 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 12.04 [+0.01] tx: 146 # 12.06 [+0.02] rx: 100 # 12.07 [+0.02] OK # 12.07 [+0.00] # 12.26 [+0.18] raw vnet hdr # 14.04 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 14.05 [+0.01] tx: 152 # 14.06 [+0.01] rx: 142 # 14.06 [+0.00] rx: 100 # 14.07 [+0.01] OK # 14.07 [+0.00] # 14.25 [+0.18] raw csum_off # 15.98 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 15.99 [+0.01] tx: 152 # 16.01 [+0.02] rx: 142 # 16.01 [+0.00] rx: 100 # 16.02 [+0.02] OK # 16.02 [+0.00] # 16.19 [+0.17] raw csum_off with bad offset (expected to fail) # 17.94 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 17.95 [+0.01] ./psock_snd: write: Invalid argument # 18.16 [+0.21] raw min size # 19.90 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 19.90 [+0.00] tx: 42 # 19.91 [+0.01] rx: 0 # 19.92 [+0.01] OK # 19.92 [+0.00] # 20.09 [+0.17] raw mtu size # 21.88 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 21.88 [+0.01] tx: 1514 # 21.89 [+0.01] rx: 1472 # 21.90 [+0.01] OK # 21.90 [+0.00] # 22.09 [+0.18] raw mtu size + 1 (expected to fail) # 23.88 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 23.89 [+0.01] ./psock_snd: write: Message too long # 24.10 [+0.21] raw vlan mtu size + 1 (expected to fail) # 25.95 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 25.96 [+0.01] ./psock_snd: write: Message too long # 26.17 [+0.21] dgram mtu size # 27.95 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 27.96 [+0.01] tx: 1500 # 27.96 [+0.01] rx: 1472 # 27.97 [+0.01] OK # 27.97 [+0.00] # 28.14 [+0.17] dgram mtu size + 1 (expected to fail) # 30.00 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 30.01 [+0.00] ./psock_snd: write: Message too long # 30.21 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 32.04 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 32.05 [+0.00] tx: 14 # 32.16 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.37 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.20 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 34.20 [+0.00] ./psock_snd: write: Invalid argument # 34.40 [+0.20] raw gso min size # 36.21 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 36.22 [+0.00] tx: 1525 # 36.23 [+0.01] rx: 1473 # 36.25 [+0.02] OK # 36.25 [+0.00] # 36.43 [+0.18] raw gso max size # 38.18 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 38.18 [+0.01] tx: 65559 # 38.20 [+0.02] rx: 65507 # 38.22 [+0.02] OK # 38.22 [+0.00] # 38.40 [+0.19] raw gso max size + 1 (expected to fail) # 40.21 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 40.22 [+0.01] tx: 65560 # 40.33 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 40.52 [+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__->