From patchwork Thu Oct 19 07:06:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raman X-Patchwork-Id: 155341 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp206715vqb; Thu, 19 Oct 2023 00:08:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp5VUbsZDbuuMS6aG8sAUf3KOGdrlZxR0DyyS1bBuZljn+ffrHWL6ti6837k/F5hk9Qips X-Received: by 2002:a17:90a:df91:b0:27d:af3:f143 with SMTP id p17-20020a17090adf9100b0027d0af3f143mr1244843pjv.43.1697699325749; Thu, 19 Oct 2023 00:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697699325; cv=none; d=google.com; s=arc-20160816; b=b7a3WrsCJ3LJ2Q2yzMLQpkNeT9UXilWk2kTtCBewtLbtkyGMXExZaTL7rCI67tNdck M8Nal7ModGZNT/yN2q9cY7WQyv5vC0pIrYtTiIOjQHzAvZw9IuVdC7KYTgMCLqDGRoUB qCqZ5+LoY6aefFRPgamuxYRGzjj0cyiXATuwSsxlIEFMGrPYidrqX+kVGVjEWiLygDzC 3SLo/5njjz2KIavew9K9pZBGc79Zc1E7mqpsqAi173FmH+bWz05/OAQVZFqMaOfPjGKD SeLl4/YpUURnNzWaASlXUx7QqEMxSEeWdBqDMSLigGnLunYDc+1C3u5N7VtSK5lj41s2 JDkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U8anOke6BgGHVez1BjG5cz5IJwlxJdUIyUH2BJ2542M=; fh=UrpkSxacRnNe3pAqpeGIIGAGFrEOZ8ZAHCW+EatPIvM=; b=YczfshFZaHXCrfBorrUdGnqod72/xrVX2hwfEiVNGNx6SaISVd3HWKBNehL/uk+mSV bTgoT7z8MpTp7jVR/VKGQnzbTYgpWIANmDCqxFoZZWq/y9s4bYqnF7Uh5bhAeWJ4Uuzn SDNOsA9o6blM63DkssVZ0ceRJamakeMmuxbi8KyPLYZcNnbSRbR91ZAwe2zmP+XTxO6F VXyA7ZOIyfwhWKx7LXCjrJH00N8+BK1zaOcgnb/MPytxLnC8blcKvGI6m3kF6URnoyDL hPmER55+kTf8oryBBmb47Cxs6e4/BlAY/nkwe8Q+yFJeT3rnunHqvikvo5Sdy+EhpKjT srcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aI13kLmX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id om3-20020a17090b3a8300b002792440fc3bsi1656404pjb.185.2023.10.19.00.08.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aI13kLmX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A75148135606; Thu, 19 Oct 2023 00:08:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345019AbjJSHIP (ORCPT + 24 others); Thu, 19 Oct 2023 03:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235300AbjJSHHx (ORCPT ); Thu, 19 Oct 2023 03:07:53 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E722D64; Thu, 19 Oct 2023 00:07:47 -0700 (PDT) Received: from localhost.localdomain (unknown [103.93.195.74]) (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: vignesh) by madras.collabora.co.uk (Postfix) with ESMTPSA id 668C16607323; Thu, 19 Oct 2023 08:07:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1697699265; bh=B1diUinADNXWm3ntdscq3ZHYt8C+cQLYxftrutfyYY4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aI13kLmXBTEgaMQYITB+frLxxPez9d5RjBe2/twup3GoZSM2nKcFccgrd0ZWetqVA o1PtgFu9xcejE39IXb4AkyvDuuFKbI2frmvTSkGJdXI+Sd2paRNq2LV/URNm0vssSP QPmSq/QAyZ+4uFEcqhTNYNBqioxq6uQPlu09aXO21Srq2XEx8igGyEip2zX37yJZDZ R/r/FM9kpYSLpY/PF39dBU68CqfVHofXM7j1UWctuwgOsO+2cMUlLlzE8grqMry1o3 3R5ORPsi55ji5NEColzpB/ayzlDJyMlzrd0Izp9HnWaap4hdYmX5uTNNKmjbSxzMiw wP+OMB/LmE/Qw== From: Vignesh Raman To: helen.koike@collabora.com, airlied@gmail.com, daniel@ffwll.ch Cc: david.heidelberg@collabora.com, sergi.blanch.torne@collabora.com, guilherme.gallo@collabora.com, daniels@collabora.com, gustavo.padovan@collabora.com, emma@anholt.net, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, virtualization@lists.linux-foundation.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v5 8/9] drm: ci: Add pipeline url to fails and flakes files Date: Thu, 19 Oct 2023 12:36:49 +0530 Message-Id: <20231019070650.61159-9-vignesh.raman@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231019070650.61159-1-vignesh.raman@collabora.com> References: <20231019070650.61159-1-vignesh.raman@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 19 Oct 2023 00:08:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780166767931138775 X-GMAIL-MSGID: 1780166767931138775 Add or update pipeline url in the fails and flakes files. It helps to check the pipeline where the failure was seen and check artifacts for failure cases. Signed-off-by: Vignesh Raman --- v5: - Added a new patch in the series to add pipeline url to fails and flakes files. --- drivers/gpu/drm/ci/xfails/update-xfails.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/ci/xfails/update-xfails.py b/drivers/gpu/drm/ci/xfails/update-xfails.py index c401004ffd45..651f804721f2 100755 --- a/drivers/gpu/drm/ci/xfails/update-xfails.py +++ b/drivers/gpu/drm/ci/xfails/update-xfails.py @@ -63,6 +63,10 @@ def remove_unit_test_if_present(lines, unit_test_name): return lines[:] = [line for line in lines if unit_test_name not in line] +def add_pipeline_url(lines, pipelines_urls): + for url in pipelines_urls: + pipeline_url = "# " + url + "\n" + lines.insert(0, pipeline_url) def add_unit_test_if_not_present(lines, unit_test_name, file_name): # core_getversion is mandatory @@ -185,9 +189,11 @@ def main(pipelines_urls, only_flakes): flakes_txt.sort() if fails_txt != fails_txt_original: + add_pipeline_url(fails_txt, pipelines_urls) save_file(fails_txt, fails_txt_path) print_diff(fails_txt_original, fails_txt, os.path.basename(fails_txt_path)) if flakes_txt != flakes_txt_original: + add_pipeline_url(flakes_txt, pipelines_urls) save_file(flakes_txt, flakes_txt_path) print_diff(flakes_txt_original, flakes_txt, os.path.basename(flakes_txt_path))