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 # 1.67 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 1.68 [+0.00] tx: 128 # 1.69 [+0.01] rx: 142 # 1.69 [+0.00] rx: 100 # 1.70 [+0.01] OK # 1.70 [+0.00] # 1.86 [+0.16] dgram bind # 3.58 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 3.59 [+0.00] tx: 128 # 3.60 [+0.01] rx: 142 # 3.60 [+0.00] rx: 100 # 3.61 [+0.01] OK # 3.61 [+0.00] # 3.77 [+0.16] raw # 5.45 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 5.46 [+0.00] tx: 142 # 5.48 [+0.02] rx: 142 # 5.48 [+0.00] rx: 100 # 5.50 [+0.02] OK # 5.50 [+0.00] # 5.67 [+0.17] raw bind # 7.46 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 7.47 [+0.00] tx: 142 # 7.49 [+0.02] rx: 142 # 7.49 [+0.00] rx: 100 # 7.50 [+0.01] OK # 7.50 [+0.00] # 7.66 [+0.16] raw qdisc bypass # 9.45 [+1.79] net.ipv4.conf.lo.accept_local = 1 # 9.46 [+0.01] tx: 142 # 9.47 [+0.02] rx: 142 # 9.47 [+0.00] rx: 100 # 9.49 [+0.01] OK # 9.49 [+0.00] # 9.66 [+0.17] raw vlan # 11.33 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 11.33 [+0.00] tx: 146 # 11.35 [+0.02] rx: 100 # 11.37 [+0.02] OK # 11.37 [+0.00] # 11.55 [+0.17] raw vnet hdr # 13.23 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 13.24 [+0.00] tx: 152 # 13.26 [+0.02] rx: 142 # 13.26 [+0.00] rx: 100 # 13.27 [+0.02] OK # 13.27 [+0.00] # 13.43 [+0.16] raw csum_off # 15.11 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 15.11 [+0.01] tx: 152 # 15.13 [+0.02] rx: 142 # 15.13 [+0.00] rx: 100 # 15.15 [+0.02] OK # 15.15 [+0.00] # 15.31 [+0.16] raw csum_off with bad offset (expected to fail) # 16.97 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 16.98 [+0.01] ./psock_snd: write: Invalid argument # 17.17 [+0.19] raw min size # 18.85 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 18.85 [+0.01] tx: 42 # 18.87 [+0.02] rx: 0 # 18.89 [+0.02] OK # 18.89 [+0.00] # 19.06 [+0.17] raw mtu size # 20.71 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 20.73 [+0.01] tx: 1514 # 20.74 [+0.01] rx: 1472 # 20.76 [+0.02] OK # 20.76 [+0.00] # 20.92 [+0.17] raw mtu size + 1 (expected to fail) # 22.60 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 22.61 [+0.01] ./psock_snd: write: Message too long # 22.81 [+0.20] raw vlan mtu size + 1 (expected to fail) # 24.49 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 24.49 [+0.00] ./psock_snd: write: Message too long # 24.68 [+0.19] dgram mtu size # 26.32 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 26.33 [+0.00] tx: 1500 # 26.34 [+0.01] rx: 1472 # 26.35 [+0.01] OK # 26.35 [+0.00] # 26.51 [+0.16] dgram mtu size + 1 (expected to fail) # 28.19 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 28.20 [+0.00] ./psock_snd: write: Message too long # 28.41 [+0.21] raw truncate hlen (expected to fail: does not arrive) # 30.10 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 30.11 [+0.00] tx: 14 # 30.22 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 30.40 [+0.18] raw truncate hlen - 1 (expected to fail: EINVAL) # 32.11 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 32.11 [+0.00] ./psock_snd: write: Invalid argument # 32.33 [+0.22] raw gso min size # 34.02 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 34.02 [+0.00] tx: 1525 # 34.03 [+0.01] rx: 1473 # 34.06 [+0.02] OK # 34.06 [+0.00] # 34.22 [+0.16] raw gso max size # 35.91 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 35.92 [+0.01] tx: 65559 # 35.92 [+0.01] rx: 65507 # 35.94 [+0.02] OK # 35.94 [+0.00] # 36.10 [+0.16] raw gso max size + 1 (expected to fail) # 37.78 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 37.79 [+0.01] tx: 65560 # 37.90 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 38.08 [+0.18] 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__->