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.00 [+0.00] dgram # 0.74 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 0.75 [+0.00] tx: 128 # 0.75 [+0.01] rx: 142 # 0.76 [+0.00] rx: 100 # 0.77 [+0.01] OK # 0.77 [+0.00] # 0.86 [+0.10] dgram bind # 1.66 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 1.67 [+0.00] tx: 128 # 1.68 [+0.01] rx: 142 # 1.68 [+0.00] rx: 100 # 1.70 [+0.02] OK # 1.70 [+0.00] # 1.80 [+0.09] raw # 2.61 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 2.61 [+0.00] tx: 142 # 2.62 [+0.01] rx: 142 # 2.62 [+0.00] rx: 100 # 2.63 [+0.02] OK # 2.63 [+0.00] # 2.73 [+0.09] raw bind # 3.60 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 3.60 [+0.00] tx: 142 # 3.61 [+0.01] rx: 142 # 3.61 [+0.00] rx: 100 # 3.62 [+0.01] OK # 3.62 [+0.00] # 3.72 [+0.10] raw qdisc bypass # 4.56 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 4.57 [+0.00] tx: 142 # 4.58 [+0.01] rx: 142 # 4.58 [+0.00] rx: 100 # 4.59 [+0.01] OK # 4.59 [+0.00] # 4.68 [+0.09] raw vlan # 5.53 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 5.53 [+0.01] tx: 146 # 5.55 [+0.02] rx: 100 # 5.57 [+0.02] OK # 5.57 [+0.00] # 5.65 [+0.08] raw vnet hdr # 6.51 [+0.85] net.ipv4.conf.lo.accept_local = 1 # 6.51 [+0.00] tx: 152 # 6.52 [+0.01] rx: 142 # 6.52 [+0.00] rx: 100 # 6.52 [+0.01] OK # 6.52 [+0.00] # 6.62 [+0.09] raw csum_off # 7.48 [+0.87] net.ipv4.conf.lo.accept_local = 1 # 7.49 [+0.00] tx: 152 # 7.51 [+0.02] rx: 142 # 7.51 [+0.00] rx: 100 # 7.52 [+0.01] OK # 7.52 [+0.00] # 7.63 [+0.10] raw csum_off with bad offset (expected to fail) # 8.48 [+0.86] net.ipv4.conf.lo.accept_local = 1 # 8.50 [+0.01] ./psock_snd: write: Invalid argument # 8.61 [+0.11] raw min size # 9.42 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 9.42 [+0.01] tx: 42 # 9.43 [+0.01] rx: 0 # 9.44 [+0.01] OK # 9.44 [+0.00] # 9.53 [+0.09] raw mtu size # 10.33 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 10.34 [+0.01] tx: 1514 # 10.35 [+0.01] rx: 1472 # 10.37 [+0.02] OK # 10.37 [+0.00] # 10.45 [+0.09] raw mtu size + 1 (expected to fail) # 11.26 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 11.27 [+0.01] ./psock_snd: write: Message too long # 11.39 [+0.12] raw vlan mtu size + 1 (expected to fail) # 12.20 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 12.20 [+0.01] ./psock_snd: write: Message too long # 12.31 [+0.11] dgram mtu size # 13.13 [+0.82] net.ipv4.conf.lo.accept_local = 1 # 13.14 [+0.01] tx: 1500 # 13.15 [+0.02] rx: 1472 # 13.17 [+0.02] OK # 13.17 [+0.00] # 13.26 [+0.08] dgram mtu size + 1 (expected to fail) # 14.05 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 14.06 [+0.00] ./psock_snd: write: Message too long # 14.20 [+0.14] raw truncate hlen (expected to fail: does not arrive) # 15.00 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 15.01 [+0.01] tx: 14 # 15.12 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 15.23 [+0.11] raw truncate hlen - 1 (expected to fail: EINVAL) # 16.03 [+0.80] net.ipv4.conf.lo.accept_local = 1 # 16.04 [+0.00] ./psock_snd: write: Invalid argument # 16.17 [+0.14] raw gso min size # 16.95 [+0.78] net.ipv4.conf.lo.accept_local = 1 # 16.95 [+0.00] tx: 1525 # 16.97 [+0.02] rx: 1473 # 17.00 [+0.02] OK # 17.00 [+0.00] # 17.08 [+0.08] raw gso max size # 17.87 [+0.79] net.ipv4.conf.lo.accept_local = 1 # 17.88 [+0.01] tx: 65559 # 17.89 [+0.01] rx: 65507 # 17.90 [+0.01] OK # 17.90 [+0.00] # 17.99 [+0.09] raw gso max size + 1 (expected to fail) # 18.80 [+0.81] net.ipv4.conf.lo.accept_local = 1 # 18.81 [+0.01] tx: 65560 # 18.94 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 19.05 [+0.11] 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__->