[igt-dev] [PATCH i-g-t] lib/kmod: Stop producing results at all for kernel selftests on taint

Petri Latvala petri.latvala at intel.com
Tue Mar 2 12:39:35 UTC 2021


On Tue, Mar 02, 2021 at 11:48:02AM +0000, Chris Wilson wrote:
> Quoting Petri Latvala (2021-02-25 08:35:53)
> > Instead of producing skips for the rest when one selftest taints the
> > kernel, stop running them altogether. Having the skips produced yields
> > no value and just makes future improvements (like correctly tagging
> > tests that cause taints) harder. In effect, this gets us back to the
> > old setup when tainting made igt_runner immediately kill the test and
> > similarly made us not get spurious results for the rest of the
> > selftests.
> 
> Skip isn't spurious here. I don't see how this impacts tagging the
> earlier tests. So the only question for me is whether SKIP or NOTRUN is
> more applicable. And skip is far more informative when run by hand...

When run by hand on an already tainted kernel, the first (specified)
selftest still gets a skip and others don't get executed.

The immediate value I'll be getting from this is my ongoing work on
the ugly igt at runner@aborted pseudoresult to instead mark the last
executed test as 'ABORT' result when igt_runner decides to abort the
execution (due to a taint). If we have skips, I'd need to do some
selftest-specific handling to not mark the last executed dynamic
subtest, but the last non-skipping dynamic subtest.


-- 
Petri Latvala


More information about the igt-dev mailing list