From: Vignesh Raman <vignesh.raman@collabora.com>
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 [thread overview]
Message-ID: <20231019070650.61159-9-vignesh.raman@collabora.com> (raw)
In-Reply-To: <20231019070650.61159-1-vignesh.raman@collabora.com>
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 <vignesh.raman@collabora.com>
---
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
next prev parent reply other threads:[~2023-10-19 7:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-19 7:06 [PATCH v5 0/9] drm: ci: fixes Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 1/9] drm: ci: igt_runner: Remove todo Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 2/9] drm: ci: Force db410c to host mode Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 3/9] drm: ci: Enable regulator Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 4/9] drm: ci: Enable new jobs Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 5/9] drm: ci: Use scripts/config to enable/disable configs Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 6/9] drm: ci: mediatek: Set IGT_FORCE_DRIVER for mt8173 Vignesh Raman
2023-10-19 7:06 ` [PATCH v5 7/9] drm: ci: virtio: Make artifacts available Vignesh Raman
2023-10-19 7:06 ` Vignesh Raman [this message]
2023-10-19 7:06 ` [PATCH v5 9/9] drm: ci: Update xfails Vignesh Raman
2023-10-19 8:20 ` Maxime Ripard
2023-10-19 8:25 ` Daniel Stone
2023-11-24 7:46 ` Vignesh Raman
2023-10-19 16:42 ` Helen Koike
2023-10-19 16:45 ` Helen Koike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231019070650.61159-9-vignesh.raman@collabora.com \
--to=vignesh.raman@collabora.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=daniels@collabora.com \
--cc=david.heidelberg@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=guilherme.gallo@collabora.com \
--cc=gustavo.padovan@collabora.com \
--cc=helen.koike@collabora.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=robdclark@gmail.com \
--cc=sergi.blanch.torne@collabora.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox