From patchwork Thu Jul 13 21:16:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthieu Baerts X-Patchwork-Id: 12022 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2100789vqm; Thu, 13 Jul 2023 14:33:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGq3ziMBXc7J8yO7KX7FmCWpgAWH69USCoA5eQoSRTWlKtw2qdoDNVntnFIKa0WrNVQiPpe X-Received: by 2002:a05:6a21:339b:b0:10c:dd4f:faa7 with SMTP id yy27-20020a056a21339b00b0010cdd4ffaa7mr2740811pzb.1.1689284016683; Thu, 13 Jul 2023 14:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689284016; cv=none; d=google.com; s=arc-20160816; b=ndjCYS7kVFNwlJYqrwtStcUcXhg3SfjC+rJlfqqVk9WIRauV6HPXs1Srna3JgGt6r1 aMqa68YuaJyZWOS8JXoPCkHDmBiOcBPJf3QD66/xGGPjZ9G0NNX9tkSgCxD4m/bb2C6v 3FSJhha1YkFiGjvR3hztTr96RvXitWUi/homVYsjUW+kbVHxb+ai8IY1XxeVwUwA+fyo b6PsAalQ5SzzDQjlQF8NdZoA3OpyJKMJS6F9m6KzuBtvYsMY085lNqJEUbDb31xEFLju d/h4xom9mq3TjGkD7rq2IaOqYMNp96H7w1eG7gMQjshRWB5+G+jHXFBp2Vzo7V+lKhCY 5Xog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=0SJ39/4emjSBqidxqqm+hSVoBmdKYwJWI9c6gIRJrwY=; fh=h3LiGBUm6eulEm9fBUf+17++RIrJdMtcr/w/s+mUUDE=; b=0QgSl9Hb56Hkn/ABlYi7cgS+Hn92aOpux9pnkyRT6Gu/5e1CMjsDwoKJSroc8ZXT+P 9c5H7H251N3uRSLnknp4k9dn4nzgHPV8KKadYMqPh0gKWOQ9y3GPD2VkU8kIKOrckut5 +ZLiFNLTJ585CeKymX7RhjUendWmhi2DdPMXCg0wWtm778NMh+K4BwTy6YpniNntavRI MNawtdR5pNlgp3DZknlE1ZpFU/gOgWx22xpXZ+Oxd5j/C3/5NNUTk4i7eVkSEkJ9HXcs p8JVl/f/cRg1DKyqCijkIe112bNVddbSgKXmXijCkXbSL2JeTzHfqJ6jZERKdSF1Coip uPWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=MQOKyAjP; 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=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t33-20020a634461000000b005582ab00bedsi5841388pgk.387.2023.07.13.14.33.23; Thu, 13 Jul 2023 14:33:36 -0700 (PDT) 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=@tessares.net header.s=google header.b=MQOKyAjP; 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=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233609AbjGMVRv (ORCPT + 99 others); Thu, 13 Jul 2023 17:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjGMVRt (ORCPT ); Thu, 13 Jul 2023 17:17:49 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 360002D53 for ; Thu, 13 Jul 2023 14:17:45 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fbc5d5742bso9920895e9.2 for ; Thu, 13 Jul 2023 14:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares.net; s=google; t=1689283063; x=1691875063; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=0SJ39/4emjSBqidxqqm+hSVoBmdKYwJWI9c6gIRJrwY=; b=MQOKyAjPYTanB89cWMCX2J4We8mHG/LwU02ZcPmSgvFXX3VCxt/Gmx+J1azXF3R6Yu kcZ7fHr7qI1B148BEzwGy4YwZlRXHns/ugmQ/gvvf6bYFUSC5BiBuZqZt912g4NVqHY8 2dA7NLxQ0fEZcLM6uMflFeSsnhAs1wvKDjMc9DLqH1XZCwVdt1e4H1LVRptsM1XHVxln VMOxXII4JBos2e5ca7dSGI9hlq/pVSiNHy67kW5dVmSfEpz4LB/w9Gf8Nm8PgHYm2Xgk fnfth5OVGJ0WCDxZQ9Rb7BMRcrrDaorWW6RiWeK5d/epMXUkey8zak8iLGf5Jg9Vylhm aaBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689283063; x=1691875063; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0SJ39/4emjSBqidxqqm+hSVoBmdKYwJWI9c6gIRJrwY=; b=R1cfwPvr5Bom3ccdMJHzyqyOldc8BVKEa5ZCrRurksoGo0BW5fQT/lT4dVCwx1AyK3 zIIxa9hOqJ7kADWaa7HQ8rQRcLLJP4ctCFSVeDuPolGMoxx5inhvDZLN3xyM9iV47prA eL+EPYxvYvyA6MrM0n/2ssC7UHpHQEbL4T3ZwwglgdLi1oCXSI4uGJf+4DrJUiiZIOnq IW9wwDH3EAPkvUvFfVvAKcBJdDIW+PBcy9a3+Jli5uuYxQdK4v5GHToQtIWmY/1sOHmQ GruDeIn7fQI/lHPbEydFAkcVikgyEdPYG5KKNPlrKyEUDIJDRdvqN8GnAsH6X0L9H+ED hw+w== X-Gm-Message-State: ABy/qLaQvOkwP7lfd3K0yTypglkcCFbvrHPdkiny3yBFJEgPjV5Z/qYi 6RsZEYni6f+VS2dHPLwAo4MHig== X-Received: by 2002:a7b:cbc9:0:b0:3fb:e1ed:7f83 with SMTP id n9-20020a7bcbc9000000b003fbe1ed7f83mr2882736wmi.33.1689283062844; Thu, 13 Jul 2023 14:17:42 -0700 (PDT) Received: from vdi08.nix.tessares.net (static.219.156.76.144.clients.your-server.de. [144.76.156.219]) by smtp.gmail.com with ESMTPSA id m20-20020a7bcb94000000b003fbfea1afffsm8734136wmi.27.2023.07.13.14.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 14:17:42 -0700 (PDT) From: Matthieu Baerts Subject: [PATCH net 0/3] selftests: tc: increase timeout and add missing kconfig Date: Thu, 13 Jul 2023 23:16:43 +0200 Message-Id: <20230713-tc-selftests-lkft-v1-0-1eb4fd3a96e7@tessares.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALtpsGQC/x3MQQqDMBBG4avIrB1ITLXYq4iLon/qUIklM0hBv LvB5bd47yBFFii9qoMydlHZUoGvK5qWd/qAZS6mxjXBPX1gm1ixRoOa8vqNxqELeLS9i961VLp fRpT//RwowWg8zwsrw3IxaAAAAA== To: Jamal Hadi Salim , Cong Wang , Jiri Pirko , Shuah Khan , Kees Cook , "David S. Miller" , Paul Blakey , Marcelo Ricardo Leitner , mptcp@lists.linux.dev Cc: Pedro Tammela , Shuah Khan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, Matthieu Baerts , stable@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1319; i=matthieu.baerts@tessares.net; h=from:subject:message-id; bh=X7TmH0nuyH8IYOau93/uRL5n5B40ehly9tSIh/k77XU=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBksGn1fSBHW3xBP1UUe+C5C8geDtkmfExF5YBV1 KB1xfHHozKJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZLBp9QAKCRD2t4JPQmmg c2IiD/4275C6eSBB6If2iVSrVVuu040rBtAxF3vjZTgGMw4h1d+VzvS52fSGSIksGR8bdY0gjED UnmPuLzrChpaGx+m8o8fuVpTgFLQNUn6BUt3Q68ipTHyWVQDMBSgW80Djso53UtEmSKZqRSBsXH cCHlqwShwov5L7sl6kQz5a9skY8LJPJAWxAUz5kSkHobGdmQpSwO/DPqryh9SY+1D08GKVoA0Va 4Qyjxw9CWe2EsjHfF6nShg7ufvS5hALVhw5cG68jOhIypW/DNnUvUFjaKaZHYRUjTOaj4RDJA/+ 4o5mqV1FkNGcSh7fJArppllho7Uu3f7UlO+xL6eS0Hw6+09lsqR4xuFCsGetegggREG3S3LpYNa hhQu9xkgAvCbyI1a9dlZJCIoNHZyaafvRpaOqqBVlIofwEXPnKJaRSgylHtC4rAKtH3Le8lcP4f RJP5G5VN4mTwd/kfGHccEEviE+OBdGyD6GZAh+fJQz0Yo3F9IVeRGW+S3+zlfZOhZmCFFAzkIk1 y5X3DK27ZQ6o+Na+sLw3htKtxW/Yixy4Np1IPAVsB5W5qA8U7s8UfXksSIRXcUYGGSb7gtsqkeS vDsqBg+WiFThnjxvJAsJuOZyRBJ/CyTaQeJFTXwVk6HoRjFQyhpz3yM2VX4E/kIulcaZqI+Tzt1 8YasD0mMn5Z06Mw== X-Developer-Key: i=matthieu.baerts@tessares.net; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771342677538116745 X-GMAIL-MSGID: 1771342677538116745 When looking for something else in LKFT reports [1], I noticed that the TC selftest ended with a timeout error: not ok 1 selftests: tc-testing: tdc.sh # TIMEOUT 45 seconds I also noticed most of the tests were skipped because the "teardown stage" did not complete successfully. It was due to missing kconfig. These patches fix these two errors plus an extra one because this selftest reads info from "/proc/net/nf_conntrack". Thank you Pedro for having helped me fixing these issues [2]. Link: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230711/testrun/18267241/suite/kselftest-tc-testing/test/tc-testing_tdc_sh/log [1] Link: https://lore.kernel.org/netdev/0e061d4a-9a23-9f58-3b35-d8919de332d7@tessares.net/T/ [2] Signed-off-by: Matthieu Baerts Acked-by: Jamal Hadi Salim --- Matthieu Baerts (3): selftests: tc: set timeout to 15 minutes selftests: tc: add 'ct' action kconfig dep selftests: tc: add ConnTrack procfs kconfig tools/testing/selftests/tc-testing/config | 2 ++ tools/testing/selftests/tc-testing/settings | 1 + 2 files changed, 3 insertions(+) --- base-commit: 9d23aac8a85f69239e585c8656c6fdb21be65695 change-id: 20230713-tc-selftests-lkft-363e4590f105 Best regards,