Skip to content

Conversation

Sjors
Copy link
Owner

@Sjors Sjors commented Aug 21, 2025

Tests bitcoin#33201 on additional CI hosts.

Review hint / note to self: make sure they're not skipped.

ryanofsky and others added 5 commits August 21, 2025 02:39
Expose ENABLE_IPC build option to function tests so new tests can test IPC-only features.
Set new `BitcoinTestFramework.binary_paths.bitcoin_bin` property with path to
the `bitcoin` wrapper binary. This allows new tests for `bitcoin-mine` in
bitcoin#30437 and `bitcoin-cli` in bitcoin#32297 to find the `bitcoin` binary and call
`bitcoin -m` to start nodes with IPC support. This way the new tests can run
whenever the ENABLE_IPC build option is enabled, instead of only running when
the `BITCOIN_CMD` environment variable is set to `bitcoin -m`
With this change, tests can specify `self.extra_init = [{ipcbind: True}]` to
start a node listening on an IPC socket, instead of needing to choose which
node binary to invoke and what `self.extra_args=[["-ipcbind=..."]]` value to
pass to it.

The eliminates boilerplate code bitcoin#30437 (interface_ipc_mining.py), bitcoin#32297
(interface_ipc_cli.py), and bitcoin#33201 (interface_ipc.py) previously needed in
their test setup.
@Sjors
Copy link
Owner Author

Sjors commented Aug 21, 2025

@maflcko do older versions of pip not support --break-system-packages? https://cirrus-ci.com/task/4703288098029568?logs=ci#L1081

@maflcko
Copy link

maflcko commented Aug 21, 2025

LLM generated (experimental)

Older versions of the Python package installer, pip, do not support the --break-system-packages flag. This option was introduced in pip version 23.0.1 as a direct consequence of the implementation of Python Enhancement Proposal (PEP) 668.

Install pycapnp on all (active) CI hosts which have IPC enabled and
run the functional tests.

Except for previous_releases, which uses an older version of pip
that doesn't support --break-system-packages.
@Sjors Sjors force-pushed the 2025/08/ipc-test branch from f5deab2 to 0c88edc Compare August 21, 2025 13:10
@Sjors
Copy link
Owner Author

Sjors commented Aug 21, 2025

Ok, I just dropped that host for now, as this should be plenty of coverage.

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.

4 participants