[flake]: itest watchtower client_session_deletion: expected 10 backups, got 9
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in itest/lnd_watchtower_test.go: testWatchtowerClientSessionDeletion around line 312 calls assertNumBackups, which fails at line 708 after polling for 10 backups. Trace how generateBackups drives the payments and how backup delivery is timed against the defaultTimeout. Done means finding the cause of the missing backup, or a reproduction that shows it, with a fix or a documented timing change.
索引モデルが issue の本文から書いたものです。
説明
Flaky itest: watchtower client_session_deletion — expected 10 backups, got 9
Failure signature
--- FAIL: TestLightningNetworkDaemon/tranche09/228-of-384/bitcoind/watchtower-client_session_deletion (61.31s)
lnd_watchtower_test.go:708:
Error Trace: .../itest/lnd_watchtower_test.go:708
.../itest/lnd_watchtower_test.go:312
.../lntest/harness.go:332
.../itest/lnd_test.go:143
Error: Received unexpected error:
expected 10 backups, got 9
Observed in CI run: https://github.com/lightningnetwork/lnd/actions/runs/43430735131/job/131903326304 (bitcoind backend, 2026-11-13 13:23 UTC).
What's failing
In testWatchtowerClientSessionDeletion (itest/lnd_watchtower_test.go:312), the test:
- Opens a Dave→Alice channel and makes 5 payments, which produce 2 state updates each — 10 backups total, exhausting the session (
maxUpdates = 10). - Calls
assertNumBackups(ht, dave.RPC, wallisPk, 10, false), which polls the tower client's session stats until 10 backups appear ordefaultTimeoutelapses (fmt.Errorfat lnd_watchtower_test.go:708).
It timed out with 9 backups — so this failure is in the backup generation/delivery phase, before any of the session-deletion logic the test exists to cover. One backup either never arrived, arrived too late, or a payment produced fewer than its 2 expected updates within the window.
Frequency
One observed instance so far (2026-11-13, bitcoind tranche09). Unknown rate — this issue is for tracking recurrences.
Next steps
- Watch for repeats; if this shows up again, attach the full Dave/Alice/tower logs from the harness artifacts.
- Candidate areas: timing of backup delivery vs. payment completion in
generateBackups, session negotiation timing, and whetherdefaultTimeoutis simply too tight under CI load on the bitcoind backend.
- 主要言語
- Go
- スター
- 8.2k
- フォーク
- 2.3k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 103
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lightningnetwork/lnd のほかの issue
-
funding: failure logs print `<nil>` error and zero channel ID対応中かも @litbot-9000 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
lightningnetwork/lnd#11676 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 85/100
lightningnetwork/lnd#11674 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lightningnetwork/lnd#11672 ·
メンテナーはふだん 1 日以内に返信
-
test flake
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
lightningnetwork/lnd#11663 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsオープンtest flake
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lightningnetwork/lnd#11642 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
lightningnetwork/lnd の issue をすべて見る
似ている issue
-
ConcatAgenticMessages loses the approval request ID of a streamed MCP tool call対応中かも @ningsiyuan1024 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
containers/gvisor-tap-vsock#796 ·
メンテナーはふだん 2 日以内に返信
-
external needs:triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
celestiaorg/celestia-node#5448 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hosts対応中かも @huanghaoyuanhhy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
zilliztech/milvus-backup#1418 ·
メンテナーはふだん 1 日以内に返信