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.11 [+0.11] dgram # 1.78 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 1.79 [+0.01] tx: 128 # 1.80 [+0.01] rx: 142 # 1.80 [+0.00] rx: 100 # 1.80 [+0.01] OK # 1.80 [+0.00] # 1.96 [+0.16] dgram bind # 3.70 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 3.70 [+0.00] tx: 128 # 3.71 [+0.01] rx: 142 # 3.71 [+0.00] rx: 100 # 3.73 [+0.02] OK # 3.73 [+0.00] # 3.88 [+0.15] raw # 5.57 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 5.58 [+0.01] tx: 142 # 5.59 [+0.01] rx: 142 # 5.59 [+0.00] rx: 100 # 5.60 [+0.01] OK # 5.60 [+0.00] # 5.77 [+0.16] raw bind # 7.52 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 7.52 [+0.00] tx: 142 # 7.53 [+0.01] rx: 142 # 7.53 [+0.00] rx: 100 # 7.54 [+0.01] OK # 7.54 [+0.00] # 7.69 [+0.15] raw qdisc bypass # 9.40 [+1.71] net.ipv4.conf.lo.accept_local = 1 # 9.40 [+0.01] tx: 142 # 9.42 [+0.02] rx: 142 # 9.42 [+0.00] rx: 100 # 9.44 [+0.01] OK # 9.44 [+0.00] # 9.60 [+0.16] raw vlan # 11.28 [+1.69] net.ipv4.conf.lo.accept_local = 1 # 11.29 [+0.00] tx: 146 # 11.31 [+0.02] rx: 100 # 11.33 [+0.02] OK # 11.33 [+0.00] # 11.50 [+0.17] raw vnet hdr # 13.15 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 13.16 [+0.01] tx: 152 # 13.17 [+0.01] rx: 142 # 13.17 [+0.00] rx: 100 # 13.19 [+0.02] OK # 13.19 [+0.00] # 13.37 [+0.17] raw csum_off # 15.00 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 15.00 [+0.01] tx: 152 # 15.01 [+0.01] rx: 142 # 15.01 [+0.00] rx: 100 # 15.03 [+0.02] OK # 15.03 [+0.00] # 15.19 [+0.16] raw csum_off with bad offset (expected to fail) # 16.82 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 16.83 [+0.00] ./psock_snd: write: Invalid argument # 17.01 [+0.18] raw min size # 18.68 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 18.69 [+0.01] tx: 42 # 18.70 [+0.01] rx: 0 # 18.71 [+0.01] OK # 18.71 [+0.00] # 18.88 [+0.16] raw mtu size # 20.51 [+1.63] net.ipv4.conf.lo.accept_local = 1 # 20.51 [+0.01] tx: 1514 # 20.54 [+0.02] rx: 1472 # 20.55 [+0.02] OK # 20.55 [+0.00] # 20.71 [+0.16] raw mtu size + 1 (expected to fail) # 22.39 [+1.68] net.ipv4.conf.lo.accept_local = 1 # 22.40 [+0.01] ./psock_snd: write: Message too long # 22.62 [+0.22] raw vlan mtu size + 1 (expected to fail) # 24.28 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 24.29 [+0.01] ./psock_snd: write: Message too long # 24.47 [+0.18] dgram mtu size # 26.14 [+1.67] net.ipv4.conf.lo.accept_local = 1 # 26.16 [+0.02] tx: 1500 # 26.17 [+0.01] rx: 1472 # 26.19 [+0.02] OK # 26.19 [+0.00] # 26.37 [+0.18] dgram mtu size + 1 (expected to fail) # 27.99 [+1.62] net.ipv4.conf.lo.accept_local = 1 # 27.99 [+0.00] ./psock_snd: write: Message too long # 28.23 [+0.23] raw truncate hlen (expected to fail: does not arrive) # 29.88 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 29.88 [+0.00] tx: 14 # 30.00 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 30.17 [+0.17] raw truncate hlen - 1 (expected to fail: EINVAL) # 31.83 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 31.83 [+0.01] ./psock_snd: write: Invalid argument # 32.01 [+0.18] raw gso min size # 33.67 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 33.68 [+0.01] tx: 1525 # 33.68 [+0.01] rx: 1473 # 33.70 [+0.02] OK # 33.70 [+0.00] # 33.88 [+0.17] raw gso max size # 35.53 [+1.65] net.ipv4.conf.lo.accept_local = 1 # 35.54 [+0.02] tx: 65559 # 35.56 [+0.01] rx: 65507 # 35.57 [+0.02] OK # 35.57 [+0.00] # 35.75 [+0.17] raw gso max size + 1 (expected to fail) # 37.41 [+1.66] net.ipv4.conf.lo.accept_local = 1 # 37.42 [+0.01] tx: 65560 # 37.53 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 37.70 [+0.17] 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__->