netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: Netdev <netdev@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: selftests: net: cmsg_so_mark.sh test hangs
Date: Thu, 8 Dec 2022 18:17:40 -0800	[thread overview]
Message-ID: <20221208181740.7a322a46@kernel.org> (raw)
In-Reply-To: <CA+G9fYsM2k7mrF7W4V_TrZ-qDauWM394=8yEJ=-t1oUg8_40YA@mail.gmail.com>

On Mon, 5 Dec 2022 17:59:37 +0530 Naresh Kamboju wrote:
> The selftest net cmsg_so_mark.sh test hangs on all devices.
> Test case run with "set -x" to identify which steps are causing the hang.

Is it possible to get a stack trace of the script while it's blocked?
From /proc/$pid/stack ?

The test takes 30sec on a debug-heavy build for me so capturing a stack
a couple of minutes after starting should should us where it's stuck?

> Am I missing any pre-requirements / setup ?

And it works here..

The only thing I can see that may be blocking is getaddrinfo()... maybe?
Is there anything special going on with address resolution?

      reply	other threads:[~2022-12-09  2:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 12:29 selftests: net: cmsg_so_mark.sh test hangs Naresh Kamboju
2022-12-09  2:17 ` 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=20221208181740.7a322a46@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=netdev@vger.kernel.org \
    /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).