Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3908413rdb; Thu, 14 Sep 2023 06:31:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0qlWlH5hsfQAv3ylqgFlGxTfHQzgA2xclhj8U6pF4NQtQPzV7jRhEE7kngGDWB91XV8xX X-Received: by 2002:a25:858b:0:b0:d78:133e:9ab4 with SMTP id x11-20020a25858b000000b00d78133e9ab4mr5060739ybk.58.1694698277186; Thu, 14 Sep 2023 06:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694698277; cv=none; d=google.com; s=arc-20160816; b=cSztKGOW8XHzUmesZMAYJkVO/C3bGPpBYvPgLdTFgCkda2c4iJBkblcaevHmNVZOk8 C6pyNr9k+9ajQNlCvmReWkniyW/oYU0kzlxFsU1OATEoVWjvF0ycNeO4bu9ulQlnQq2U zQ+F5h0l25bsH0Om12BC4KMP/hX3VPuxjpoxtjc5XzfAnBBVmCyCB59JKV8h5d6CXmIG 1YH+pyao4sJ7pxL8N33kRYmepl8zp52OXi5T5/bDh/2hnoKzVkVOyE25Uw+vCcU9P/j9 5lO5OrzsEe+I0iH4ssX3Sc8No0j9FsDRh9zZcM6wl6Q6eS0LGrVv4hxgO2/7pGZ+AIRk wFtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bbh+Hqgix8bpVaX4eu9iLq8xrqid6o/ebu8emF0VaK8=; fh=lpU0UTPpJPQsu8GfhojRxeM2SVV6fx7E3ouqXZMrFb4=; b=usm5iB/5JEk0igEiDgGd8SyOgP0SykkyeSSVe+cq2U9b9ddJq6IDkKcM/KLh2kNL6m muOd7K7q5ZZV3zhZC7OquP0rVznGiA9FPRCY7TFNjuOYdHSqiK5ZNupQvyDs10jK/8tY nv/anbB2Xz9o0Pxz8o14gk5TnWimtJiw3Z0RcUAWayU2mVd1imXwHRXtLzgEMlrC4Etl RB+O6qtcyTpJX80C8bVyeUuJjhFgScEc4s2bv6UskfS3OHd2La9JV3up6UlNl5kacRHz 16kEyoKZJxMqAfFB6TsLgv1lE9dcj7VqkiDB8QR5APOMpEJys9uCRCpqnTaISfDwNBys 6w8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MsZpkq2Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u191-20020a6385c8000000b00577680ccf1bsi1508342pgd.709.2023.09.14.06.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:31:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MsZpkq2Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 460E88038B1A; Thu, 14 Sep 2023 06:24:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238934AbjINNYs (ORCPT + 99 others); Thu, 14 Sep 2023 09:24:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238886AbjINNYr (ORCPT ); Thu, 14 Sep 2023 09:24:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 697991BEB; Thu, 14 Sep 2023 06:24:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7D36C433C8; Thu, 14 Sep 2023 13:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694697883; bh=ApqBLmkZaOR9bG+HCuUd45NKWx9gUEFfpn0IjLXQiSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MsZpkq2Qfg4PGoVIOMmE06NU8NwcxYgQWuzHyaEdgO4eFr1TmqhlFmr3Zow5EoaoY NsyBod+a1fCTNP5TSmgFnVSn1TOyVnmR08NOdRzzpc4hroDQEoXQrOPVTxXrLyAbh1 bZqy+saUO0I+jw60sp06sPMEJ5CzQVLPF82U2v3/d/YbUfwCrT8j4bQTuVW9xLrOH8 Z/89qoW9RZsKT9zz9x2CeDZk4saVDdP5F+rg9aLHKKw9/JC8U3ufljvKGLZ7UtmbUy xzIKb2ALVWNZrWf79H2I4PIvOSF5T4M6KKF453tW+3ZBgznKKmRm0gO/RrJCGi47p8 O7vc+ggnYTsgg== Date: Thu, 14 Sep 2023 15:24:40 +0200 From: Maxime Ripard To: Daniel Vetter Cc: Brendan Higgins , David Gow , David Airlie , Maarten Lankhorst , Thomas Zimmermann , =?utf-8?B?TWHDrXJh?= Canal , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/tests: Flag slow tests as such Message-ID: References: <20230911-kms-slow-tests-v1-0-d3800a69a1a1@kernel.org> <20230911-kms-slow-tests-v1-2-d3800a69a1a1@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s2sns2gwxynnnns6" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:24:49 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email --s2sns2gwxynnnns6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Sima, (For some reason, it looks like your mailer sets up the headers to reply to every recipient but you) On Tue, Sep 12, 2023 at 09:36:12AM +0200, Daniel Vetter wrote: > On Mon, Sep 11, 2023 at 11:51:06AM +0200, Maxime Ripard wrote: > > Kunit recently gained a speed attribute that allows to filter out slow > > tests. A slow test is defined in the documentation as a test taking more > > than a second to execute. > >=20 > > Let's flag the few tests that are doing so on my machine when running: > >=20 > > ./tools/testing/kunit/kunit.py run --kunitconfig=3Ddrivers/gpu/drm/test= s \ > > --cross_compile aarch64-linux-gnu- --arch arm64 > >=20 > > Suggested-by: David Gow > > Signed-off-by: Maxime Ripard >=20 > Ugh ... not a fan. >=20 > igt has a really bad habit of making disastrously combinatorial tests with > impossible runtimes, and then just filtering these out so it's still fast. >=20 > Maybe some stress tests for overall system make sense like this, but > absolutely not for unit tests. I agree, I didn't want to reduce testing though. > And I did spot check some of these, they're just combinatorial > explosions with large repetition counts and some fun stuff like going > through prime numbers because surely that's a good idea. >=20 > Imo delete them all, and if that causes a real gap in coverage, ask > the authors to write some actual good unit tests for these corner > cases. Ack, I will send a patch doing so. Thanks! Maxime --s2sns2gwxynnnns6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZQMJmAAKCRDj7w1vZxhR xWU7AQCec2+TjFtEJCwvBH+eX+OLCselkl5YoaquXV57CrLH8gEApqmPauoZqE05 5F2myjAiz2vFlA78a+oQ1h6+efFs6Qc= =Lwvb -----END PGP SIGNATURE----- --s2sns2gwxynnnns6--