New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix carry-over only due to one matching bugref in step title #3988
Conversation
I like the code style change :) |
Codecov Report
@@ Coverage Diff @@
## master #3988 +/- ##
==========================================
- Coverage 96.93% 96.90% -0.04%
==========================================
Files 370 370
Lines 32968 32971 +3
==========================================
- Hits 31959 31949 -10
- Misses 1009 1022 +13
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The algorithm seems sound to me.
The only weakness I could identify is that when a failed module gains a bugref in test code, that blocks carryover. Shouldn't really be an issue in practice, and the previous code had that as well.
I thought about it as well but thought it wasn't worth it as it would complicate the code a bit. We can still implement it later if needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't understand. What has the "carry-over" have to do with "matching bugref in step title"? I thought carry-over is only looking at failed modules, not steps?
That is wrong. With ef5f07c (referenced in the commit message) it has been changed to also take bugrefs within step titles into account. |
* Prevent carry-over despite a mismatch of failing test modules like in https://progress.opensuse.org/issues/94880 * Still allow carry-over when the same bug is found via different modules (ef5f07c) but only if the other failing test modules match as well
* If it isn't possible to read the results/details of some (soft)failed modules that doesn't mean we should ignore them completely. In addition, further (soft)failed modules should not be ignored as well. * See https://progress.opensuse.org/issues/94880
https://progress.opensuse.org/issues/94880
(ef5f07c) but only if the other failing
test modules match as well
modules that doesn't mean we should ignore them completely. In addition,
further (soft)failed modules should not be ignored as well.
I've been adding tests now. I've also been testing that tests fail without the change (as there was already a similar test in place which wasn't good enough).