From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH v8 5/5] test: Explicit specify forwarding ports for pasta in log rotation tests
Date: Mon, 8 Sep 2025 11:53:58 +1000 [thread overview]
Message-ID: <aL43NjwQ_p1osQ00@zatzit> (raw)
In-Reply-To: <20250905130340.40207517@elisabeth>
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
On Fri, Sep 05, 2025 at 01:03:40PM +0200, Stefano Brivio wrote:
> On Fri, 5 Sep 2025 16:43:17 +1000
> David Gibson <david@gibson.dropbear.id.au> wrote:
>
> > test/pasta_options/log_to_file uses tcp_crr in a loop to generate log
> > messages for what it's actually testing. For this to work, pasta needs to
> > forward two ports. We set a PORTS variable with the options for this, but
> > never actually use it. The test works, because without the options we use
> > automatic port forwarding.
>
> Oops.
>
> > That makes the test more fragile than it needs to be, in a way that's not
> > at all related to what we're actually trying to test. Avoid this possible
> > point of failure by explicitly specifying the forwarding.
> >
> > I encountered this because Fedora has now updated to a kernel with the
> > /proc/net lseek() bug.
>
> By the way, the fix is now in mainline as 2ce3d282bd50 ("proc: fix
> missing pde_set_flags() for net proc files"). I hoped the breakage would
> never reach distributions but I guess the timing was unlucky enough.
Apparently so. Oh well, good to know the fix is upstream.
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-09-08 2:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 6:43 [PATCH v8 0/5] Introduce first exeter based test infrastructure David Gibson
2025-09-05 6:43 ` [PATCH v8 1/5] test: Extend test scripts to allow running exeter tests David Gibson
2025-09-05 6:43 ` [PATCH v8 2/5] test: Run static checkers as " David Gibson
2025-09-05 6:43 ` [PATCH v8 3/5] test: Convert build tests to exeter David Gibson
2025-09-05 6:43 ` [PATCH v8 4/5] test: Allow exeter & podman tests to be parallel executed with BATS David Gibson
2025-09-05 6:43 ` [PATCH v8 5/5] test: Explicit specify forwarding ports for pasta in log rotation tests David Gibson
2025-09-05 11:03 ` Stefano Brivio
2025-09-08 1:53 ` David Gibson [this message]
2025-09-08 4:04 ` David Gibson
2025-09-05 11:03 ` [PATCH v8 0/5] Introduce first exeter based test infrastructure Stefano Brivio
2025-09-08 1:55 ` David Gibson
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=aL43NjwQ_p1osQ00@zatzit \
--to=david@gibson.dropbear.id.au \
--cc=passt-dev@passt.top \
--cc=sbrivio@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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
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 IMAP folder(s).