ElementsProject / ElementsProject/lightning

pytest: *BROKEN* in test_xpay_limited_max_accepted_htlcs

Open
#9,035 4 comments 0 reactions 1 assignee Claimed by @rustyrussell 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 CLN v26.04rc2, using MacOS M5 Tahoe 26.4, run `uv run pytest -vvvv tests/test_xpay.py::test_xpay_limited_max_accepted_htlcs`
The test is passed but with the following error:
```
ERROR tests/test_xpay.py::test_xpay_limited_max_accepted_htlcs - ValueError:
Node errors:
- lightningd-1: had BROKEN or That's weird messages
Global errors:
```

LOG:
```
['lightningd-1 2026-04-07T11:20:51.379Z **BROKEN** lightningd: Two equal candidates 0xbdb130cb0 and 0xbdb130cb0, channels 0xbdb2eb028 and 0xbdb2eb028, rr_number 4 and 4', 'lightningd-1 2026-04-07T11:20:51.379Z **BROKEN** lightningd: Two equal candidates 0xbdb130cb0 and 0xbdb130cb0, channels 0xbdb2eb028 and 0xbdb2eb028, rr_number 4 and 4']
Leaving base_dir /tmp/ltests-1x_uo8th intact, it still has test sub-directories with failure details: ['test_xpay_limited_max_accepted_htlcs_1']
```

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.