From patchwork Tue Oct 24 00:45:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helen Mae Koike Fornazier X-Patchwork-Id: 13433786 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6F491C25B6B for ; Tue, 24 Oct 2023 00:46:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Su57Xkvl/LjeGN68nF0iYzmv7wk8X6PeJwo5gLZU4J0=; b=fujoPXDWtOxXIs MjpTrb1hfttg93sK8QZ+rgsWsyBYSj3Iy7WEs7SKDioUNzmJdiI4e8xceHynGGEC0STj3TRB4zoEq fo/cxPJQE59w/kNMJx2pZyAzzRYvWnc0lx4q9/VsotV0kHeYlXbaPGjLl2DzoDX9GhMe5+zskStEZ a9rHMURPI/4egv/GaJ5KoK678lJb+bZPN2J7OzGCE/wgUmsEnd1iZK2xH28f4NyDAx7ID4YWQlv1d lq4TMdKxCepIeSIoM2d/QXi3rs6nz3gsIeEyL0tY8qct5OQWiZWzRj2IKtV6gTa4lLh1gG0wBIV13 +fltJRF3JxYBY2jU9U5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qv5Yi-008XNb-29; Tue, 24 Oct 2023 00:46:12 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qv5Yf-008XMu-0i; Tue, 24 Oct 2023 00:46:11 +0000 Received: from localhost.localdomain (unknown [IPv6:2804:14d:e646:872b:1c98:7e30:3cb0:3153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: koike) by madras.collabora.co.uk (Postfix) with ESMTPSA id 41A42660576C; Tue, 24 Oct 2023 01:45:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698108363; bh=SaswpbkVdrBVcEGwp2lysUkf3YilP1553pBismvxcjA=; h=From:To:Cc:Subject:Date:From; b=FFExJTwgJfJ1YZGhj9AzbLdAUhcCUl7vNL/Awb7A0/xQjNofjw5SyM10sNLwdbmFT uYzDioj9bfSZDBneky+GDZ9c+JywnWD21SNM0dOFAWr8hLi8S/iRxcw6ZlGQF66qmq VogL9/FhDcS9Okopg8JBJ3uEmLvIUEynTrFEtA/BPdv6vwYU4ccNHmL9knpPwhliga 3zwsAFuiGb+NdrFZgqK4oPA4jFFfxdmw5oQPf8LHg4v850fM+YL6TRrjyCgtp905HH 4M324hoKmU+GX6KM75r8Z/My9p1hDsA7j+hvc2Va3EpLEJasXXOkaY8+K7kneIQJmc qHpEQGEmhXMQg== From: Helen Koike To: dri-devel@lists.freedesktop.org, Matthias Brugger , AngeloGioacchino Del Regno Cc: robdclark@chromium.org, dmitry.baryshkov@linaro.org, vignesh.raman@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, david.heidelberg@collabora.com, quic_abhinavk@quicinc.com, quic_jesszhan@quicinc.com, mripard@kernel.org, daniels@collabora.com, Helen Koike , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 00/10] drm/ci: fixes and improvements Date: Mon, 23 Oct 2023 21:45:15 -0300 Message-Id: <20231024004525.169002-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_174609_590989_73582578 X-CRM114-Status: GOOD ( 15.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series contains the several fixes, making drm/ci much more reliable and useful. Highlights: * Current DRM/CI in drm-misc is broken, this series fixes it with mesa uprev (commit 1/9). * The fails.txt and flakes.txt lists were generated by a bogus script, this series restart that initial list from scratch (commit 5/9), which reduced considerably the number of flakes. * Jobs are run in a subset of available DUTs in the Lava farm (commit 6/9) to not block merge requests for Mesa3D. * Add python script update-xfails.py to update the xfails lists (commit 3/9). Tested on https://gitlab.freedesktop.org/helen.fornazier/linux/-/pipelines/1014358 To work properly, the following patches are also required: [PATCH 2/2] drm/ci: force-enable CONFIG_MSM_MMCC_8996 as built-in https://patchwork.kernel.org/project/linux-arm-msm/patch/20231008132320.762542-2-dmitry.baryshkov@linaro.org/ [PATCH] drm/ci: Enable CONFIG_BACKLIGHT_CLASS_DEVICE https://patchwork.kernel.org/project/dri-devel/patch/20231002164715.157298-1-robdclark@gmail.com/ v3 changes: - adjust timeout of i915 so jobs can pass - small adjustments in the flakes list - point requirements.txt to new ci-collate to fix flakes - update to latest version of mesa to get the patch that disables bare-metal retries - fix typos Helen Koike (10): drm/ci: uprev mesa version: fix container build & crosvm drm/ci: fix DEBIAN_ARCH and get amdgpu probing drm/ci: add helper script update-xfails.py drm/ci: uprev IGT and make sure core_getversion is run drm/ci: clean up xfails (specially flakes list) drm/ci: add subset-1-gfx to LAVA_TAGS and adjust shards drm/ci: increase i915 job timeout to 1h30m drm/ci: export kernel config drm/ci: do not automatically retry on error drm/ci: docs: add step about how to request privileges Documentation/gpu/automated_testing.rst | 7 +- drivers/gpu/drm/ci/build.sh | 3 +- drivers/gpu/drm/ci/build.yml | 1 + drivers/gpu/drm/ci/gitlab-ci.yml | 38 ++-- drivers/gpu/drm/ci/igt_runner.sh | 31 ++- drivers/gpu/drm/ci/image-tags.yml | 6 +- drivers/gpu/drm/ci/lava-submit.sh | 6 +- drivers/gpu/drm/ci/test.yml | 34 +-- .../gpu/drm/ci/xfails/amdgpu-stoney-fails.txt | 12 +- .../drm/ci/xfails/amdgpu-stoney-flakes.txt | 20 -- drivers/gpu/drm/ci/xfails/i915-amly-fails.txt | 9 + .../gpu/drm/ci/xfails/i915-amly-flakes.txt | 32 --- drivers/gpu/drm/ci/xfails/i915-apl-fails.txt | 11 - drivers/gpu/drm/ci/xfails/i915-apl-flakes.txt | 1 - drivers/gpu/drm/ci/xfails/i915-cml-fails.txt | 14 +- drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt | 38 ---- drivers/gpu/drm/ci/xfails/i915-glk-fails.txt | 17 ++ drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt | 41 ---- drivers/gpu/drm/ci/xfails/i915-kbl-fails.txt | 7 + drivers/gpu/drm/ci/xfails/i915-kbl-flakes.txt | 25 --- drivers/gpu/drm/ci/xfails/i915-tgl-fails.txt | 1 - drivers/gpu/drm/ci/xfails/i915-tgl-flakes.txt | 5 - drivers/gpu/drm/ci/xfails/i915-whl-flakes.txt | 1 - .../drm/ci/xfails/mediatek-mt8173-flakes.txt | 0 .../drm/ci/xfails/mediatek-mt8183-fails.txt | 5 +- .../drm/ci/xfails/mediatek-mt8183-flakes.txt | 14 -- .../gpu/drm/ci/xfails/meson-g12b-fails.txt | 14 +- .../gpu/drm/ci/xfails/meson-g12b-flakes.txt | 4 - .../gpu/drm/ci/xfails/msm-apq8016-flakes.txt | 4 - .../gpu/drm/ci/xfails/msm-apq8096-fails.txt | 2 + .../gpu/drm/ci/xfails/msm-apq8096-flakes.txt | 4 - .../gpu/drm/ci/xfails/msm-sc7180-fails.txt | 15 +- .../gpu/drm/ci/xfails/msm-sc7180-flakes.txt | 24 ++- .../gpu/drm/ci/xfails/msm-sc7180-skips.txt | 18 +- .../gpu/drm/ci/xfails/msm-sdm845-fails.txt | 9 +- .../gpu/drm/ci/xfails/msm-sdm845-flakes.txt | 19 +- drivers/gpu/drm/ci/xfails/requirements.txt | 17 ++ .../drm/ci/xfails/rockchip-rk3288-fails.txt | 6 + .../drm/ci/xfails/rockchip-rk3288-flakes.txt | 9 - .../drm/ci/xfails/rockchip-rk3399-fails.txt | 40 +++- .../drm/ci/xfails/rockchip-rk3399-flakes.txt | 28 +-- drivers/gpu/drm/ci/xfails/update-xfails.py | 204 ++++++++++++++++++ .../drm/ci/xfails/virtio_gpu-none-flakes.txt | 0 43 files changed, 464 insertions(+), 332 deletions(-) delete mode 100644 drivers/gpu/drm/ci/xfails/i915-amly-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/i915-apl-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/i915-cml-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/i915-glk-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/i915-tgl-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/i915-whl-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8173-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/mediatek-mt8183-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/meson-g12b-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/msm-apq8016-flakes.txt delete mode 100644 drivers/gpu/drm/ci/xfails/msm-apq8096-flakes.txt create mode 100644 drivers/gpu/drm/ci/xfails/requirements.txt delete mode 100644 drivers/gpu/drm/ci/xfails/rockchip-rk3288-flakes.txt create mode 100755 drivers/gpu/drm/ci/xfails/update-xfails.py delete mode 100644 drivers/gpu/drm/ci/xfails/virtio_gpu-none-flakes.txt