1 |
On Sun, 2020-04-12 at 10:43 +0200, Agostino Sarubbo wrote: |
2 |
> Hello all, |
3 |
> |
4 |
> If you work on the stabilization workflow you may have noticed that: |
5 |
> |
6 |
> - There are people that rant if you don't run src_test against their packages; |
7 |
> - There are people that rant if you open a test failure bug against their |
8 |
> packages and you block the stabilization. |
9 |
> |
10 |
> So, unless there will be a clear policy about that, I'd suggest to introduce a |
11 |
> way to establish if a package is expected to pass src_test or not. |
12 |
> |
13 |
> A simple way to achieve this goal would be: |
14 |
> introduce a new bugzilla custom flag (like "Runtime testing required" we |
15 |
> already have) maybe called "src_test pass" or similar, that, by default is yes |
16 |
> and the maintainer should set it to no when needed. |
17 |
> |
18 |
> In case of 'yes', the arch team member must compile with FEATURE="test" and he |
19 |
> is allowed to block the stabilization in case of test-failure. |
20 |
> |
21 |
> In case there will be a test-failure there are two choices: |
22 |
> 1) The maintainer fixes the test failure; |
23 |
> 2) The maintainer does not want to take care, so he can simply remove the |
24 |
> blocker and set "src_test pass" to no. |
25 |
> |
26 |
> Both of the above are fine for me. |
27 |
> |
28 |
> Obviously, if there are already test-failure bugs open, the flag "src_test |
29 |
> pass" should be set to 'no' when the stabilization bugs is filled. |
30 |
> |
31 |
|
32 |
This is not a problem that can be solved by a binary flag. |
33 |
|
34 |
If package's test suite is entirely broken and unmaintained, the package |
35 |
should use RESTRICT=test and not silently ask arch teams to ignore it. |
36 |
|
37 |
If package's test suite is only slightly broken, then I'd prefer saying |
38 |
'please report but ignore *these* test failures' because I can't fix |
39 |
them right now but they don't seem major. Skipping the test suite |
40 |
entirely is not a solution because it doesn't disambiguate between 'few |
41 |
tests fail' and 'every single test explodes'. |
42 |
|
43 |
-- |
44 |
Best regards, |
45 |
Michał Górny |