Skip to content

Conversation

Sjors
Copy link
Owner

@Sjors Sjors commented Sep 9, 2025

Testing bitcoin#33229 with an additional test simplification.

allows the bitcoin executable to switch between bitcoind and
bitcoin-node as needed.

This commit simplifies the test suite to take advantage of that,
but also retain some coverage of direct bitcoind usage. The latter
is achieved by only the wrapper if ipc functionality is required.
@Sjors Sjors force-pushed the 2025/08/test-auto-bitcoin branch from e3db5a3 to cf08bc9 Compare September 9, 2025 09:24
@Sjors
Copy link
Owner Author

Sjors commented Sep 9, 2025

@willcl-ark any idea why MSan and TSan would fail on my fork? I'm not using the paid runners, so IIUC since bitcoin#32989 it should fall back to free Github runners. I could try on to see if that's the culprit.

#9 232.9 fatal: Remote branch llvmorg-21.1.1 not found in upstream origin
#9 232.9 Retries exhausted
#9 ERROR: process "bash -c cd /ci_container_base/ && set -o errexit && source ./ci/test/00_setup_env.sh && ./ci/test/01_base_install.sh" did not complete successfully: exit code: 128

https://github.com/Sjors/bitcoin/actions/runs/17578075963/job/49927909949?pr=104

I opened #105 to further debug CI on a more recent master commit.

@ryanofsky
Copy link

This is nice idea. A change like cf08bc9 would be good so tests just use the bitcoin wrapperand and test IPC by default without CI configurations needing to specify BITCOIN_CMD. I think some changes might be need to be made to respect BITCOIND variable though, so if a BITCOIND path is set it will be used instead of the bitcoin wrapper, to not break developer workflows and CI jobs that may be using BITCOIND. It may also make sense to keep BITCOIN_CMD option around too.

@willcl-ark
Copy link

@willcl-ark any idea why MSan and TSan would fail on my fork? I'm not using the paid runners, so IIUC since bitcoin#32989 it should fall back to free Github runners. I could try on to see if that's the culprit.

#9 232.9 fatal: Remote branch llvmorg-21.1.1 not found in upstream origin
#9 232.9 Retries exhausted
#9 ERROR: process "bash -c cd /ci_container_base/ && set -o errexit && source ./ci/test/00_setup_env.sh && ./ci/test/01_base_install.sh" did not complete successfully: exit code: 128

Sjors/bitcoin/actions/runs/17578075963/job/49927909949?pr=104

I opened #105 to further debug CI on a more recent master commit.

This appears to be related to bitcoin#33345 (now fixed by a tag appearing upstream).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants