-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci: Run Windows native task on GitHub Actions #28173
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. 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. ConflictsNo conflicts as of last run. |
|
Can you remove the Windows Cirrus task here, as it will need to be removed either way? Also, a link to a build would be nice, before this is enabled here. |
|
Maybe also print the |
Done.
They are printed by default. To see them, in https://github.com/hebasto/bitcoin/actions/runs/5685393993/job/15410187833, one needs to expand "Set up job", then expand "GIHUB_TOKEN Permissions". |
|
Ok, so I guess someone needs to enable Actions in both orgs for this to proceed. |
|
In the meantime it may be good to do 10 runs and then check how many of them fail |
Observing intermittent "Error: no RPC connection". Converting this PR to a draft for now. UPD. Timeout has been adjusted. |
|
Rebased on top of the merged #28188. |
|
#28292 is a blocker for this PR. |
Is it? It should only affect the cache hit percentage, no? And the cache hit percentage shouldn't affect the behavior of this pull, except for the cache hit percentage, potentially. |
|
Ok, fair enough. But that shouldn't be a blocker to rebase this, and for code review to happen on the rebase. |
b3d6338 to
d0e9f5a
Compare
(at least for me) it's just a normal ack pre-fixed with "looks good to me" |
dergoegge
left a comment
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.
reACK a3ebaa2
|
Friendly ping @MarcoFalke :) |
a3ebaa2 to
6a43372
Compare
|
Updated a3ebaa2 -> 6a43372 (pr28173.11 -> pr28173.12):
|
|
lgtm |
|
Would be good to merge it, otherwise the CI will break this week. |
| C:\ProgramData\chocolatey\lib\ccache | ||
| C:\ProgramData\chocolatey\bin\ccache.exe | ||
| C:\ccache\cl.exe | ||
| key: ${{ github.job }}-ccache-installation-${{ env.CI_CCACHE_VERSION }} |
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.
Looks like the cache key will additionally include the branch name / context, so this will cycle the cache. See https://github.com/bitcoin/bitcoin/actions/caches
win64-native-ccache-installation-4.7.5 2.7 MB cached August 28, 2023 08:55
refs/pull/27601/merge
win64-native-ccache-installation-4.7.5 2.7 MB cached August 28, 2023 07:43
refs/pull/26312/merge
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.
While
keyremains the same, pull requests will restore cache from the master branch and make no new saves.
A few pull requests created their caches since they had not been created for the master branch yet.
All recent pull requests skipped saving their caches because they hit the caches from the master branch.
| uses: actions/cache@v3 | ||
| with: | ||
| path: C:/vcpkg/downloads/tools | ||
| key: ${{ github.job }}-vcpkg-tools |
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.
same, etc ...
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.
…nal tests for pull requests 62ab3e9 ci, windows: Do not run extended functional tests for pull requests (Hennadii Stepanov) Pull request description: This PR is intended to speed up the CI feedback for pull requests: - a [PR](https://github.com/bitcoin/bitcoin/actions/runs/6019964104?pr=28196) opened against the current master branch:  - this PR:  Suggested in bitcoin/bitcoin#28173 (comment): > An alternative would be to run them on non-pr pushes only. Failures should be rare enough to deal with them post-merge. ACKs for top commit: MarcoFalke: lgtm ACK 62ab3e9 if https://github.com/hebasto/bitcoin/actions/runs/6023862001/job/16341417883 is green Tree-SHA512: e937efc5c03290f5d246ce1b0638dc72f39ef1d509ba5d2063f92bfe9157c602e6a952a9558dfc6413bbc5209fe55280b3278a0e4079773b8cc9ff236c8f9246
| # Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted". | ||
| # See: https://learn.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance | ||
| - netsh int ipv4 set dynamicport tcp start=1025 num=64511 | ||
| - netsh int ipv6 set dynamicport tcp start=1025 num=64511 |
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.
Is this no longer needed? Looks like the functional tests fail on almost every push?
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.
No, logs say nothing about WinError 10048 error.
See #28384 for a proposed fix.
…s for pull requests 62ab3e9 ci, windows: Do not run extended functional tests for pull requests (Hennadii Stepanov) Pull request description: This PR is intended to speed up the CI feedback for pull requests: - a [PR](https://github.com/bitcoin/bitcoin/actions/runs/6019964104?pr=28196) opened against the current master branch:  - this PR:  Suggested in bitcoin#28173 (comment): > An alternative would be to run them on non-pr pushes only. Failures should be rare enough to deal with them post-merge. ACKs for top commit: MarcoFalke: lgtm ACK 62ab3e9 if https://github.com/hebasto/bitcoin/actions/runs/6023862001/job/16341417883 is green Tree-SHA512: e937efc5c03290f5d246ce1b0638dc72f39ef1d509ba5d2063f92bfe9157c602e6a952a9558dfc6413bbc5209fe55280b3278a0e4079773b8cc9ff236c8f9246


From #28098:
Historical context:
Security concerns:
GITHUB_TOKENpermissions (from the build log in my personal repo):Comparison of resources:
The
TEST_RUNNER_TIMEOUT_FACTORvariable is set to the current default value for all CI tasks:bitcoin/ci/test/00_setup_env.sh
Line 48 in 64440bb