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.01 [+0.01] dgram # 0.78 [+0.77] net.ipv4.conf.lo.accept_local = 1 # 0.78 [+0.00] tx: 128 # 0.79 [+0.01] rx: 142 # 0.79 [+0.00] rx: 100 # 0.80 [+0.01] OK # 0.80 [+0.00] # 0.88 [+0.08] dgram bind # 1.62 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 1.62 [+0.01] tx: 128 # 1.63 [+0.01] rx: 142 # 1.63 [+0.00] rx: 100 # 1.65 [+0.02] OK # 1.65 [+0.00] # 1.74 [+0.09] raw # 2.47 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 2.47 [+0.01] tx: 142 # 2.49 [+0.01] rx: 142 # 2.49 [+0.00] rx: 100 # 2.50 [+0.02] OK # 2.50 [+0.00] # 2.59 [+0.09] raw bind # 3.33 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 3.33 [+0.01] tx: 142 # 3.36 [+0.02] rx: 142 # 3.36 [+0.00] rx: 100 # 3.38 [+0.02] OK # 3.38 [+0.00] # 3.47 [+0.09] raw qdisc bypass # 4.20 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 4.21 [+0.01] tx: 142 # 4.22 [+0.01] rx: 142 # 4.22 [+0.00] rx: 100 # 4.22 [+0.01] OK # 4.22 [+0.00] # 4.31 [+0.09] raw vlan # 5.02 [+0.71] net.ipv4.conf.lo.accept_local = 1 # 5.03 [+0.01] tx: 146 # 5.05 [+0.02] rx: 100 # 5.07 [+0.02] OK # 5.07 [+0.00] # 5.15 [+0.08] raw vnet hdr # 5.88 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 5.89 [+0.01] tx: 152 # 5.90 [+0.01] rx: 142 # 5.90 [+0.00] rx: 100 # 5.91 [+0.01] OK # 5.91 [+0.00] # 5.98 [+0.07] raw csum_off # 6.71 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 6.72 [+0.01] tx: 152 # 6.74 [+0.02] rx: 142 # 6.74 [+0.00] rx: 100 # 6.76 [+0.02] OK # 6.76 [+0.00] # 6.84 [+0.08] raw csum_off with bad offset (expected to fail) # 7.56 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 7.57 [+0.00] ./psock_snd: write: Invalid argument # 7.68 [+0.12] raw min size # 8.42 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 8.42 [+0.01] tx: 42 # 8.43 [+0.01] rx: 0 # 8.44 [+0.01] OK # 8.44 [+0.00] # 8.52 [+0.08] raw mtu size # 9.25 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 9.25 [+0.01] tx: 1514 # 9.27 [+0.02] rx: 1472 # 9.29 [+0.02] OK # 9.29 [+0.00] # 9.38 [+0.09] raw mtu size + 1 (expected to fail) # 10.12 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 10.12 [+0.01] ./psock_snd: write: Message too long # 10.24 [+0.12] raw vlan mtu size + 1 (expected to fail) # 10.97 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 10.98 [+0.01] ./psock_snd: write: Message too long # 11.10 [+0.12] dgram mtu size # 11.84 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 11.85 [+0.01] tx: 1500 # 11.86 [+0.01] rx: 1472 # 11.87 [+0.01] OK # 11.87 [+0.00] # 11.95 [+0.08] dgram mtu size + 1 (expected to fail) # 12.68 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 12.68 [+0.00] ./psock_snd: write: Message too long # 12.80 [+0.12] raw truncate hlen (expected to fail: does not arrive) # 13.53 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 13.54 [+0.01] tx: 14 # 13.65 [+0.11] ./psock_snd: recv: Resource temporarily unavailable # 13.75 [+0.10] raw truncate hlen - 1 (expected to fail: EINVAL) # 14.49 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 14.49 [+0.01] ./psock_snd: write: Invalid argument # 14.61 [+0.12] raw gso min size # 15.36 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 15.36 [+0.01] tx: 1525 # 15.37 [+0.01] rx: 1473 # 15.38 [+0.01] OK # 15.38 [+0.00] # 15.47 [+0.08] raw gso max size # 16.21 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 16.22 [+0.01] tx: 65559 # 16.23 [+0.02] rx: 65507 # 16.25 [+0.02] OK # 16.25 [+0.00] # 16.34 [+0.09] raw gso max size + 1 (expected to fail) # 17.08 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 17.09 [+0.01] tx: 65560 # 17.21 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 17.32 [+0.11] 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 unreferenced object 0x00042d20 (size 64): comm "swapper/0", pid 0, jiffies 4294667296 hex dump (first 32 bytes on cpu 2): 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): pcpu_alloc_noprof+0x4ad/0xab0 setup_zone_pageset+0x30/0x290 setup_per_cpu_pageset+0x6a/0x1f0 start_kernel+0x2a4/0x410 x86_64_start_reservations+0x18/0x30 x86_64_start_kernel+0xba/0x110 common_startup_64+0x12c/0x138 unreferenced object 0x00043040 (size 48): comm "swapper/0", pid 0, jiffies 4294667296 hex dump (first 32 bytes on cpu 2): 1e ff 00 1c fc 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 0a 1a 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): pcpu_alloc_noprof+0x4ad/0xab0 setup_per_cpu_pageset+0xd2/0x1f0 start_kernel+0x2a4/0x410 x86_64_start_reservations+0x18/0x30 x86_64_start_kernel+0xba/0x110 comm DETECTED CRASH, lowering timeout on_startup_64+0x12c/0x138 xx__->