Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Hajda <andrzej.hajda@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	 Andrzej Hajda <andrzej.hajda@intel.com>
Subject: [PATCH] tests/xe_exec_sip: increase timeout margin for tests
Date: Fri, 11 Oct 2024 15:36:22 +0200	[thread overview]
Message-ID: <20241011-xe_exec_sip_increase_timeout_margin-v1-1-7adc68a3fbed@intel.com> (raw)

In case engine reset happens 4s timeout margin sometimes is not enough and test
fails. It happens mostly on LNL due to devcoredump creation.
On CI it does not pass 5s, lets increase it to 8s to be on safe side.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
---
 tests/intel/xe_exec_sip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/intel/xe_exec_sip.c b/tests/intel/xe_exec_sip.c
index 2294468c2983..50265c0c6a45 100644
--- a/tests/intel/xe_exec_sip.c
+++ b/tests/intel/xe_exec_sip.c
@@ -274,8 +274,8 @@ static void test_sip(enum shader_type shader_type, enum sip_type sip_type,
 
 	vm_id = xe_vm_create(fd, 0, 0);
 
-	/* Get timeout for job, and add 4s to ensure timeout processes in subtest. */
-	timeout = xe_sysfs_get_job_timeout_ms(fd, eci) + 4ull * MSEC_PER_SEC;
+	/* Get timeout for job, and add 8s to ensure timeout processes in subtest. */
+	timeout = xe_sysfs_get_job_timeout_ms(fd, eci) + 8ull * MSEC_PER_SEC;
 	timeout *= NSEC_PER_MSEC;
 	timeout *= igt_run_in_simulation() ? 10 : 1;
 

---
base-commit: cc3fa4e36bb0445565f40f989540b9deacb92e12
change-id: 20241011-xe_exec_sip_increase_timeout_margin-a64bcb49752d

Best regards,
-- 
Andrzej Hajda <andrzej.hajda@intel.com>


             reply	other threads:[~2024-10-11 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-11 13:36 Andrzej Hajda [this message]
2024-10-11 15:50 ` ✓ Fi.CI.BAT: success for tests/xe_exec_sip: increase timeout margin for tests Patchwork
2024-10-11 16:27 ` ✓ CI.xeBAT: " Patchwork
2024-10-11 20:35 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-14  8:35   ` Hajda, Andrzej
2024-10-12  9:45 ` ✗ Fi.CI.IGT: " Patchwork
2024-10-14  8:36   ` Hajda, Andrzej
2024-10-14  9:53 ` [PATCH] " Kamil Konieczny
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06  8:17 Andrzej Hajda
2024-12-06 16:51 ` Kamil Konieczny

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=20241011-xe_exec_sip_increase_timeout_margin-v1-1-7adc68a3fbed@intel.com \
    --to=andrzej.hajda@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.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