That's one of the core problems: The test suite itself is too unstable
and also way too complicated to be executed on each addition (actually
tests should be executed on a per-commit level, not per patch-series
level).
> 
> I think introducing fast path for certain changes is the easiest part of the
> equation.
> 
That's at least something which can be implemented process-wise without
a major refactoring of the testsuite.
> In #2, you also express regret that there is no testcase for the
> feature in question. In general, we should think about adding testcases on use
> case introduction and bug fixes -- here I agree with Cedric.
> 
I fully agree, but guidance is needed regarding how to write the tests
(e.g. to which tag to add them). Also, the test execution takes WAY too
long. We should consider allowing the use of the sstate cache and
download caching in the tests to significantly speedup the test
execution. That's also what Yocto is doing.
Regarding the test-execution itself: What we need is a simply CLI to
execute the tests in a container (this CLI should offer options to list
the testcases without executing them and executing just some tests).
> I think this has
> larger contribution to the quality, benefits all downstreams and saves the
> overall fixing effort, as every applied change could break the feature. Once a
> fix goes in, a testcase never follows. Currently, we are developing testcases
> for certain changes from the list; longer-term, this will not work.
Also agree, but we need to start somewhere. In the long term, I
envision test automation based on the ML, so whenever you send a patch
to the ML a set of possibly related tests is executed and the result is
sent back to the ML. For that, the cost of the test execution needs to
be reduced (e.g. executing a per-patch test run must not take longer
than 10 mins) and hardware needs to be setup.
> 
> The Linux "tested by many" model helps only to some extent. We also see e.g.
> conflicting changes being applied back and forth, even in Linux. Having the use
> case view backed by tests at the Isar level would avoid this.
With syzcaller and alike being added to Linux, this model is anyways no
longer the only used one.
Best regards,
Felix
> 
> To summarize, we'll evaluate this proposal and also invite for more
> collaboration on testcases.
> 
> With kind regards,
> Baurzhan
-- 
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany