Return-Path: Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2057.outbound.protection.outlook.com [40.107.237.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D7386EB21 for ; Thu, 14 Oct 2021 14:47:12 +0000 (UTC) References: <20211008190251.3709425-1-Rodrigo.Siqueira@amd.com> From: Rodrigo Siqueira Jordao Message-ID: <40a30322-4ba6-8736-718f-70302d84f0bf@amd.com> Date: Thu, 14 Oct 2021 10:47:08 -0400 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t] tests: Add amdgpu test suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: =?UTF-8?Q?Martin_Roukala_=28n=c3=a9=c3=a9_Peres=29?= , Rodrigo Siqueira , Nicholas Choi , Hayden Goodfellow , Mark Yacoub Cc: Harry Wentland , Sun peng Li , Alexander Deucher , Simon Ser , igt-dev@lists.freedesktop.org List-ID: On 2021-10-11 4:44 a.m., Martin Roukala (néé Peres) wrote: > > > On 08/10/2021 22:02, Rodrigo Siqueira wrote: >> Add various test suites relevant for the amdgpu driver. >> >> Cc: Harry Wentland >> Cc: Nicholas Choi >> Cc: Rodrigo Siqueira >> Cc: Sun peng (Leo) Li >> Cc: Alexander Deucher >> Cc: Martin Roukala >> Cc: Hayden Goodfellow >> Cc: Simon Ser >> Cc: Mark Yacoub >> >> Signed-off-by: Rodrigo Siqueira >> --- >>   tests/amdgpu-ci/README                 |  31 +++++ >>   tests/amdgpu-ci/fast-feedback.testlist | 135 +++++++++++++++++++ >>   tests/amdgpu-ci/full-feedback.testlist | 173 +++++++++++++++++++++++++ >>   3 files changed, 339 insertions(+) >>   create mode 100644 tests/amdgpu-ci/README >>   create mode 100644 tests/amdgpu-ci/fast-feedback.testlist >>   create mode 100644 tests/amdgpu-ci/full-feedback.testlist >> >> diff --git a/tests/amdgpu-ci/README b/tests/amdgpu-ci/README >> new file mode 100644 >> index 00000000..bd34245c >> --- /dev/null >> +++ b/tests/amdgpu-ci/README >> @@ -0,0 +1,31 @@ >> +This directory contains test lists that are used by AMD's CI. The >> +files are passed to piglit with the --test-list parameter directly. >> + >> +The test lists are contained in the IGT repository for several >> +reasons: >> + >> +- The lists stay synchronized with the IGT codebase. >> +- Public availability. Kernel developers can see what tests are run, >> +  and can see what changes are done to the set, when, and why. > > Thanks for doing this! > >> + >> +Changing the test lists should only happen with approval from: >> +- Harry Wentland >> +- Nicholas Choi >> +- Rodrigo Siqueira >> +- Sun peng (Leo) Li >> + >> +====================== >> +fast-feedback.testlist >> +====================== >> + >> +Fast-feedback contains tests that roughly tests a wide coverage of >> features in >> +a short time. We use this list for presubmission validation. Results >> of a >> +fast-feedback test round should only be considered to mean that the >> kernel is >> +not obviously broken. > > It would be good to have a target execution time for this list. ~10 > minutes and 12 minutes in the worst case has been working for Intel, but > what would you like to use? Good point, We already use this testlist in our pre-submission patches. Nicholas Choi and Hayden, from your experience, what is a good execution time for this list? >> + >> +====================== >> +full-feedback.testlist >> +====================== >> + >> +This is an extensive set of tests that takes a long time to complete >> in which >> +we usually use as post-submission. > > From experience, I would specify the full list as a opt-out, rather > than opt-in. Otherwise, you will soon realize that it takes a lot of > time and energy to maintain the list to always add new tests there. > > By opting out of i915/gem/nouveau/udl/... tests, you will at least get > every new KMS test by default. > > Is that making sense? Hmmm... Could you elaborate a little bit more on how I can use the opt-out behavior? Also, I suppose that opting out will enable all tests, which means that we will have a lot of failures in this report for AMD, right? We still have a lot of IGT tests that only pass on Intel hardware (we are trying to fix that), and I'm wondering if it really makes sense to enable everything for AMD right now due to this limitation. Additionally, we use this full-feeback list in our nightly build to identify regressions in our amd-staging-drm-next; that's why we usually don't want to run tests that fail in that. Thanks Siqueira > Martin