Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1984074rwb; Thu, 8 Dec 2022 18:28:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5F2VQp46lNfquFoCqj8Z+O6RJuPHEKcuWKpCRVEQUSABp8QHeIEUGaorA6arY/5udMULlG X-Received: by 2002:aa7:c9c7:0:b0:461:2030:71ce with SMTP id i7-20020aa7c9c7000000b00461203071cemr3521929edt.30.1670552922343; Thu, 08 Dec 2022 18:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670552922; cv=none; d=google.com; s=arc-20160816; b=dJL04BTHToXCe9eWD4ZAg4WP1R/ppibSsWDi7fbDN7QujPjkf3/caeAXMe0/znXYQn uJpkO5+7ffYo5LKY/l2LrQ7DQdAtHGqojbYrzjm82N6XWD8XczpI0NusJzzVMl+tz7ZE EXrMTQEN2AKsrz5pB0kk1Bqqh3sm16D5DESIhBrJ09sF+12nrprVdVtaHO44mwgHsmF7 yZPXNCvazi5Sg7CNQ9Gz1NS4d8niqDHhJIf8yXUwDiYwovGjgP2duE53vXpv6p7m45dr HVwAwccwQgpHN3TsttEBlo7e0I+clWNZsgKSk+DpPk2QlJZcukzZuSV9+os4D96Yi2Gx NuYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jy4TXYOW1L8kAIgjEyfRm7pFWKk4DQK8fiyxC8IyzIM=; b=XZDmOyJJlHvx6Sxz/EMunUoKM5GW78WgEI4bbazqLBTLTRXS1UpddKoh0jILAZuY9r UdlXU9XIAV5NNEiTGTofrHDRmvBYQ9N/5k1JM8LJMk0S1bLtcCkxGzbBpM64bhkvf9Dl ocrqbhpMH9OC0uQPhYoF0AWcinASMrziizEu+o9PiorvgKLmgMai0s9EHOjC3C9iPK/+ nZZPZCZxyeHlgqESzJl0YVzSgvoPG1gzF8sh1RPJeVgaCt1D2WAVG/a/LNXXDed4J7Fy 1iJfnrhncwpyDegnRkbB21wv+QwximvNzx8zeG62UCxKMuEM6anFEZwiOhUbXDV4LCso 9v7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q1oqiA/E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c31-20020a509fa2000000b00469cdb77fe2si273773edf.83.2022.12.08.18.28.24; Thu, 08 Dec 2022 18:28:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q1oqiA/E"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbiLICRs (ORCPT + 74 others); Thu, 8 Dec 2022 21:17:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiLICRq (ORCPT ); Thu, 8 Dec 2022 21:17:46 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29ECE1DDF0; Thu, 8 Dec 2022 18:17:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CAD22B82607; Fri, 9 Dec 2022 02:17:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65C94C433EF; Fri, 9 Dec 2022 02:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670552261; bh=jy4TXYOW1L8kAIgjEyfRm7pFWKk4DQK8fiyxC8IyzIM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=q1oqiA/EVBymLnDzKwCLl7yjf8CGv8GcB4AoEvALYBNoOdq/6K95orLFCADGr+aKY PuOX9YUXYWKZTaJgGs+BR769ofMYZ0J2vqEc7AAJOhcQxM0Z++/Da28EcDh0qhH35j MnaAd+uASvaZ0O8nfayJnSOCJIvSYHfn6wMTS9nbGY8byCFJBah+6QRFffSX4zQXYQ a9C5swhNoqv0RWUwrLj+wE91B0vpzogk3hkQf49d/jGessM0NCDc8XMX4nX9vZSqiF 9iBvdlt8n+F/BSZcYaQgLRjHUmBd394P1chsHqNYukPRJmoTQfaSCwGLmcBXYM/+9S uG2HX8OfZMaqg== Date: Thu, 8 Dec 2022 18:17:40 -0800 From: Jakub Kicinski To: Naresh Kamboju Cc: Netdev , open list , "David S. Miller" Subject: Re: selftests: net: cmsg_so_mark.sh test hangs Message-ID: <20221208181740.7a322a46@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? =46rom /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?