* [PATCH igt] igt/drv_module_reload: Keep injecting load failures until it passes
@ 2017-12-08 22:50 Chris Wilson
2017-12-09 0:28 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-12-11 9:10 ` [PATCH igt] igt/drv_module_reload: Keep injecting load Joonas Lahtinen
0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2017-12-08 22:50 UTC (permalink / raw)
To: intel-gfx
Keep reloading the module with the next load failure until we run out of
injection sites and the module loads successfully. Or it goes boom.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/drv_module_reload.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/tests/drv_module_reload.c b/tests/drv_module_reload.c
index e812e5ec9..3046d8227 100644
--- a/tests/drv_module_reload.c
+++ b/tests/drv_module_reload.c
@@ -303,14 +303,12 @@ hda_dynamic_debug(bool enable)
igt_main
{
- int i, err;
- char buf[64];
+ int err;
igt_fixture
hda_dynamic_debug(true);
igt_subtest("basic-reload") {
-
if ((err = reload(NULL)))
igt_fail(err);
@@ -322,11 +320,12 @@ igt_main
igt_assert_eq(reload("disable_display=1"), 0);
igt_subtest("basic-reload-inject") {
- for (i = 0; i < 4; i++) {
- memset(buf, 0, sizeof(buf));
- snprintf(buf, sizeof(buf), "inject_load_failure=%d", i);
- reload(buf);
- }
+ char buf[64];
+ int i = 0;
+ do {
+ snprintf(buf, sizeof(buf),
+ "inject_load_failure=%d", ++i);
+ } while (reload(buf));
}
igt_fixture {
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✗ Fi.CI.BAT: failure for igt/drv_module_reload: Keep injecting load failures until it passes
2017-12-08 22:50 [PATCH igt] igt/drv_module_reload: Keep injecting load failures until it passes Chris Wilson
@ 2017-12-09 0:28 ` Patchwork
2017-12-11 9:10 ` [PATCH igt] igt/drv_module_reload: Keep injecting load Joonas Lahtinen
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2017-12-09 0:28 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: igt/drv_module_reload: Keep injecting load failures until it passes
URL : https://patchwork.freedesktop.org/series/35122/
State : failure
== Summary ==
IGT patchset tested on top of latest successful build
37339e7171ee0bd6b45abf8cfef593ed9d8bf750 lib: Print other clients when DRM_SET_MASTER fails
with latest DRM-Tip kernel build CI_DRM_3487
06dd422e3209 drm-tip: 2017y-12m-08d-21h-06m-35s UTC integration manifest
No testlist changes.
Test debugfs_test:
Subgroup read_all_entries:
dmesg-warn -> FAIL (fi-elk-e7500) fdo#103989 +1
Test gem_exec_reloc:
Subgroup basic-gtt-cpu-active:
pass -> DMESG-FAIL (fi-gdg-551) fdo#102582
Test gem_exec_suspend:
Subgroup basic-s4-devices:
pass -> INCOMPLETE (fi-skl-6700k)
Test gem_mmap_gtt:
Subgroup basic-small-bo-tiledx:
pass -> FAIL (fi-gdg-551) fdo#102575
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-b:
incomplete -> PASS (fi-snb-2520m) fdo#103713
fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989
fdo#102582 https://bugs.freedesktop.org/show_bug.cgi?id=102582
fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:439s
fi-bdw-gvtdvm total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:451s
fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:383s
fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:520s
fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:280s
fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:516s
fi-bxt-j4205 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:513s
fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:493s
fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:478s
fi-elk-e7500 total:224 pass:162 dwarn:15 dfail:0 fail:1 skip:45
fi-gdg-551 total:288 pass:177 dwarn:1 dfail:1 fail:1 skip:108 time:283s
fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:377s
fi-hsw-4770r total:288 pass:224 dwarn:0 dfail:0 fail:0 skip:64 time:262s
fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:401s
fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:485s
fi-ivb-3770 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:447s
fi-kbl-7500u total:288 pass:263 dwarn:1 dfail:0 fail:0 skip:24 time:488s
fi-kbl-7560u total:288 pass:269 dwarn:0 dfail:0 fail:0 skip:19 time:527s
fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:480s
fi-kbl-r total:288 pass:260 dwarn:1 dfail:0 fail:0 skip:27 time:528s
fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:589s
fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:449s
fi-skl-6600u total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:543s
fi-skl-6700hq total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:565s
fi-skl-6700k total:109 pass:97 dwarn:0 dfail:0 fail:0 skip:11
fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:501s
fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:450s
fi-snb-2520m total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:549s
fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:416s
Blacklisted hosts:
fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:600s
fi-cnl-y total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:619s
fi-glk-dsi total:288 pass:257 dwarn:0 dfail:0 fail:1 skip:30 time:493s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_638/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH igt] igt/drv_module_reload: Keep injecting load
2017-12-08 22:50 [PATCH igt] igt/drv_module_reload: Keep injecting load failures until it passes Chris Wilson
2017-12-09 0:28 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2017-12-11 9:10 ` Joonas Lahtinen
1 sibling, 0 replies; 3+ messages in thread
From: Joonas Lahtinen @ 2017-12-11 9:10 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
On Fri, 2017-12-08 at 22:50 +0000, Chris Wilson wrote:
> Keep reloading the module with the next load failure until we run out of
> injection sites and the module loads successfully. Or it goes boom.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-11 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 22:50 [PATCH igt] igt/drv_module_reload: Keep injecting load failures until it passes Chris Wilson
2017-12-09 0:28 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-12-11 9:10 ` [PATCH igt] igt/drv_module_reload: Keep injecting load Joonas Lahtinen
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.