From: Jakub Kicinski <kuba@kernel.org>
To: Karl Mehltretter <kmehltretter@gmail.com>
Cc: Jeremy Kerr <jk@codeconstruct.com.au>,
Matt Johnston <matt@codeconstruct.com.au>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
netdev@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>,
Brendan Higgins <brendan.higgins@linux.dev>,
David Gow <david@davidgow.net>, Rae Moar <raemoar63@gmail.com>,
linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] net: mctp: Stop selecting flow support for KUnit tests
Date: Tue, 29 Sep 2026 19:03:07 -0700 [thread overview]
Message-ID: <20260929190307.4d121561@kernel.org> (raw)
In-Reply-To: <20260925192510.93840-1-kmehltretter@gmail.com>
On Fri, 25 Sep 2026 21:25:10 +0200 Karl Mehltretter wrote:
> MCTP_TEST selects MCTP_FLOWS, which also enables SKB_EXTENSIONS when no
> transport requires them. Remove the selection to follow the dependency
> rule in Documentation/dev-tools/kunit/style.rst.
>
> The two flow-specific tests already skip when MCTP_FLOWS is disabled.
> The remaining tests can run in either configuration.
This patch causes the CI's "kunit-all/alltests" job to fail at the build
configuration step, before any KUnit test actually runs:
ERROR:root:Not all Kconfig options selected in kunitconfig were in the
generated .config. This is probably due to unsatisfied dependencies.
Missing: CONFIG_MCTP_FLOWS=y
tools/testing/kunit/configs/all_tests.config (used by this job) lists
CONFIG_MCTP_FLOWS=y explicitly. However, MCTP_FLOWS in
net/mctp/Kconfig has no user-visible prompt:
config MCTP_FLOWS
bool
depends on MCTP
select SKB_EXTENSIONS
so it can only be turned on by another symbol's "select". Previously
MCTP_TEST selected it, which is what let all_tests.config's explicit
"CONFIG_MCTP_FLOWS=y" line take effect. After this patch removes that
select, nothing enables MCTP_FLOWS anymore, so olddefconfig silently
drops it and the kunit tooling treats the mismatch as fatal, aborting
the whole "alltests" run.
Since MCTP_FLOWS is a prompt-less symbol, simply listing it in a
kunitconfig fragment isn't enough on its own - it still needs to be
selected by something. Could you either:
- keep a select of MCTP_FLOWS from an appropriate config (e.g. from
MCTP_TEST guarded to only the flow-specific tests, if that's
expressible), or
- update tools/testing/kunit/configs/all_tests.config to select the
flow tests explicitly (e.g. via a symbol that can select
MCTP_FLOWS), or
- give MCTP_FLOWS a real prompt so it can be enabled directly from a
config fragment.
Let me know if you'd like the exact CI log for the failure.
prev parent reply other threads:[~2026-09-30 2:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 19:25 Karl Mehltretter
2026-09-26 7:53 ` Jeremy Kerr
2026-09-26 8:43 ` Karl Mehltretter
2026-09-28 20:53 ` [PATCH net-next v2] net: mctp: Make KUnit tests depend on flow support Karl Mehltretter
2026-09-29 1:02 ` Jeremy Kerr
2026-09-29 5:34 ` Karl Mehltretter
2026-09-28 23:09 ` [PATCH net-next] net: mctp: Stop selecting flow support for KUnit tests netdev-bot+sashiko
2026-09-30 2:03 ` Jakub Kicinski [this message]
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=20260929190307.4d121561@kernel.org \
--to=kuba@kernel.org \
--cc=brendan.higgins@linux.dev \
--cc=davem@davemloft.net \
--cc=david@davidgow.net \
--cc=edumazet@google.com \
--cc=geert@linux-m68k.org \
--cc=horms@kernel.org \
--cc=jk@codeconstruct.com.au \
--cc=kmehltretter@gmail.com \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=raemoar63@gmail.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
all inboxes | Powered by JetHome®