lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0bcbab9b-79c7-4396-8eb4-4ca3ebe274bc@gmail.com>
Date: Wed, 28 May 2025 15:43:17 +0700
From: Bui Quang Minh <minhquangbui99@...il.com>
To: kernel test robot <oliver.sang@...el.com>
Cc: oe-lkp@...ts.linux.dev, lkp@...el.com, Jakub Kicinski <kuba@...nel.org>,
 "Michael S. Tsirkin" <mst@...hat.com>, netdev@...r.kernel.org
Subject: Re: [linux-next:master] [selftests] 59dd07db92:
 kernel-selftests.drivers/net.queues.py.fail

On 5/28/25 11:57, kernel test robot wrote:
>
> Hello,
>
> kernel test robot noticed "kernel-selftests.drivers/net.queues.py.fail" on:
>
> commit: 59dd07db92c166ca3947d2a1bf548d57b7f03316 ("selftests: net: move xdp_helper to net/lib")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master 176e917e010cb7dcc605f11d2bc33f304292482b]
>
> in testcase: kernel-selftests
> version: kernel-selftests-x86_64-7ff71e6d9239-1_20250215
> with following parameters:
>
> 	group: drivers
>
>
>
> config: x86_64-rhel-9.4-kselftests
> compiler: gcc-12
> test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <oliver.sang@...el.com>
> | Closes: https://lore.kernel.org/oe-lkp/202505281004.6c3d0188-lkp@intel.com
>
>
>
> # timeout set to 300
> # selftests: drivers/net: queues.py
> # TAP version 13
> # 1..4
> # ok 1 queues.get_queues
> # ok 2 queues.addremove_queues
> # ok 3 queues.check_down
> # # Exception| Traceback (most recent call last):
> # # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-59dd07db92c166ca3947d2a1bf548d57b7f03316/tools/testing/selftests/net/lib/py/ksft.py", line 223, in ksft_run
> # # Exception|     case(*args)
> # # Exception|   File "/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-59dd07db92c166ca3947d2a1bf548d57b7f03316/tools/testing/selftests/drivers/net/./queues.py", line 33, in check_xsk
> # # Exception|     raise KsftFailEx('unable to create AF_XDP socket')
> # # Exception| net.lib.py.ksft.KsftFailEx: unable to create AF_XDP socket
> # not ok 4 queues.check_xsk
> # # Totals: pass:3 fail:1 xfail:0 xpass:0 skip:0 error:0
> not ok 7 selftests: drivers/net: queues.py # exit=1
>
>
>
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20250528/202505281004.6c3d0188-lkp@intel.com

Looking at the log file, it seems like the xdp_helper in net/lib is not 
compiled so calling this helper from the test fails. There is similar 
failures where xdp_dummy.bpf.o in net/lib is not compiled either.

Error opening object 
/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-59dd07db92c166ca3947d2a1bf548d57b7f03316/tools/testing/selftests/net/lib/xdp_dummy.bpf.o: 
No such file or directory

I'm still not sure what the root cause is. On my machine, these files 
are compiled correctly.

Thanks,
Quang Minh.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