How to replicate
On MacOS M5 Tahoe 26.4, run EXPERIMENTAL_DUAL_FUND=1 uv run pytest -vvvv tests/test_connection.py::test_funding_v2_cancel_race
The test failed with:
FAILED tests/test_connection.py::test_funding_v2_cancel_race - pyln.client.lightning.RpcError: RPC call failed: method: connect, payload: {'id': '03a45869ddda3c73e3ad87d131f44450f0133757b762745cea29b5430739aa6ff3', 'host': 'localhost', 'port': 57467}, error: {'code': 401, 'message': 'All addresses failed: 127.0.0.1:57467: Cryptographic handshake: peer closed connection (wrong key?). '}
ERROR tests/test_connection.py::test_funding_v2_cancel_race - ValueError:
Node errors:
- lightningd-7: had BROKEN or That's weird messages
- lightningd-7: Node exited with return code 1
Global errors:
Broken log:
lightningd-7 2026-04-16T07:50:59.215Z **BROKEN** connectd: STATUS_FAIL_HSM_IO: No hsmd ECDH response
The same test pass on Rocky Linux.
How to replicate
On MacOS M5 Tahoe 26.4, run
EXPERIMENTAL_DUAL_FUND=1 uv run pytest -vvvv tests/test_connection.py::test_funding_v2_cancel_raceThe test failed with:
Broken log:
The same test pass on Rocky Linux.