diff mbox series

[i-g-t,2/2] intel-ci: Skip module reloads

Message ID 20180810094145.10182-2-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t,1/2] intel-ci: Comment on kernel selftest exclusion | expand

Commit Message

Chris Wilson Aug. 10, 2018, 9:41 a.m. UTC
Reloading the module may impact subsequent tests by destabilising the
system. As we do for BAT, if we want to test reloads, it should be
handled explicitly at the end of the run, rather than placed at random
in the middle of the test list.

v2: Commentary

References: https://bugs.freedesktop.org/show_bug.cgi?id=106539
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
---
 tests/intel-ci/blacklist.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Petri Latvala Aug. 10, 2018, 9:55 a.m. UTC | #1
On Fri, Aug 10, 2018 at 10:41:45AM +0100, Chris Wilson wrote:
> Reloading the module may impact subsequent tests by destabilising the
> system. As we do for BAT, if we want to test reloads, it should be
> handled explicitly at the end of the run, rather than placed at random
> in the middle of the test list.
> 
> v2: Commentary
> 
> References: https://bugs.freedesktop.org/show_bug.cgi?id=106539
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>


The series is

Acked-by: Petri Latvala <petri.latvala@intel.com>



> ---
>  tests/intel-ci/blacklist.txt | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt
> index 7700a60b7..c93554a37 100644
> --- a/tests/intel-ci/blacklist.txt
> +++ b/tests/intel-ci/blacklist.txt
> @@ -5,6 +5,15 @@ igt@meta_test(@.*)?
>  igt@drv_selftest(@.*)?
>  igt@drm_mm(@.*)?
>  ###############################################
> +# Handle module reloads with great care!
> +#
> +# Reloading a module is more likely to leave
> +# the machine in an unexpected state than other
> +# self-contained tests, leading to random
> +# failures in tests run afterwards.
> +###############################################
> +igt@drv_module_reload(@.*)?
> +###############################################
>  # GEM
>  ###############################################
>  igt@gem_busy@(?!.*basic).*hang.*
> -- 
> 2.18.0
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
Chris Wilson Aug. 10, 2018, 10:05 a.m. UTC | #2
Quoting Petri Latvala (2018-08-10 10:55:06)
> On Fri, Aug 10, 2018 at 10:41:45AM +0100, Chris Wilson wrote:
> > Reloading the module may impact subsequent tests by destabilising the
> > system. As we do for BAT, if we want to test reloads, it should be
> > handled explicitly at the end of the run, rather than placed at random
> > in the middle of the test list.
> > 
> > v2: Commentary
> > 
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=106539
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
> 
> 
> The series is
> 
> Acked-by: Petri Latvala <petri.latvala@intel.com>

I've pushed this to see if this does indeed stabilise our test results
as currently we have random failures that change on every shardlist
rebuild.

I think we need an explicit test list to check after reload. I think
BAT?
-Chris
diff mbox series

Patch

diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt
index 7700a60b7..c93554a37 100644
--- a/tests/intel-ci/blacklist.txt
+++ b/tests/intel-ci/blacklist.txt
@@ -5,6 +5,15 @@  igt@meta_test(@.*)?
 igt@drv_selftest(@.*)?
 igt@drm_mm(@.*)?
 ###############################################
+# Handle module reloads with great care!
+#
+# Reloading a module is more likely to leave
+# the machine in an unexpected state than other
+# self-contained tests, leading to random
+# failures in tests run afterwards.
+###############################################
+igt@drv_module_reload(@.*)?
+###############################################
 # GEM
 ###############################################
 igt@gem_busy@(?!.*basic).*hang.*