Skip to content
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

Merged
merged 1 commit into from Mar 5, 2024

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Mar 2, 2024

This functionality has been broken since the Windows runner image version 20240128.1.0.

Fixes #29534.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 2, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK fanquake, m3dwards

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Mar 2, 2024
@hebasto hebasto force-pushed the 240301-ci-win branch 2 times, most recently from 30dd565 to e78cad9 Compare March 2, 2024 01:07
This functionality has been broken since the Windows runner image
version `20240128.1.0`.
@hebasto hebasto marked this pull request as ready for review March 2, 2024 01:20
@hebasto hebasto added this to the 27.0 milestone Mar 3, 2024
@hebasto
Copy link
Member Author

hebasto commented Mar 4, 2024

cc @maflcko

@fanquake
Copy link
Member

fanquake commented Mar 5, 2024

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?

@hebasto
Copy link
Member Author

hebasto commented Mar 5, 2024 via email

@m3dwards
Copy link
Contributor

m3dwards commented Mar 5, 2024

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.

@fanquake
Copy link
Member

fanquake commented Mar 5, 2024

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?

@fanquake fanquake merged commit 0fa9f17 into bitcoin:master Mar 5, 2024
16 checks passed
fanquake added a commit that referenced this pull request Mar 7, 2024
… 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
@hebasto hebasto deleted the 240301-ci-win branch March 7, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Functional tests for PRs in Windows GHA job stopped working
4 participants