Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp11635pxb; Wed, 30 Mar 2022 21:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg7n1SPNYN/ab75KYjHTkfICQN7M8ftcFnVrguMLJGuhPozB2+9D/iYynYntOH2HC6+v1Z X-Received: by 2002:a63:574e:0:b0:380:fd62:eb66 with SMTP id h14-20020a63574e000000b00380fd62eb66mr9167484pgm.323.1648700511428; Wed, 30 Mar 2022 21:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648700511; cv=none; d=google.com; s=arc-20160816; b=ctdJYaJA96MIf7+YE6DJgwA68vTVRq1tAfQOBAWy12V2dCwe45BZacoqW6cpg3altA xJ+idr+AmLL4QoEBs0P+BN222c2uPVvUsNeoyze7eD88BljgWIAQ1qyxnvkJGUlxkJHZ lHX10NW+/lY1plH1hSGdKlOd48zFu4lN2oYmynZWmtj4F+CLomKeYYJ7PMWDlFEvEcGK aRAYb46Ww1zlKpv+KreikW8ORPHQgFh1Q1OuqQmw383cSUhkblQRwFOXMDZJlOWdgJ8v HISjDVmWXFg1nT+GbCpm6WG+zPhTipuSD22GdNqyA6PloEArn5TSAhAxhF7wDAEzpwzi BKoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2oha13URciMJUMHsLdhAfLwBD02pEz7fymz7j2GuO7o=; b=Rd2rZ7NCRKc9HGtj5YORSCiGIrfbsi7yYTKkBb2RkMvoHDjnOpJpW5Dq8C+OwnSZNo uwLDkfdJV8nhuUxc9EFTW3fQ2jUXRBmcqgExevA9FeIFLm95kn+DsxE2aOFLvxmTMy7c tyNAICz0xJvunHeTJUQR+8EVU0KB95Aqa9ICAN1PP8rM1Un2c/LMlFDExAjElQ4gI84T TVWBr3hV7RgX1OVxCH8KAq32HfodPL70jFHp2oVzBJXY2qlAW5xVzGJXLuOL8hfYbm35 LmET9UCAEcAhgjBYMpsS2BtMM2t0lbfW1F71iS9vw8CIRCFO/tDJgx2vz3rapSluGGIj yWVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wBWob6xx; 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=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w17-20020a170902e89100b00153b2d1657esi23852164plg.390.2022.03.30.21.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:21:51 -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=@linaro.org header.s=google header.b=wBWob6xx; 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=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F2FDE19E3A6; Wed, 30 Mar 2022 20:17:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238105AbiC2OvN (ORCPT + 99 others); Tue, 29 Mar 2022 10:51:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238088AbiC2OvJ (ORCPT ); Tue, 29 Mar 2022 10:51:09 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F794B406 for ; Tue, 29 Mar 2022 07:49:25 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id y38so29320281ybi.8 for ; Tue, 29 Mar 2022 07:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2oha13URciMJUMHsLdhAfLwBD02pEz7fymz7j2GuO7o=; b=wBWob6xx+smvegWHYDHGVSH5Rfy37d3hz6zthZZcPFemFXoA+nsASFgP6NQiFKIbE3 vWIaox+AyVGgFCHkBQkOiDBOn4JA/4PQ9Srx+8oeWQboWEFG+Oz0XPK/RretvIxeSW2v axIdcy+Z1oXPU8Yf1w1g4a9iSZjUFYlSOEOLV9B4L0YWFMIKobHYcFIt0CnHukEXPskB 3cta2MzhxPDYRyaqirp0WllWgLzPr2jsd3uUNvKaeOCN0mvIi8Eu5G/gKdZ9Dx4Izhj5 mXptXWPiFDrvKAG0r5K7m/8Nh827vevOIIuMJj3QhQ46ytdI51ANoB/QArDmvQD4qk6+ mvNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2oha13URciMJUMHsLdhAfLwBD02pEz7fymz7j2GuO7o=; b=O2vaNSfw52W3A3JTxL9nwWR6cnxzvhNl1/FzsX0h6urCBzflkcr7Sx6WZVStAgPbWd 0+n1Xm6RYfA0ctWmn4GLRRTPOl9KltzM3vVcn6IIJxTdVg2JtlsX+dLRnYZLvLsKNBOD W0x0ZVCXQt6TTkz/pb1nagNH7j8LeAXyMqku0uM/naGfAo5r9BmoFpMmE58VLil+3x2G rPFr04LYMnBS86QI+K1C6gCUf++8L5i1uX/Wghoodkn0S35gKtSnr6gIZTxeFNWHV7F6 wWfLRLBJRAcYE4003exVJS3PhLmgmFdESoG/VIzHNVADGjdUhhdZfXlDRkDlKE//c2IF Iz6A== X-Gm-Message-State: AOAM531oNTkUXh+3Zz2scZ4nARMG5cYlmZb1bS2KJVmBEo4rD+y7mcDH f80Ec0ys4bKHBgEbl2919alG+kfZOZS3aqlyFC/luQ== X-Received: by 2002:a25:9909:0:b0:624:57e:d919 with SMTP id z9-20020a259909000000b00624057ed919mr29015853ybn.494.1648565364194; Tue, 29 Mar 2022 07:49:24 -0700 (PDT) MIME-Version: 1.0 References: <8c81e8ad-6741-b5ed-cf0a-5a302d51d40a@linuxfoundation.org> <20220325161203.7000698c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <08c5c6f3-e340-eaee-b725-9ec1a4988b84@linuxfoundation.org> In-Reply-To: <08c5c6f3-e340-eaee-b725-9ec1a4988b84@linuxfoundation.org> From: Naresh Kamboju Date: Tue, 29 Mar 2022 20:19:10 +0530 Message-ID: Subject: Re: kselftest: net: tls: hangs To: Jakub Kicinski Cc: Shuah Khan , Shuah Khan , "David S. Miller" , Paolo Abeni , Linux-Next Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , open list , lkft-triage@lists.linaro.org, Netdev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Jakub, > >> 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. Thanks for investigation and reproducing the test failures. > > > > But I can't repro the hung, and we have a timer at the hardness level > > IIUC so IDK how this could "hang"? Did you get a chance to build and test with the config file that I have provided ? I am using kselftest-merge configs for my daily CI system [1] on gitlab. If you think the Kconfig is a test > > Naresh, is there any stack trace in the logs? Can you repro on Linus's > > tree? There is no stack trace print, it was only hung. > I couldn't reproduce this either - I have TLS=m If you want to reproduce the same build or re-use the bzImage / vmlinux / System.map you may check the provided link [1]. Step to reproduce [1]: # TuxMake supports the concept of runtimes. # See https://docs.tuxmake.org/runtimes/, for that to work it requires # that you install podman or docker on your system. # # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake # # See https://docs.tuxmake.org/ for complete documentation. # Original tuxmake command with fragments listed below. tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-11 --kconfig defconfig --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft.config --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/lkft-crypto.config --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/distro-overrides.config --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/systemd.config --kconfig-add https://raw.githubusercontent.com/Linaro/meta-lkft/sumo/recipes-kernel/linux/files/virtio.config --kconfig-add CONFIG_IGB=y --kconfig-add CONFIG_UNWINDER_FRAME_POINTER=y cpupower headers kernel kselftest kselftest-merge modules [1] https://builds.tuxbuild.com/26mKij4yB5Q6WUpOyHHEoHLstVJ/ - Naresh