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.87 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 1.88 [+0.01] tx: 128 # 1.89 [+0.01] rx: 142 # 1.89 [+0.00] rx: 100 # 1.90 [+0.02] OK # 1.90 [+0.00] # 2.07 [+0.17] dgram bind # 3.83 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 3.83 [+0.01] tx: 128 # 3.84 [+0.01] rx: 142 # 3.84 [+0.00] rx: 100 # 3.85 [+0.01] OK # 3.85 [+0.00] # 4.02 [+0.17] raw # 5.82 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 5.83 [+0.01] tx: 142 # 5.84 [+0.01] rx: 142 # 5.84 [+0.00] rx: 100 # 5.85 [+0.01] OK # 5.85 [+0.00] # 6.03 [+0.18] raw bind # 7.81 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 7.82 [+0.00] tx: 142 # 7.82 [+0.01] rx: 142 # 7.82 [+0.00] rx: 100 # 7.83 [+0.01] OK # 7.83 [+0.00] # 8.02 [+0.19] raw qdisc bypass # 9.85 [+1.83] net.ipv4.conf.lo.accept_local = 1 # 9.86 [+0.00] tx: 142 # 9.87 [+0.01] rx: 142 # 9.87 [+0.00] rx: 100 # 9.88 [+0.02] OK # 9.88 [+0.00] # 10.06 [+0.17] raw vlan # 11.88 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 11.89 [+0.01] tx: 146 # 11.90 [+0.01] rx: 100 # 11.91 [+0.01] OK # 11.91 [+0.00] # 12.08 [+0.17] raw vnet hdr # 13.95 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 13.96 [+0.01] tx: 152 # 13.96 [+0.01] rx: 142 # 13.96 [+0.00] rx: 100 # 13.97 [+0.01] OK # 13.97 [+0.00] # 14.16 [+0.19] raw csum_off # 15.97 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 15.97 [+0.01] tx: 152 # 15.98 [+0.01] rx: 142 # 15.98 [+0.00] rx: 100 # 16.00 [+0.01] OK # 16.00 [+0.00] # 16.18 [+0.18] raw csum_off with bad offset (expected to fail) # 18.05 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 18.05 [+0.01] ./psock_snd: write: Invalid argument # 18.29 [+0.24] raw min size # 20.16 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 20.16 [+0.01] tx: 42 # 20.19 [+0.02] rx: 0 # 20.20 [+0.02] OK # 20.20 [+0.00] # 20.38 [+0.18] raw mtu size # 22.19 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 22.19 [+0.01] tx: 1514 # 22.21 [+0.02] rx: 1472 # 22.23 [+0.02] OK # 22.23 [+0.00] # 22.41 [+0.19] raw mtu size + 1 (expected to fail) # 24.21 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 24.21 [+0.00] ./psock_snd: write: Message too long # 24.44 [+0.23] raw vlan mtu size + 1 (expected to fail) # 26.25 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 26.26 [+0.01] ./psock_snd: write: Message too long # 26.48 [+0.22] dgram mtu size # 28.27 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 28.27 [+0.01] tx: 1500 # 28.29 [+0.02] rx: 1472 # 28.31 [+0.02] OK # 28.31 [+0.00] # 28.49 [+0.18] dgram mtu size + 1 (expected to fail) # 30.29 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 30.30 [+0.00] ./psock_snd: write: Message too long # 30.53 [+0.24] raw truncate hlen (expected to fail: does not arrive) # 32.32 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 32.33 [+0.01] tx: 14 # 32.44 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 32.63 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 34.41 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 34.42 [+0.00] ./psock_snd: write: Invalid argument # 34.62 [+0.21] raw gso min size # 36.41 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 36.42 [+0.01] tx: 1525 # 36.44 [+0.02] rx: 1473 # 36.46 [+0.02] OK # 36.46 [+0.00] # 36.64 [+0.18] raw gso max size # 38.40 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 38.41 [+0.01] tx: 65559 # 38.41 [+0.01] rx: 65507 # 38.42 [+0.01] OK # 38.42 [+0.00] # 38.61 [+0.19] raw gso max size + 1 (expected to fail) # 40.43 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 40.45 [+0.02] tx: 65560 # 40.57 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 40.77 [+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__->