netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master] [selftests]  59dd07db92: kernel-selftests.drivers/net.queues.py.fail
@ 2025-05-28  4:57 kernel test robot
  2025-05-28  8:43 ` Bui Quang Minh
  0 siblings, 1 reply; 7+ messages in thread
From: kernel test robot @ 2025-05-28  4:57 UTC (permalink / raw)
  To: Bui Quang Minh
  Cc: oe-lkp, lkp, Jakub Kicinski, Michael S. Tsirkin, netdev,
	oliver.sang



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@intel.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



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-28  4:57 [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail kernel test robot
@ 2025-05-28  8:43 ` Bui Quang Minh
  2025-05-29  0:58   ` Jakub Kicinski
  0 siblings, 1 reply; 7+ messages in thread
From: Bui Quang Minh @ 2025-05-28  8:43 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-lkp, lkp, Jakub Kicinski, Michael S. Tsirkin, netdev

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@intel.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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-28  8:43 ` Bui Quang Minh
@ 2025-05-29  0:58   ` Jakub Kicinski
  2025-05-29  4:06     ` Bui Quang Minh
  0 siblings, 1 reply; 7+ messages in thread
From: Jakub Kicinski @ 2025-05-29  0:58 UTC (permalink / raw)
  To: kernel test robot; +Cc: Bui Quang Minh, oe-lkp, lkp, Michael S. Tsirkin, netdev

On Wed, 28 May 2025 15:43:17 +0700 Bui Quang Minh wrote:
> > 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@intel.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.

Same here. The get built and installed correctly for me.
Oliver Sang, how does LKP build the selftests? I've looked at the
artifacts and your repo for 10min, I can't find it.
The net/lib has a slightly special way of getting included, maybe
something goes wrong with that.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-29  0:58   ` Jakub Kicinski
@ 2025-05-29  4:06     ` Bui Quang Minh
  2025-05-29  4:27       ` Philip Li
  0 siblings, 1 reply; 7+ messages in thread
From: Bui Quang Minh @ 2025-05-29  4:06 UTC (permalink / raw)
  To: Jakub Kicinski, kernel test robot; +Cc: oe-lkp, lkp, Michael S. Tsirkin, netdev

On 5/29/25 07:58, Jakub Kicinski wrote:
> On Wed, 28 May 2025 15:43:17 +0700 Bui Quang Minh wrote:
>>> 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@intel.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.
> Same here. The get built and installed correctly for me.
> Oliver Sang, how does LKP build the selftests? I've looked at the
> artifacts and your repo for 10min, I can't find it.
> The net/lib has a slightly special way of getting included, maybe
> something goes wrong with that.

I understand why now. Normally, this command is used to run test
pwd: tools/testing/selftests
make TARGETS="drivers/net" run_tests

The LKP instead runs this
make quicktest=1 run_tests -C drivers/net

So the Makefile in tools/testing/selftests is not triggered and net/lib 
is not included either.

Thanks,
Quang Minh.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-29  4:06     ` Bui Quang Minh
@ 2025-05-29  4:27       ` Philip Li
  2025-05-29  4:49         ` Bui Quang Minh
  0 siblings, 1 reply; 7+ messages in thread
From: Philip Li @ 2025-05-29  4:27 UTC (permalink / raw)
  To: Bui Quang Minh
  Cc: Jakub Kicinski, kernel test robot, oe-lkp, lkp,
	Michael S. Tsirkin, netdev

On Thu, May 29, 2025 at 11:06:17AM +0700, Bui Quang Minh wrote:
> On 5/29/25 07:58, Jakub Kicinski wrote:
> > On Wed, 28 May 2025 15:43:17 +0700 Bui Quang Minh wrote:
> > > > 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@intel.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.
> > Same here. The get built and installed correctly for me.
> > Oliver Sang, how does LKP build the selftests? I've looked at the
> > artifacts and your repo for 10min, I can't find it.
> > The net/lib has a slightly special way of getting included, maybe
> > something goes wrong with that.
> 
> I understand why now. Normally, this command is used to run test
> pwd: tools/testing/selftests
> make TARGETS="drivers/net" run_tests
> 
> The LKP instead runs this
> make quicktest=1 run_tests -C drivers/net
> 
> So the Makefile in tools/testing/selftests is not triggered and net/lib is
> not included either.

