Re: selftests: net: cmsg_so_mark.sh test hangs

From: Jakub Kicinski
Date: Thu Dec 08 2022 - 21:17:50 EST


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?