Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp168707rdb; Thu, 19 Oct 2023 00:08:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQ4Ogsfxo8eBo5DUTYOr2WWU82yS/mMx2tG8b/Iuao7E+ixJhoKS4rdgpSlCtkp9OIdRU8 X-Received: by 2002:a92:d289:0:b0:34f:b9e8:a431 with SMTP id p9-20020a92d289000000b0034fb9e8a431mr1583392ilp.22.1697699308197; Thu, 19 Oct 2023 00:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697699308; cv=none; d=google.com; s=arc-20160816; b=0C44+2sB6zEOuTpL3+lgM890CKRw44y7Bso5LamfssvZ4WWcF99pwo1pb+L0Sj8mhI ZEMoyfNZPcZI1qIEDeza1E4ysjzkkwWDSgb8G9i7cvQLCFQHVQm/q9PId1XOuDhnKkSC EGVOGjciEZs8xQYnPpdumDt7CJeVUUZaerBCapjKL5C/kSgghnjABnANCA6z4m7X+cVF WaTE/zovWNJozlZB3+SkZQ0PoxDxHM98EADyC0ayc4dvZAHlYaQLhVfnOZY+bGkiZRdu xTm2bUC8NH5TTImfZ9sPhkqiBchVUlwqjqzfSqBzwwb0S54kBtzZOTNX33LjeqTrkhBv netw== 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 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i23-20020a633c57000000b005b7d9aace98si3862857pgn.109.2023.10.19.00.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; 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 2620:137:e000::3:2 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 B6E4A81355F2; Thu, 19 Oct 2023 00:08:25 -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 S1345008AbjJSHIP (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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:25 -0700 (PDT) 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)) -- 2.40.1