From: Jakub Kicinski <kuba@kernel.org>
To: Matthieu Baerts <matttbe@kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
MPTCP Upstream <mptcp@lists.linux.dev>,
Paolo Abeni <pabeni@redhat.com>,
Mat Martineau <martineau@kernel.org>
Subject: Re: [TEST] The no-kvm CI instances going away
Date: Wed, 7 Feb 2024 07:29:13 -0800 [thread overview]
Message-ID: <20240207072913.0c69225c@kernel.org> (raw)
In-Reply-To: <e216081b-8755-46be-a687-2c61d335aedb@kernel.org>
On Wed, 7 Feb 2024 15:37:22 +0100 Matthieu Baerts wrote:
> > I'd rather not modify the tree. Poking around - this seems to work:
> >
> > export kselftest_override_timeout=1
>
> Even better :)
>
> f=tools/testing/selftests/net/settings
> kselftest_override_timeout=$(awk -F = '/^timeout=/ {print $2*2}' $f)
>
> > Now it's just a matter of finding 15min to code it up :)
> I'm not sure if I can help here :)
If you're willing to touch my nasty Python - that'd be very welcome! :)
Right now I put this in the configs:
[vm]
exports=KSFT_MACHINE_SLOW=yes
We can leave the support for adding exports in place, but we should add
a new config option like
[vm]
slowdown=2
(exact name up for debate), if it's present generate the
KSFT_MACHINE_SLOW=yes export automatically, without the explicit entry
in the config. And add the export for the timeout matching the logic
you propose (but in Python).
FWIW here's the configs we currently use:
$ cat remote.config
[remote]
branches=https://netdev.bots.linux.dev/static/nipa/branches.json
filters=https://netdev.bots.linux.dev/contest/filters.json
[local]
results_path=results
json_path=jsons
[env]
paths=/home/virtme/virtme-ng/
[vm]
paths=/home/virtme/tools/fs/bin:/home/virtme/tools/fs/sbin:/home/virtme/tools/fs/usr/bin:/home/virtme/tools/fs/usr/sbin
ld_paths=/lib64/:/home/virtme/tools/fs/usr/lib/:/home/virtme/tools/fs/lib64/:/home/virtme/tools/fs/usr/lib64/
init_prompt=bash-5.2#
default_timeout=200
boot_timeout=45
$ cat ksft-mptcp-dbg.config
[executor]
name=vmksft-mptcp-dbg
[local]
tree_path=/home/virtme/testing-12/
base_path=/home/virtme/outputs-12/
[www]
url=https://netdev-3.bots.linux.dev/vmksft-mptcp-dbg
[vm]
exports=KSFT_MACHINE_SLOW=yes
configs=kernel/configs/debug.config,kernel/configs/x86_debug.config
default_timeout=300
cpus=4
[ksft]
target=net/mptcp
[cfg]
thread_cnt=1
next prev parent reply other threads:[~2024-02-07 15:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 1:41 [TEST] The no-kvm CI instances going away Jakub Kicinski
2024-02-06 11:16 ` Matthieu Baerts
2024-02-07 1:44 ` Jakub Kicinski
2024-02-07 9:44 ` Matthieu Baerts
2024-02-07 14:25 ` Jakub Kicinski
2024-02-07 14:37 ` Matthieu Baerts
2024-02-07 15:29 ` Jakub Kicinski [this message]
2024-02-07 16:06 ` Matthieu Baerts
2024-02-07 17:45 ` David Ahern
2024-02-07 18:55 ` Jakub Kicinski
2024-02-07 19:45 ` David Ahern
2024-02-07 20:07 ` Jakub Kicinski
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=20240207072913.0c69225c@kernel.org \
--to=kuba@kernel.org \
--cc=martineau@kernel.org \
--cc=matttbe@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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).