Skip to content

More test flake fixes #8472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rustyrussell
Copy link
Contributor

This contains a new magic string for CI to complain about, then steal's Matt's commit which reduces severity.

Closes #8466

rustyrussell and others added 3 commits August 19, 2025 13:47
This message is logged when connectd tries to shut down a peer
connection but the transmit buffer remains full for too long, maybe
because the peer has crashed or has lost connectivity. Logging this
message at the BROKEN level is inappropriate because BROKEN is intended
to flag logic errors that imply incorrect code in CLN. The error in
question here is actually a runtime error, which does not imply
incorrect code (at least on our side), so demote the log message to the
UNUSUAL level. (Even this is still probably too severe, as this message
is logged rather more frequently than "unusual" would suggest.)

Changelog-None
Closes: ElementsProject#5678
…d_chans_leases

```
 FAILED tests/test_bookkeeper.py::test_bookkeeping_missed_chans_leases - AssertionError: assert [{'tag': 'channel_open', 'credit_msat': 506268000, 'debit_msat': 0}, {'tag': 'lease_fee', 'credit_msat': 0, 'debit_msat': 6268000}, {'tag': 'invoice', 'credit_msat': 0, 'debit_msat': 11000000}, {'tag': 'onchain_fee', 'credit_msat': 1314000, 'debit_msat': 0}] == [{'tag': 'channel_open', 'credit_msat': 506268000, 'debit_msat': 0}, {'tag': 'lease_fee', 'credit_msat': 0, 'debit_msat': 6268000}, {'tag': 'onchain_fee', 'credit_msat': 1314000, 'debit_msat': 0}, {'tag': 'invoice', 'credit_msat': 0, 'debit_msat': 11000000}]
  
  At index 2 diff: {'tag': 'invoice', 'credit_msat': 0, 'debit_msat': 11000000} != {'tag': 'onchain_fee', 'credit_msat': 1314000, 'debit_msat': 0}
  
  Full diff:
    [
        {
            'credit_msat': 506268000,
            'debit_msat': 0,
            'tag': 'channel_open',
        },
        {
            'credit_msat': 0,
            'debit_msat': 6268000,
            'tag': 'lease_fee',
        },
        {
  +         'credit_msat': 0,
  +         'debit_msat': 11000000,
  +         'tag': 'invoice',
  +     },
  +     {
            'credit_msat': 1314000,
            'debit_msat': 0,
            'tag': 'onchain_fee',
        },
  -     {
  -         'credit_msat': 0,
  -         'debit_msat': 11000000,
  -         'tag': 'invoice',
  -     },
    ]
```

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell added this to the v25.09 milestone Aug 19, 2025
@rustyrussell rustyrussell requested a review from cdecker as a code owner August 19, 2025 04:19
@madelinevibes madelinevibes added the Type::Bug An error, flaw, or fault that produces an incorrect or unexpected result label Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type::Bug An error, flaw, or fault that produces an incorrect or unexpected result
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants