netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: kernel test robot <oliver.sang@intel.com>
Cc: Bui Quang Minh <minhquangbui99@gmail.com>,
	oe-lkp@lists.linux.dev, lkp@intel.com,
	"Michael S. Tsirkin" <mst@redhat.com>,
	netdev@vger.kernel.org
Subject: Re: [linux-next:master] [selftests] 59dd07db92: kernel-selftests.drivers/net.queues.py.fail
Date: Wed, 28 May 2025 17:58:11 -0700	[thread overview]
Message-ID: <20250528175811.5ff14ab0@kernel.org> (raw)
In-Reply-To: <0bcbab9b-79c7-4396-8eb4-4ca3ebe274bc@gmail.com>

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.

  reply	other threads:[~2025-05-29  0:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250528175811.5ff14ab0@kernel.org \
    --to=kuba@kernel.org \
    --cc=lkp@intel.com \
    --cc=minhquangbui99@gmail.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-lkp@lists.linux.dev \
    --cc=oliver.sang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).