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.13 [+0.13] dgram # 1.87 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 1.88 [+0.01] tx: 128 # 1.88 [+0.01] rx: 142 # 1.88 [+0.00] rx: 100 # 1.90 [+0.01] OK # 1.90 [+0.00] # 2.07 [+0.17] dgram bind # 3.81 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 3.81 [+0.00] tx: 128 # 3.83 [+0.02] rx: 142 # 3.83 [+0.00] rx: 100 # 3.85 [+0.02] OK # 3.85 [+0.00] # 4.02 [+0.17] raw # 5.78 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 5.79 [+0.00] tx: 142 # 5.79 [+0.01] rx: 142 # 5.79 [+0.00] rx: 100 # 5.80 [+0.01] OK # 5.80 [+0.00] # 5.98 [+0.17] raw bind # 7.71 [+1.73] net.ipv4.conf.lo.accept_local = 1 # 7.71 [+0.00] tx: 142 # 7.74 [+0.02] rx: 142 # 7.74 [+0.00] rx: 100 # 7.75 [+0.02] OK # 7.75 [+0.00] # 7.92 [+0.17] raw qdisc bypass # 9.68 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 9.68 [+0.00] tx: 142 # 9.69 [+0.01] rx: 142 # 9.69 [+0.00] rx: 100 # 9.70 [+0.01] OK # 9.70 [+0.00] # 9.87 [+0.17] raw vlan # 11.62 [+1.75] net.ipv4.conf.lo.accept_local = 1 # 11.62 [+0.00] tx: 146 # 11.63 [+0.01] rx: 100 # 11.64 [+0.01] OK # 11.64 [+0.00] # 11.80 [+0.16] raw vnet hdr # 13.54 [+1.74] net.ipv4.conf.lo.accept_local = 1 # 13.55 [+0.01] tx: 152 # 13.55 [+0.00] rx: 142 # 13.56 [+0.00] rx: 100 # 13.56 [+0.01] OK # 13.56 [+0.00] # 13.74 [+0.17] raw csum_off # 15.46 [+1.72] net.ipv4.conf.lo.accept_local = 1 # 15.46 [+0.00] tx: 152 # 15.47 [+0.01] rx: 142 # 15.47 [+0.00] rx: 100 # 15.49 [+0.02] OK # 15.49 [+0.00] # 15.65 [+0.16] raw csum_off with bad offset (expected to fail) # 17.41 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 17.41 [+0.00] ./psock_snd: write: Invalid argument # 17.61 [+0.20] raw min size # 19.38 [+1.77] net.ipv4.conf.lo.accept_local = 1 # 19.39 [+0.00] tx: 42 # 19.41 [+0.02] rx: 0 # 19.42 [+0.02] OK # 19.42 [+0.00] # 19.60 [+0.18] raw mtu size # 21.36 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 21.36 [+0.00] tx: 1514 # 21.37 [+0.01] rx: 1472 # 21.38 [+0.01] OK # 21.38 [+0.00] # 21.55 [+0.17] raw mtu size + 1 (expected to fail) # 23.33 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 23.33 [+0.01] ./psock_snd: write: Message too long # 23.57 [+0.24] raw vlan mtu size + 1 (expected to fail) # 25.39 [+1.82] net.ipv4.conf.lo.accept_local = 1 # 25.40 [+0.00] ./psock_snd: write: Message too long # 25.59 [+0.19] dgram mtu size # 27.40 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 27.40 [+0.00] tx: 1500 # 27.41 [+0.01] rx: 1472 # 27.42 [+0.01] OK # 27.42 [+0.00] # 27.61 [+0.19] dgram mtu size + 1 (expected to fail) # 29.37 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 29.37 [+0.01] ./psock_snd: write: Message too long # 29.59 [+0.22] raw truncate hlen (expected to fail: does not arrive) # 31.37 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 31.38 [+0.00] tx: 14 # 31.50 [+0.13] ./psock_snd: recv: Resource temporarily unavailable # 31.70 [+0.20] raw truncate hlen - 1 (expected to fail: EINVAL) # 33.51 [+1.81] net.ipv4.conf.lo.accept_local = 1 # 33.52 [+0.01] ./psock_snd: write: Invalid argument # 33.74 [+0.22] raw gso min size # 35.54 [+1.80] net.ipv4.conf.lo.accept_local = 1 # 35.55 [+0.01] tx: 1525 # 35.56 [+0.01] rx: 1473 # 35.57 [+0.01] OK # 35.57 [+0.00] # 35.74 [+0.17] raw gso max size # 37.52 [+1.78] net.ipv4.conf.lo.accept_local = 1 # 37.53 [+0.01] tx: 65559 # 37.54 [+0.01] rx: 65507 # 37.55 [+0.01] OK # 37.55 [+0.00] # 37.75 [+0.20] raw gso max size + 1 (expected to fail) # 39.51 [+1.76] net.ipv4.conf.lo.accept_local = 1 # 39.52 [+0.01] tx: 65560 # 39.63 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 39.80 [+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__->