Re: [PATCH net-next] selftests: drv-net: netpoll_basic: xfail if no hits
From: Breno Leitao
Date: Fri Nov 20 2026 - 13:42:20 EST
On Thu, Nov 19, 2026 at 11:52:01AM +0100, Matthieu Baerts (NGI0) wrote:
> When netpoll_poll_dev() is not called during the test, bpftrace doesn't
> print the '@hits' map, because it is empty. The test then fails instead
> of reporting the expected XFAIL:
>
> net.lib.py.ksft.KsftFailEx: bpftrace failed to run!?: {}
>
> This has been observed regularly in the netdev CI with netdevsim, since
> a recent switch to Fedora 45: hitting this function depends on timings.
>
> Fixes: b3019343e4bd ("selftests: net: add netpoll basic functionality test")
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>