[flake]: itest multihop-local_preimage_claim_simple_taproot_final_zero_conf
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start with the failing integration test at lnd_multi-hop_force_close_test.go:2784 and inspect how it waits for the sweeps in the mempool before mining. Then read the sweeper and channel arbitrator logs described in the report to trace when Bob's commit-output sweep is registered and attempted. The issue is resolved when the chosen test-side or production-side behavior avoids this timeout; maintainers need to decide which approach is appropriate.
Written by the indexing model from the issue text.
Description
Automated flake report from the lnd flake agent.
Test: itest multihop-local_preimage_claim_simple_taproot_final_zero_conf — nightly bitcoind-sqlite leg
Occurrences:
- run 45932644560 (nightly, 2026-11-27T03:10:52Z): https://github.com/lightningnetwork/lnd/actions/runs/45932644560/job/140288573527
Failure: lnd_multi-hop_force_close_test.go:2784 — MineBlocksAndAssertNumTxes(1, 2) times out after ~61 s:
want 2, got 1 in mempool: [d7f3da7db2ed70cd556382ccd4c7290e440a22b63941c2704eb880c01cfdee24]
assert tx in mempool timeout
The test expects Carol's incoming-HTLC sweep and Bob's commit-output sweep in the mempool before it mines the next block. Only Carol's tx d7f3da7d... was there.
Diagnosis (from node log artifacts): a millisecond-scale deadlock between Bob's block-triggered sweeper and the test gating the next block on the mempool.
Bob is suspended and restarted right after Carol's force close confirms:
03:31:44.847Bob's ZMQ listeners up (restart)03:31:45.127Bob's sweeper processes tip block 874:Received new block: height=874, attempt sweeping 1 inputs— at this point only the uneconomical Alice⇒Bob anchor is registered (skipped: budget 330 sat < min fee 577 sat)03:31:45.134/135Bob's channel arbitrator finishes processing the same block and registers the commit-output sweep35c59bf8...:3 (TaprootRemoteCommitSpendFinal)— ~8 ms after the sweeper's block-874 attempt- no further block arrives, because the test is waiting for Bob's sweep tx in the mempool before mining; the sweeper only attempts sweeps on new blocks, so Bob's tx is never published
03:32:46test times out (AssertNumPendingSweeps(bob, 3)had already passed at registration time, so the wait helper gives no protection)
In production the sweep would simply go out with the next block, so this is not a funds-loss bug; but whether the right fix is test-side (don't gate mining on a block-triggered sweep) or production-side (sweep attempt on registration/timer, not only on new blocks) is a maintainer call, so this stays at diagnosis. First seen; single occurrence so far.
- Dominant language
- Go
- Stars
- 8.2k
- Forks
- 2.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 103
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDPossibly taken @litbot-9000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
lightningnetwork/lnd#11676 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 85/100
lightningnetwork/lnd#11674 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lightningnetwork/lnd#11672 ·
Maintainers usually reply within 1 day
-
test flake
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
lightningnetwork/lnd#11663 · 1 comment ·
Maintainers usually reply within 1 day
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsOpentest flake
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lightningnetwork/lnd#11642 · 1 comment ·
Maintainers usually reply within 1 day
All issues in lightningnetwork/lnd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
containers/gvisor-tap-vsock#796 ·
Maintainers usually reply within 2 days
-
external needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
celestiaorg/celestia-node#5448 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPossibly taken @huanghaoyuanhhy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zilliztech/milvus-backup#1418 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/nuclei#8423 ·
Maintainers usually reply within 1 day