qa: Ignore --failfast option of test_runner.py on Windows#22980
qa: Ignore --failfast option of test_runner.py on Windows#22980hebasto wants to merge 1 commit intobitcoin:masterfrom
--failfast option of test_runner.py on Windows#22980Conversation
The current `--failfast` implementation does not work on Windows.
|
Again, it would be preferable to not fixing anything here. Am I missing something? With this patch we will waste CI cycles after hitting a failure. To quote myself:
|
A failure in functional tests is rare. OTOH, seeing all of the failed tests can give us a useful hint for debugging (was thinking about that while reviewing and testing #23300). For reasons mentioned above, I'd disable |
|
Yeah, it is a trade-off. If there is a CI failure, it will be good to know the result as early as possible after opening the pull request. If there is more time, it will be good to know all tests that failed. Ideally the ci infrastructure could be marked red during a run. Then the run would continue with the remaining tests. |
With high probability a first failed test won't be the first in the run queue. Also it could be one of Therefore, the average amount of saved time for such an approach is less significant than it could appear. |
|
Well that would be a reason to simply remove the option, thus revert #13105. |
…on native Windows CI task 23c3dcb ci: Drop --failfast in functional tests on native Windows CI task (Hennadii Stepanov) Pull request description: As it was [discussed](bitcoin/bitcoin#22980 (comment)) in bitcoin/bitcoin#22980: > seeing _all_ of the failed tests can give us a useful hint for debugging (was thinking about that while reviewing and testing bitcoin/bitcoin#23300). There is a [concern](bitcoin/bitcoin#22980 (comment)) about such approach: > If there is a CI failure, it will be good to know the result as early as possible after opening the pull request. But, [OTOH](bitcoin/bitcoin#22980 (comment)): > the average amount of saved time for such an approach [using `--failfast`] is less significant than it could appear. ACKs for top commit: MarcoFalke: cr ACK 23c3dcb seems fine to give this a try Tree-SHA512: d28f5712b4edfdbcef48b0633017da9172cef1835bcea51eaeeabf15c133f6bb6888227afc130279c3899365a4fd0f200fb9b0c4cb1ff80f21cbc766b8907764
The current
--failfastimplementation does not work on Windows.This PR is an alternative to #22936, and it is based on the #22936 (review):