Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2370938pxb; Fri, 25 Mar 2022 16:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydnuBspJYAAjtw5vadrlcL3fZKMjUk593pmhcsxTnhlEyxIMm0gOEuIg44p4To/lbudjET X-Received: by 2002:a17:90b:3c0d:b0:1c7:ecae:e609 with SMTP id pb13-20020a17090b3c0d00b001c7ecaee609mr5549974pjb.61.1648251402879; Fri, 25 Mar 2022 16:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648251402; cv=none; d=google.com; s=arc-20160816; b=uFnoBju48xmY92Wv20N8NC9SCQxIdO7XXfRIymVTG8Q7GdlaY8INaZyLnfj95G6Viv xptwbTjVyV56LE6Dry+Ay9MJui6xk73Jz4T3TAILZU46e4xZqSc9fJgV5DbV69KxP0U2 E3rAqWCcjJdA3arQLUhUXTSi9MLRNYSpPGYR+Zxwv4MOGaiN0+DhX5IMqV9WTwkQcIAP MeLzTwxPsCLvsVepIl9sKDwtTvot5BcHsIuHPiobldJSzMCwy08R+Hdd+OG1xh7XdX3V PIVBKPLSUPyDIjnAn9wYLf8QgkwQK7HbrYhA9O0ed7bUAn2fJPlbFZO75GZ8BXPNQRfu iplw== 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=8n3d4S/YSkQoqUwfBboKnHbSRVJZyH5CcA5+/QRjKQU=; b=bf7b6ARr2kf/KTeI7B2Yhywvyu8NGLquU2ssualcO+12FHUi/i0tJMuWfRUofrTX48 6Gd9LSi8JN7yKhylCy6KUWegN5JEucI91+qNDj7Ik/MVd/4834YtDc5WA8HdgVvu4sh3 djghCr+5OOlx6Bj5zscdi+i6epmSakhinn51n3ksLe1ipHuKtboHH2EGCWxCvxNJVPac 3o4Grv+OAq0T+OoY380zWv8wYBFCYqQfTTyNCBbTwk53EwyOZ/cYhhj6yuWAQAcVK5+P tdddzsl2Vk0YTCmPVf+c2WNR5leNZVMNeNP4S+QRpJ65SHwqhwe2GV89WP0iKqPTX9tS hf7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ek59Z3uv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t11-20020a63460b000000b003829ad9d9basi3734090pga.788.2022.03.25.16.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 16:36:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ek59Z3uv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36CF3710EB; Fri, 25 Mar 2022 16:12:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234127AbiCYXNm (ORCPT + 99 others); Fri, 25 Mar 2022 19:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234029AbiCYXNl (ORCPT ); Fri, 25 Mar 2022 19:13:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DF71522E4; Fri, 25 Mar 2022 16:12:06 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 00E7A61744; Fri, 25 Mar 2022 23:12:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECE0AC2BBE4; Fri, 25 Mar 2022 23:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648249925; bh=rca50a/MBSKGcXibi+6OsSu/0GluBeVQE48yXlUn5Wo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ek59Z3uvGRyrKysXMw8xAX+tagCv00LsHDEQHKWoo7rLCFOZbpWGiXxfTCATZzISl d+1ieHRRfPCVS2ImeDrqxvWebuoJdEt1NfC8YJ6VImsZQR+XGgoxNVXvUrFKQJM+KE F0Stp4aK1LSQ4B+7NR5makSJTHf5I0ye4iJ0KZ7UFkuPb3F7JEw6br4fQsLCaPxSuu PWoYUuF4WGN+f4cRC8DSuI21O0x+sObWbilAbqUwz9zM47AhjoxGKdpSVaTCMC+25x MzZe/p6I5zcPh8t/BlxiuHnROYvz67z74cOjlJ+MpucQpk4AN6he4gFT7Q8UAM4imV EagBhg5l+iChg== Date: Fri, 25 Mar 2022 16:12:03 -0700 From: Jakub Kicinski To: Shuah Khan Cc: Naresh Kamboju , Shuah Khan , "David S. Miller" , Paolo Abeni , Linux-Next Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , open list , lkft-triage@lists.linaro.org, Netdev Subject: Re: kselftest: net: tls: hangs Message-ID: <20220325161203.7000698c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <8c81e8ad-6741-b5ed-cf0a-5a302d51d40a@linuxfoundation.org> References: <8c81e8ad-6741-b5ed-cf0a-5a302d51d40a@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, 25 Mar 2022 16:13:33 -0600 Shuah Khan wrote: > > # # RUN tls.13_sm4_gcm.splice_cmsg_to_pipe ... > > # # tls.c:688:splice_cmsg_to_pipe:Expected splice(self->cfd, NULL, > > p[1], NULL, send_len, 0) (10) == -1 (-1) > > # # tls.c:689:splice_cmsg_to_pipe:Expected errno (2) == EINVAL (22) > > # # splice_cmsg_to_pipe: Test terminated by timeout > > # # FAIL tls.13_sm4_gcm.splice_cmsg_to_pipe > > # not ok 217 tls.13_sm4_gcm.splice_cmsg_to_pipe > > # # RUN tls.13_sm4_gcm.splice_dec_cmsg_to_pipe ... > > # # tls.c:708:splice_dec_cmsg_to_pipe:Expected recv(self->cfd, buf, > > send_len, 0) (10) == -1 (-1) > > # # tls.c:709:splice_dec_cmsg_to_pipe:Expected errno (2) == EIO (5) > > [ 661.901558] kworker/dying (49) used greatest stack depth: 10576 bytes left > > This seems to be the problem perhaps. > > Jakub, any thoughts. The last change to tls.c was a while back. Yes, sorry, kicked off a build and got distracted. I can repro the failures, TLS=n in the config I must have not tested that in the new cases. But I can't repro the hung, and we have a timer at the hardness level IIUC so IDK how this could "hang"? Naresh, is there any stack trace in the logs? Can you repro on Linus's tree?