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.05 [+0.05] dgram # 1.97 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 1.98 [+0.01] tx: 128 # 1.99 [+0.01] rx: 142 # 1.99 [+0.00] rx: 100 # 2.00 [+0.01] OK # 2.00 [+0.00] # 2.19 [+0.19] dgram bind # 4.13 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 4.13 [+0.00] tx: 128 # 4.14 [+0.01] rx: 142 # 4.14 [+0.00] rx: 100 # 4.15 [+0.01] OK # 4.15 [+0.00] # 4.34 [+0.19] raw # 6.27 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 6.27 [+0.01] tx: 142 # 6.28 [+0.01] rx: 142 # 6.28 [+0.00] rx: 100 # 6.29 [+0.01] OK # 6.29 [+0.00] # 6.48 [+0.19] raw bind # 8.47 [+1.98] net.ipv4.conf.lo.accept_local = 1 # 8.47 [+0.00] tx: 142 # 8.48 [+0.01] rx: 142 # 8.48 [+0.00] rx: 100 # 8.50 [+0.02] OK # 8.50 [+0.00] # 8.67 [+0.18] raw qdisc bypass # 10.68 [+2.01] net.ipv4.conf.lo.accept_local = 1 # 10.68 [+0.00] tx: 142 # 10.70 [+0.01] rx: 142 # 10.70 [+0.00] rx: 100 # 10.71 [+0.02] OK # 10.71 [+0.00] # 10.90 [+0.19] raw vlan # 12.84 [+1.94] net.ipv4.conf.lo.accept_local = 1 # 12.85 [+0.00] tx: 146 # 12.87 [+0.02] rx: 100 # 12.88 [+0.02] OK # 12.88 [+0.00] # 13.08 [+0.20] raw vnet hdr # 15.00 [+1.92] net.ipv4.conf.lo.accept_local = 1 # 15.00 [+0.00] tx: 152 # 15.01 [+0.01] rx: 142 # 15.01 [+0.00] rx: 100 # 15.02 [+0.01] OK # 15.02 [+0.00] # 15.21 [+0.18] raw csum_off # 17.11 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 17.12 [+0.01] tx: 152 # 17.13 [+0.01] rx: 142 # 17.13 [+0.00] rx: 100 # 17.14 [+0.01] OK # 17.14 [+0.00] # 17.35 [+0.21] raw csum_off with bad offset (expected to fail) # 19.29 [+1.95] net.ipv4.conf.lo.accept_local = 1 # 19.29 [+0.00] ./psock_snd: write: Invalid argument # 19.49 [+0.20] raw min size # 21.36 [+1.87] net.ipv4.conf.lo.accept_local = 1 # 21.36 [+0.00] tx: 42 # 21.37 [+0.01] rx: 0 # 21.38 [+0.01] OK # 21.38 [+0.00] # 21.56 [+0.18] raw mtu size # 23.46 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 23.47 [+0.01] tx: 1514 # 23.47 [+0.01] rx: 1472 # 23.48 [+0.01] OK # 23.48 [+0.00] # 23.66 [+0.17] raw mtu size + 1 (expected to fail) # 25.58 [+1.93] net.ipv4.conf.lo.accept_local = 1 # 25.59 [+0.00] ./psock_snd: write: Message too long # 25.81 [+0.22] raw vlan mtu size + 1 (expected to fail) # 27.67 [+1.86] net.ipv4.conf.lo.accept_local = 1 # 27.68 [+0.00] ./psock_snd: write: Message too long # 27.89 [+0.21] dgram mtu size # 29.78 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 29.79 [+0.01] tx: 1500 # 29.80 [+0.01] rx: 1472 # 29.81 [+0.02] OK # 29.81 [+0.00] # 29.99 [+0.17] dgram mtu size + 1 (expected to fail) # 31.88 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 31.89 [+0.00] ./psock_snd: write: Message too long # 32.10 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 33.94 [+1.85] net.ipv4.conf.lo.accept_local = 1 # 33.95 [+0.01] tx: 14 # 34.06 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 34.26 [+0.19] raw truncate hlen - 1 (expected to fail: EINVAL) # 36.15 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 36.15 [+0.01] ./psock_snd: write: Invalid argument # 36.37 [+0.21] raw gso min size # 38.27 [+1.91] net.ipv4.conf.lo.accept_local = 1 # 38.28 [+0.00] tx: 1525 # 38.30 [+0.02] rx: 1473 # 38.31 [+0.02] OK # 38.31 [+0.00] # 38.51 [+0.19] raw gso max size # 40.39 [+1.89] net.ipv4.conf.lo.accept_local = 1 # 40.40 [+0.01] tx: 65559 # 40.42 [+0.02] rx: 65507 # 40.45 [+0.03] OK # 40.45 [+0.00] # 40.64 [+0.19] raw gso max size + 1 (expected to fail) # 42.54 [+1.90] net.ipv4.conf.lo.accept_local = 1 # 42.55 [+0.01] tx: 65560 # 42.67 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 42.89 [+0.22] 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__->