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 # 0.76 [+0.76] net.ipv4.conf.lo.accept_local = 1 # 0.77 [+0.01] tx: 128 # 0.78 [+0.01] rx: 142 # 0.78 [+0.00] rx: 100 # 0.79 [+0.01] OK # 0.79 [+0.00] # 0.87 [+0.08] dgram bind # 1.60 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 1.60 [+0.00] tx: 128 # 1.61 [+0.01] rx: 142 # 1.61 [+0.00] rx: 100 # 1.62 [+0.01] OK # 1.62 [+0.00] # 1.70 [+0.08] raw # 2.44 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 2.44 [+0.00] tx: 142 # 2.46 [+0.02] rx: 142 # 2.46 [+0.00] rx: 100 # 2.48 [+0.02] OK # 2.48 [+0.00] # 2.57 [+0.09] raw bind # 3.32 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 3.32 [+0.01] tx: 142 # 3.33 [+0.01] rx: 142 # 3.33 [+0.00] rx: 100 # 3.34 [+0.01] OK # 3.34 [+0.00] # 3.42 [+0.08] raw qdisc bypass # 4.15 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 4.15 [+0.00] tx: 142 # 4.17 [+0.02] rx: 142 # 4.17 [+0.00] rx: 100 # 4.19 [+0.02] OK # 4.19 [+0.00] # 4.27 [+0.07] raw vlan # 5.00 [+0.74] net.ipv4.conf.lo.accept_local = 1 # 5.01 [+0.01] tx: 146 # 5.02 [+0.01] rx: 100 # 5.02 [+0.01] OK # 5.03 [+0.00] # 5.10 [+0.07] raw vnet hdr # 5.83 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 5.83 [+0.01] tx: 152 # 5.85 [+0.02] rx: 142 # 5.85 [+0.00] rx: 100 # 5.87 [+0.02] OK # 5.87 [+0.00] # 5.95 [+0.08] raw csum_off # 6.68 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 6.69 [+0.01] tx: 152 # 6.70 [+0.01] rx: 142 # 6.70 [+0.00] rx: 100 # 6.72 [+0.02] OK # 6.72 [+0.00] # 6.79 [+0.08] raw csum_off with bad offset (expected to fail) # 7.52 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 7.52 [+0.00] ./psock_snd: write: Invalid argument # 7.63 [+0.10] raw min size # 8.35 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 8.35 [+0.00] tx: 42 # 8.36 [+0.01] rx: 0 # 8.38 [+0.02] OK # 8.38 [+0.00] # 8.46 [+0.08] raw mtu size # 9.17 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 9.18 [+0.00] tx: 1514 # 9.19 [+0.01] rx: 1472 # 9.20 [+0.01] OK # 9.20 [+0.00] # 9.29 [+0.09] raw mtu size + 1 (expected to fail) # 10.02 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 10.02 [+0.01] ./psock_snd: write: Message too long # 10.14 [+0.12] raw vlan mtu size + 1 (expected to fail) # 10.87 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 10.88 [+0.01] ./psock_snd: write: Message too long # 10.98 [+0.11] dgram mtu size # 11.71 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 11.72 [+0.01] tx: 1500 # 11.73 [+0.01] rx: 1472 # 11.73 [+0.01] OK # 11.74 [+0.00] # 11.81 [+0.08] dgram mtu size + 1 (expected to fail) # 12.54 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 12.54 [+0.01] ./psock_snd: write: Message too long # 12.67 [+0.12] raw truncate hlen (expected to fail: does not arrive) # 13.38 [+0.71] net.ipv4.conf.lo.accept_local = 1 # 13.39 [+0.01] tx: 14 # 13.50 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 13.60 [+0.09] raw truncate hlen - 1 (expected to fail: EINVAL) # 14.32 [+0.72] net.ipv4.conf.lo.accept_local = 1 # 14.32 [+0.01] ./psock_snd: write: Invalid argument # 14.45 [+0.13] raw gso min size # 15.18 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 15.19 [+0.01] tx: 1525 # 15.20 [+0.01] rx: 1473 # 15.21 [+0.01] OK # 15.21 [+0.00] # 15.29 [+0.08] raw gso max size # 16.02 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 16.03 [+0.01] tx: 65559 # 16.04 [+0.01] rx: 65507 # 16.05 [+0.01] OK # 16.05 [+0.00] # 16.14 [+0.09] raw gso max size + 1 (expected to fail) # 16.87 [+0.73] net.ipv4.conf.lo.accept_local = 1 # 16.88 [+0.01] tx: 65560 # 17.00 [+0.12] ./psock_snd: recv: Resource temporarily unavailable # 17.10 [+0.10] 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 3): 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 3): 1e 06 01 1a f6 00 00 f6 00 00 00 00 00 00 00 00 ................ 00 00 03 1d 10 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__->