ElementsProject / ElementsProject/lightning

pytest: *BROKEN* in `test_funding_v2_cancel_race`

Open
#9,063 0 comments 0 reactions 0 assignees View on GitHub
mac QA
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.