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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 1.19 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 1.20 [+0.01] tx: 128 # 1.21 [+0.01] rx: 142 # 1.21 [+0.00] rx: 100 # 1.23 [+0.01] OK # 1.23 [+0.00] # 1.38 [+0.15] dgram bind # 2.54 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 2.55 [+0.01] tx: 128 # 2.56 [+0.01] rx: 142 # 2.56 [+0.00] rx: 100 # 2.58 [+0.02] OK # 2.58 [+0.00] # 2.70 [+0.12] raw # 3.86 [+1.16] net.ipv4.conf.lo.accept_local = 1 # 3.87 [+0.01] tx: 142 # 3.88 [+0.01] rx: 142 # 3.88 [+0.00] rx: 100 # 3.89 [+0.01] OK # 3.89 [+0.00] # 4.03 [+0.14] raw bind # 5.20 [+1.17] net.ipv4.conf.lo.accept_local = 1 # 5.21 [+0.01] tx: 142 # 5.22 [+0.01] rx: 142 # 5.22 [+0.00] rx: 100 # 5.23 [+0.01] OK # 5.23 [+0.00] # 5.36 [+0.13] raw qdisc bypass # 6.65 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 6.66 [+0.01] tx: 142 # 6.67 [+0.01] rx: 142 # 6.67 [+0.00] rx: 100 # 6.69 [+0.02] OK # 6.69 [+0.00] # 6.88 [+0.18] raw vlan # 8.32 [+1.44] net.ipv4.conf.lo.accept_local = 1 # 8.33 [+0.01] tx: 146 # 8.35 [+0.02] rx: 100 # 8.36 [+0.02] OK # 8.37 [+0.00] # 8.54 [+0.17] raw vnet hdr # 10.00 [+1.46] net.ipv4.conf.lo.accept_local = 1 # 10.01 [+0.01] tx: 152 # 10.01 [+0.01] rx: 142 # 10.01 [+0.00] rx: 100 # 10.02 [+0.01] OK # 10.02 [+0.00] # 10.18 [+0.16] raw csum_off # 11.61 [+1.43] net.ipv4.conf.lo.accept_local = 1 # 11.62 [+0.01] tx: 152 # 11.63 [+0.01] rx: 142 # 11.63 [+0.00] rx: 100 # 11.65 [+0.02] OK # 11.65 [+0.00] # 11.83 [+0.18] raw csum_off with bad offset (expected to fail) # 13.22 [+1.39] net.ipv4.conf.lo.accept_local = 1 # 13.23 [+0.01] ./psock_snd: write: Invalid argument # 13.39 [+0.16] raw min size # 14.63 [+1.23] net.ipv4.conf.lo.accept_local = 1 # 14.64 [+0.01] tx: 42 # 14.65 [+0.01] rx: 0 # 14.67 [+0.02] OK # 14.67 [+0.00] # 14.81 [+0.14] raw mtu size # 16.00 [+1.19] net.ipv4.conf.lo.accept_local = 1 # 16.01 [+0.01] tx: 1514 # 16.02 [+0.01] rx: 1472 # 16.03 [+0.01] OK # 16.03 [+0.00] # 16.14 [+0.11] raw mtu size + 1 (expected to fail) # 17.29 [+1.15] net.ipv4.conf.lo.accept_local = 1 # 17.30 [+0.01] ./psock_snd: write: Message too long # 17.45 [+0.15] raw vlan mtu size + 1 (expected to fail) # 18.70 [+1.25] net.ipv4.conf.lo.accept_local = 1 # 18.71 [+0.01] ./psock_snd: write: Message too long # 18.93 [+0.22] dgram mtu size # 20.52 [+1.58] net.ipv4.conf.lo.accept_local = 1 # 20.52 [+0.01] tx: 1500 # 20.54 [+0.02] rx: 1472 # 20.56 [+0.01] OK # 20.56 [+0.00] # 20.74 [+0.18] dgram mtu size + 1 (expected to fail) # 22.22 [+1.48] net.ipv4.conf.lo.accept_local = 1 # 22.23 [+0.01] ./psock_snd: write: Message too long # 22.43 [+0.20] raw truncate hlen (expected to fail: does not arrive) # 24.04 [+1.61] net.ipv4.conf.lo.accept_local = 1 # 24.05 [+0.01] tx: 14 # 24.16 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 24.37 [+0.21] raw truncate hlen - 1 (expected to fail: EINVAL) # 26.15 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 26.16 [+0.01] ./psock_snd: write: Invalid argument # 26.43 [+0.27] raw gso min size # 27.72 [+1.29] net.ipv4.conf.lo.accept_local = 1 # 27.73 [+0.01] tx: 1525 # 27.74 [+0.01] rx: 1473 # 27.77 [+0.02] OK # 27.77 [+0.00] # 27.90 [+0.13] raw gso max size # 29.04 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 29.05 [+0.01] tx: 65559 # 29.05 [+0.01] rx: 65507 # 29.07 [+0.02] OK # 29.07 [+0.00] # 29.20 [+0.13] raw gso max size + 1 (expected to fail) # 30.33 [+1.13] net.ipv4.conf.lo.accept_local = 1 # 30.34 [+0.01] tx: 65560 # 30.46 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 30.61 [+0.15] 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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->