From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0C16C433EF for ; Fri, 25 Mar 2022 23:34:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234250AbiCYXgL (ORCPT ); Fri, 25 Mar 2022 19:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234231AbiCYXgE (ORCPT ); Fri, 25 Mar 2022 19:36:04 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73518E2F4C for ; Fri, 25 Mar 2022 16:34:29 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id w127so9821012oig.10 for ; Fri, 25 Mar 2022 16:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NzU86xZaAdGK70/Ylql0VEFWbXnUz3zwu9f5VKchj38=; b=TvokyQbYjz/bU8RXDbUmZTN5CfzDWJFx3PmF3AxOUPnbb6m1OlHuiLtOZhh55des80 5bVM7+hehCyFX7lW9rkWGDGxEy+AT6pbsE2TGMOa+mObx4ni/WYOhw+zr3z5Z+TAeHbr skqnmQNn2ONyi3KYF27Qeaa5zSPyAN5MZDUME= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NzU86xZaAdGK70/Ylql0VEFWbXnUz3zwu9f5VKchj38=; b=1u61L6cYws7BktvPW0Jy2nke1AtyD+mcYAqygfBmK0+8TJJAfB9syu482sys322bmV rwnGwa6DoM6+EUCe8hJtkn3dZnv+srx249RL2LB3Gz7anfGA/4RkT3JiaXUhDndXJdTf TBTMeILdG2d2PhcnIMr+D/i+f20oK3H7lW7Tq5l4rUurJN/jEQehL1gxt7hHYFIZi2Ys kUHi81iaNdBHWmhVOz4YRubEdquUA7jMwWGZCe6Gw40GnwSEjxUv59CnpMMsPbhwDu54 6xKVcKGicSD5fYI9qEzO2J3oVnuJO+UxACUZe1RiM0TfSAVTwgcblrUqr6TYpI6vr2iB BvRg== X-Gm-Message-State: AOAM530Bc60XS70lA1LDf+etMEboH4UFW5Rwm3U3xbSfEcjxj8sTfAkm z8kSFl1Z2XFWxhFEtiHHNTx69A== X-Google-Smtp-Source: ABdhPJzypVCEjWeYdeWGllov1AsB7BD9SYlONC7Lg5sTzPKknX6lsHwfE5yOvbucTxzf86+gPV6+uQ== X-Received: by 2002:a05:6808:1999:b0:2d9:f6ef:f875 with SMTP id bj25-20020a056808199900b002d9f6eff875mr6855311oib.6.1648251268752; Fri, 25 Mar 2022 16:34:28 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id u7-20020a05687036c700b000da4bcdae42sm3138649oak.13.2022.03.25.16.34.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Mar 2022 16:34:28 -0700 (PDT) Subject: Re: kselftest: net: tls: hangs To: Jakub Kicinski 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 , Shuah Khan References: <8c81e8ad-6741-b5ed-cf0a-5a302d51d40a@linuxfoundation.org> <20220325161203.7000698c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Shuah Khan Message-ID: <08c5c6f3-e340-eaee-b725-9ec1a4988b84@linuxfoundation.org> Date: Fri, 25 Mar 2022 17:34:27 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220325161203.7000698c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/25/22 5:12 PM, Jakub Kicinski wrote: > 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? > I couldn't reproduce this either - I have TLS=m thanks, -- Shuah