Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2386893pxb; Fri, 25 Mar 2022 17:01:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGGmfoa7A6rWHqgOG8ZFMw/jOcmRu7vUKzDa4sFadTtXTm0QOlOCZdXTINh6yQiWOOsVdk X-Received: by 2002:a17:90a:aa98:b0:1b8:5adb:e35f with SMTP id l24-20020a17090aaa9800b001b85adbe35fmr15719611pjq.192.1648252867214; Fri, 25 Mar 2022 17:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648252867; cv=none; d=google.com; s=arc-20160816; b=wJrpe4+UpDtdjvAnxbj8D5LmQY/U1pFkMl4E7PjZeAfuHUjv151mbVVqFXYN/DG8p+ G9ZcUmqgzBPSyaRFJGNqojnpSy799IqcnSOi3YNPncvKpsXu9zpihHZUffHz2s1wOycG GkcoK1ElKQzh8pNrY/GaaRWF9RDx1T9qthY4RCaVNAf2Wc2idYGDPTln32zgqGq06AHM Cu4IKbn8mv/0JSN5J3WAYupaZVrBgB0GavAxQ1+PbGUUbYKCIX3USUlMoHseNI2isMnG tR0RdbWuZsXHP6qnBBsBIHZfw5TWjfGgZPZf9qUXQ2kRzrLCKaDEdoC1BBLdt577Oepm vAMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=NzU86xZaAdGK70/Ylql0VEFWbXnUz3zwu9f5VKchj38=; b=FZaz7Pi6I+HPhsd0Vs5ZDvQnHWtif+2KRb7r19v5cMPvMf6ZpasYx25Qdl9vpHwPK1 Mt8tEILEW5BnIO3zg2gXMCAlHUVTxH1+aw0dMDhzn/aT8+BOApT2QmvIJ8p+tGsGFdxw AancVwtHVbUfbwUizAMc4QOl0KjMvbBxjXlCHiO4Pi0WyM1pUJ0xB6YmKC5H7pCG6e42 MycbjkNzb4gGt2Xzf30TlwGRTb+utQVws88sqcPl1N2/8fmddgb/G38MVsAOKz44E+mq 95Hh6Ga1CDZXH6XvtygTiKeKMmRa++eSBpruml1w+WKMT9k1pY8alT3EHesQbzRJWXQh T1cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=TvokyQbY; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r64-20020a632b43000000b003822812b5f3si3468683pgr.568.2022.03.25.17.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 17:01:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=TvokyQbY; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 29175E2F74; Fri, 25 Mar 2022 16:34:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbiCYXgH (ORCPT + 99 others); Fri, 25 Mar 2022 19:36:07 -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-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 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 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