All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] kms_atomic_transition: Output more finegrained progress info to avoid CI watchdog timeout
@ 2017-10-18 11:29 Imre Deak
  2017-10-18 11:38 ` Chris Wilson
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Imre Deak @ 2017-10-18 11:29 UTC (permalink / raw)
  To: intel-gfx

The CI software watchdog (owatch) will timeout if the test doesn't
output anything for a long time on standard out or error. At least the
plane-all-modeset-transition and plane-all-modeset-transition-fences
subtests run without any output longer than the watchdog timeout, so
output some more progress info.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103334
Signed-off-by: Imre Deak <imre.deak@intel.com>
---
 tests/kms_atomic_transition.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index 2ae75f2d..db43d2c9 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -525,6 +525,9 @@ run_transition_test(igt_display_t *display, enum pipe pipe, igt_output_t *output
 	}
 
 	for (i = 0; i < iter_max; i++) {
+		igt_info(".");
+		fflush(stdout);
+
 		igt_output_set_pipe(output, pipe);
 
 		wm_setup_plane(display, pipe, i, parms, fencing);
@@ -544,6 +547,9 @@ run_transition_test(igt_display_t *display, enum pipe pipe, igt_output_t *output
 
 			/* i -> i+1 will be done when i increases, can be skipped here */
 			for (j = iter_max - 1; j > i + 1; j--) {
+				igt_info(".");
+				fflush(stdout);
+
 				wm_setup_plane(display, pipe, j, parms, fencing);
 
 				if (type == TRANSITION_MODESET)
@@ -562,6 +568,8 @@ run_transition_test(igt_display_t *display, enum pipe pipe, igt_output_t *output
 		}
 	}
 
+	igt_info("\n");
+
 cleanup:
 	if (fencing)
 		unprepare_fencing(display, pipe);
@@ -780,6 +788,9 @@ static void run_modeset_tests(igt_display_t *display, int howmany, bool nonblock
 			if (!event_mask)
 				continue;
 
+			igt_info(".");
+			fflush(stdout);
+
 			commit_display(display, event_mask, nonblocking);
 
 			collect_crcs_mask(pipe_crcs, j, crcs[1]);
@@ -814,6 +825,8 @@ static void run_modeset_tests(igt_display_t *display, int howmany, bool nonblock
 		}
 	}
 
+	igt_info("\n");
+
 cleanup:
 	set_combinations(display, 0, NULL);
 	igt_display_commit2(display, COMMIT_ATOMIC);
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-20 12:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18 11:29 [PATCH i-g-t] kms_atomic_transition: Output more finegrained progress info to avoid CI watchdog timeout Imre Deak
2017-10-18 11:38 ` Chris Wilson
2017-10-18 11:43 ` Petri Latvala
2017-10-18 11:47   ` Imre Deak
2017-10-18 11:50     ` Imre Deak
2017-10-18 11:57       ` Petri Latvala
2017-10-18 14:35   ` Daniel Vetter
2017-10-19  6:48     ` Lofstedt, Marta
2017-10-20 12:33       ` Imre Deak
2017-10-18 11:53 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-10-18 19:57 ` ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.