Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
	"Jonathan Cavitt" <jonathan.cavitt@intel.com>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
	"Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Subject: [PATCH i-g-t v4 1/4] tests/intel/xe_wedged: Ignore more dmesg warnings
Date: Tue, 26 Nov 2024 19:10:20 +0100	[thread overview]
Message-ID: <20241126181024.1398259-3-kamil.konieczny@linux.intel.com> (raw)
In-Reply-To: <20241126181024.1398259-1-kamil.konieczny@linux.intel.com>

There are more warnings in dmesg which should be ignored,
one comes from driver, for example:

xe 0000:00:02.0: [drm] *ERROR* GT0: reset failed (-ECANCELED)
xe 0000:00:02.0: [drm] *ERROR* GT1: Failed to submit gsc proxy rq (-ETIME)

or from drm:

<4> [438.651441]  ? __pfx___drm_printfn_seq_file+0x10/0x10 [drm]
<4> [438.651476]  ? __pfx___drm_puts_seq_file+0x10/0x10 [drm]

or from kernel itself:

<4> [226.597358] Modules linked in:

so extend regex with them.

v2: move '|' to begin of strings for better reading (Jonathan)
  extend regex with two more, correct __pfx___ regex (Kamil)
  added r-b and correcting name in Cc
v3: fix and simplify pfx___drm regex (Kamil)

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2919
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tests/intel/xe_wedged.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_wedged.c b/tests/intel/xe_wedged.c
index 88e5d47f2..9a95a2455 100644
--- a/tests/intel/xe_wedged.c
+++ b/tests/intel/xe_wedged.c
@@ -29,7 +29,11 @@
 static void ignore_wedged_in_dmesg(void)
 {
 	/* this is needed for igt_runner so it will ignore it */
-	igt_emit_ignore_dmesg_regex("CRITICAL: Xe has declared device [0-9A-Fa-f:.]* as wedged");
+	igt_emit_ignore_dmesg_regex("CRITICAL: Xe has declared device [0-9A-Fa-f:.]* as wedged"
+				    "|GT[0-9A-Fa-f]*: reset failed .-ECANCELED"
+				    "|GT[0-9A-Fa-f]*: Failed to submit"
+				    "|Modules linked in:"
+				    "|__pfx___drm_");
 }
 
 static void force_wedged(int fd)
-- 
2.34.1


  parent reply	other threads:[~2024-11-26 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-26 18:10 [PATCH i-g-t v3 0/2] Ignore more warns in xe_wedged tests Kamil Konieczny
2024-11-26 18:10 ` [PATCH i-g-t v4 0/4] " Kamil Konieczny
2024-11-26 18:10 ` Kamil Konieczny [this message]
2024-11-26 23:09   ` [PATCH i-g-t v4 1/4] tests/intel/xe_wedged: Ignore more dmesg warnings Matt Roper
2024-11-26 18:10 ` [PATCH i-g-t v4 2/4] HAX/DO_NOT_MERGE: xe-fast-feedback: test xe_wedged Kamil Konieczny
2024-11-26 18:10 ` [PATCH i-g-t v4 3/4] lib/drmtest: invalidate cached fds after unbind Kamil Konieczny
2024-12-19 15:17   ` Lucas De Marchi
2024-11-26 18:10 ` [PATCH i-g-t v4 4/4] lib/igt_sysfs: improve xe sysfs checks Kamil Konieczny
2024-11-26 19:07 ` ✗ Xe.CI.BAT: failure for Ignore more warns in xe_wedged tests (rev5) Patchwork
2024-11-26 20:15 ` ✗ Xe.CI.Full: " Patchwork
2024-11-26 20:40 ` ✓ i915.CI.BAT: success " Patchwork
2024-11-26 21:50 ` ✗ i915.CI.Full: failure " Patchwork
2024-11-29 21:21 ` ✗ Xe.CI.BAT: failure for Ignore more warns in xe_wedged tests (rev6) Patchwork
2024-11-30  6:06 ` ✗ Xe.CI.Full: " Patchwork

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=20241126181024.1398259-3-kamil.konieczny@linux.intel.com \
    --to=kamil.konieczny@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jonathan.cavitt@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=zbigniew.kempczynski@intel.com \
    /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