hi Jakub and Quang Minh, sorry for the false positive report. And thanks for
helping root cause the issue in LKP side. We will fix the bot asap to avoid
missing the required dependencies during the kselftest.

Thanks

> 
> Thanks,
> Quang Minh.
> 
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-29  4:27       ` Philip Li
@ 2025-05-29  4:49         ` Bui Quang Minh
  2025-05-29  6:21           ` Philip Li
  0 siblings, 1 reply; 7+ messages in thread
From: Bui Quang Minh @ 2025-05-29  4:49 UTC (permalink / raw)
  To: Philip Li
  Cc: Jakub Kicinski, kernel test robot, oe-lkp, lkp,
	Michael S. Tsirkin, netdev

On 5/29/25 11:27, Philip Li wrote:
> On Thu, May 29, 2025 at 11:06:17AM +0700, Bui Quang Minh wrote:
>> On 5/29/25 07:58, Jakub Kicinski wrote:
>>> On Wed, 28 May 2025 15:43:17 +0700 Bui Quang Minh wrote:
>>>>> 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@intel.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.
>>> Same here. The get built and installed correctly for me.
>>> Oliver Sang, how does LKP build the selftests? I've looked at the
>>> artifacts and your repo for 10min, I can't find it.
>>> The net/lib has a slightly special way of getting included, maybe
>>> something goes wrong with that.
>> I understand why now. Normally, this command is used to run test
>> pwd: tools/testing/selftests
>> make TARGETS="drivers/net" run_tests
>>
>> The LKP instead runs this
>> make quicktest=1 run_tests -C drivers/net
>>
>> So the Makefile in tools/testing/selftests is not triggered and net/lib is
>> not included either.
> hi Jakub and Quang Minh, sorry for the false positive report. And thanks for
> helping root cause the issue in LKP side. We will fix the bot asap to avoid
> missing the required dependencies during the kselftest.

I've created a pull request, please help me to review it: 
https://github.com/intel/lkp-tests/pull/514.

Thanks,
Quang Minh.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
  2025-05-29  4:49         ` Bui Quang Minh
@ 2025-05-29  6:21           ` Philip Li
  0 siblings, 0 replies; 7+ messages in thread
From: Philip Li @ 2025-05-29  6:21 UTC (permalink / raw)
  To: Bui Quang Minh
  Cc: Jakub Kicinski, kernel test robot, oe-lkp, lkp,
	Michael S. Tsirkin, netdev

On Thu, May 29, 2025 at 11:49:17AM +0700, Bui Quang Minh wrote:
> On 5/29/25 11:27, Philip Li wrote:
> > On Thu, May 29, 2025 at 11:06:17AM +0700, Bui Quang Minh wrote:
> > > On 5/29/25 07:58, Jakub Kicinski wrote:
> > > > On Wed, 28 May 2025 15:43:17 +0700 Bui Quang Minh wrote:
> > > > > > 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@intel.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.
> > > > Same here. The get built and installed correctly for me.
> > > > Oliver Sang, how does LKP build the selftests? I've looked at the
> > > > artifacts and your repo for 10min, I can't find it.
> > > > The net/lib has a slightly special way of getting included, maybe
> > > > something goes wrong with that.
> > > I understand why now. Normally, this command is used to run test
> > > pwd: tools/testing/selftests
> > > make TARGETS="drivers/net" run_tests
> > > 
> > > The LKP instead runs this
> > > make quicktest=1 run_tests -C drivers/net
> > > 
> > > So the Makefile in tools/testing/selftests is not triggered and net/lib is
> > > not included either.
> > hi Jakub and Quang Minh, sorry for the false positive report. And thanks for
> > helping root cause the issue in LKP side. We will fix the bot asap to avoid
> > missing the required dependencies during the kselftest.
> 
> I've created a pull request, please help me to review it:
> https://github.com/intel/lkp-tests/pull/514.

Got it, I have merged the PR, thanks a lot

> 
> Thanks,
> Quang Minh.
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-29  6:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28  4:57 [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail kernel test robot
2025-05-28  8:43 ` Bui Quang Minh
2025-05-29  0:58   ` Jakub Kicinski
2025-05-29  4:06     ` Bui Quang Minh
2025-05-29  4:27       ` Philip Li
2025-05-29  4:49         ` Bui Quang Minh
2025-05-29  6:21           ` Philip Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).