From: Seth Forshee <seth.forshee@canonical.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Pooja Trivedi <pooja.trivedi@stackpath.com>,
Josh Tway <josh.tway@stackpath.com>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: Hangs during tls multi_chunk_sendfile selftest
Date: Thu, 17 Jun 2021 18:03:29 -0500 [thread overview]
Message-ID: <YMvUwVcOSkuBDxdg@ubuntu-x1> (raw)
In-Reply-To: <20210617142234.272cc686@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
On Thu, Jun 17, 2021 at 02:22:34PM -0700, Jakub Kicinski wrote:
> On Thu, 17 Jun 2021 14:46:11 -0500 Seth Forshee wrote:
> > I've observed that the tls multi_chunk_sendfile selftest hangs during
> > recv() and ultimately times out, and it seems to have done so even when
> > the test was first introduced.
>
> It hangs yet it passes? I lost track of this issue because the test
> does pass on my system:
>
> # PASSED: 183 / 183 tests passed.
> # Totals: pass:183 fail:0 xfail:0 xpass:0 skip:0 error:0
>
> $ uname -r
> 5.12.9-300.fc34.x86_64
It doesn't pass with Ubuntu kernels:
# RUN tls.12_gcm.multi_chunk_sendfile ...
# multi_chunk_sendfile: Test terminated by timeout
# FAIL tls.12_gcm.multi_chunk_sendfile
not ok 6 tls.12_gcm.multi_chunk_sendfile
...
# RUN tls.13_gcm.multi_chunk_sendfile ...
# multi_chunk_sendfile: Test terminated by timeout
# FAIL tls.13_gcm.multi_chunk_sendfile
not ok 51 tls.13_gcm.multi_chunk_sendfile
...
# RUN tls.12_chacha.multi_chunk_sendfile ...
# multi_chunk_sendfile: Test terminated by timeout
# FAIL tls.12_chacha.multi_chunk_sendfile
not ok 96 tls.12_chacha.multi_chunk_sendfile
...
# RUN tls.13_chacha.multi_chunk_sendfile ...
# multi_chunk_sendfile: Test terminated by timeout
# FAIL tls.13_chacha.multi_chunk_sendfile
not ok 141 tls.13_chacha.multi_chunk_sendfile
...
# FAILED: 177 / 183 tests passed.
# Totals: pass:177 fail:6 xfail:0 xpass:0 skip:0 error:0
$ uname -r
5.13.0-7-generic
The results are the same with 5.12, etc. Maybe some difference in
configs.
> > Reading through the commit message when
> > it was added (0e6fbe39bdf7 "net/tls(TLS_SW): Add selftest for 'chunked'
> > sendfile test") I get the impression that the test is meant to
> > demonstrate a problem with ktls, but there's no indication that the
> > problem has been fixed.
>
> Yeah, the fix was discussed here:
>
> https://lore.kernel.org/netdev/1591392508-14592-1-git-send-email-pooja.trivedi@stackpath.com/
>
> IDK why it stalled to be honest :S
Hopefully it can make some progress now.
Thanks,
Seth
prev parent reply other threads:[~2021-06-17 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 19:46 Hangs during tls multi_chunk_sendfile selftest Seth Forshee
2021-06-17 21:22 ` Jakub Kicinski
2021-06-17 23:03 ` Seth Forshee [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=YMvUwVcOSkuBDxdg@ubuntu-x1 \
--to=seth.forshee@canonical.com \
--cc=davem@davemloft.net \
--cc=josh.tway@stackpath.com \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pooja.trivedi@stackpath.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