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
ci: Fix functional tests step for pull requests in Windows GHA job #29535
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
30dd565
to
e78cad9
Compare
This functionality has been broken since the Windows runner image version `20240128.1.0`.
cc @maflcko |
I can ACK 57e6e22 this only based on the fact that in this PR, the native Windows functional tests run: https://github.com/bitcoin/bitcoin/actions/runs/8119259315/job/22194887783#step:27:72, and that the native Windows functional tests are not currently running on master: https://github.com/bitcoin/bitcoin/actions/runs/8131828989/job/22239779585#step:27:63. However it's not at all clear from the PR description or linked issue what broke, why it did, is this an intermittent thing, is there an upstream issue etc Feels like these images should be pinned if they are going to randomly break, and then our tests will silently stop running? |
I doubt whether image version pinning is available.
Regarding the root of the issue, I suspect a PowerShell version update.
However, I cannot confirm it at this moment.
…--
Hennadii Stepanov
On Tue, 5 Mar 2024 at 17:03, fanquake ***@***.***> wrote:
I can ACK 57e6e22
<57e6e22>
this only based on the fact that in this PR, the native Windows functional
tests run:
https://github.com/bitcoin/bitcoin/actions/runs/8119259315/job/22194887783#step:27:72,
and that the native Windows functional tests are not currently running on
master:
https://github.com/bitcoin/bitcoin/actions/runs/8131828989/job/22239779585#step:27:63
.
However it's not at all clear from the PR description or linked issue what
broke, why it did, is this an intermittent thing, is there an upstream
issue etc
Feels like these images should be pinned if they are going to randomly
break, and then our tests will silently stop running?
—
Reply to this email directly, view it on GitHub
<#29535 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH3PXPQMMFYFNOESMDHC5XLYWX3HZAVCNFSM6AAAAABECUBYRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGIZTMMBSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
ACK 57e6e22 as a way to get the tests running again quickly. As a follow up I think that it would be good to know it doesn't work on powershell and also why the test runner complaining that '' isn't a valid test isn't a failure. |
Looks like we could/should also change the test_runner exit condition for the no valid scripts case, from 0 to 1, so that it is an error. @m3dwards you might want to follow up with that? |
… no tests are found to run 33268a8 test: exit with code 1 when no fn tests are found (Max Edwards) Pull request description: As discussed in the following PR comment: #29535 (comment) Prevents the test_runner from exiting silently with code 0 when no tests were found which has recently happened after a GHA runner update such as in this run: https://github.com/bitcoin/bitcoin/actions/runs/8131828989/job/22239779585#step:27:63 ACKs for top commit: TheCharlatan: ACK 33268a8 theStack: lgtm ACK 33268a8 Tree-SHA512: d389e9f5e4da7ce1627fb2fad9b33baf0b04e75dbdbfc0dbf5f1e3e2b0ae1e79721476c5668476055b0f7de29723ed02c8d7e420081a555030cb784886e240fc
This functionality has been broken since the Windows runner image version
20240128.1.0
.Fixes #29534.