Differentiate between "empty result of targets_override
" and "don't use targets_override
"
#1519
Labels
area/testing-farm
Related to Testing Farm integration.
complexity/single-task
Regular task, should be done within days.
gain/low
This doesn't bring that much value to users.
impact/high
This issue impacts multiple/lot of users.
kind/bug
Something isn't working.
workaround-exists
There is an existing workaround that can be used in the meantime of implementing the issue.
Surprise :) new edgecase bug discovered for
/packit retest-failed
🐛/packit retest-failed
restarts everything on these circumstances:packit.yaml
must be enabled/packit retest-failed
-> every test is restartedThis is caused because of previously failed build: build fails -> test is not started (but ends up with a failure and with message that RPM build failed so we don't run test). That means there isn't any failed test in the database so set of chroots to override of
/packit retest-failed
is (correctly) {}. And here comes the issue - whentargets_override
are{}
orNone
we build/test for every chroot.Correctly, the user should call
/packit rebuild-failed
(but a mess happens when he does it wrong way).You can try/see this behavior here
(This behavior obviously reveals when user calls rebuild/retest on fully passed builds/tests)
Possible solution: we should differentiate between
{}
andNone
intargets_override
. If result is {} - we should "override" targets with "nothing" (or just ignore it).And we should copy the behavior of
/packit test
for this - when RPM build fails and user triggers/packit test
again, we notify the user withThe latest build was not successful, not running tests for it.
. We should respond to user the same/similar note when he tries toretest-failed
, but there was previously failed RPM build.TODO:
targets_override
is empty set.retest-failed
on tests where RPM build failed - provide a note that latest build was not successfullThe text was updated successfully, but these errors were encountered: