[flake]: invoices.TestInvoiceRegistry/MppPaymentWithOverpayment_Postgres
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, go, postgresql
- Domain
- backend-api-design, databases, testing
Research direction
Start with invoiceregistry_test.go:2408 and test_utils_test.go:400, then compare the postgres fixture behavior with issue #11641 and the change in PR #11638. Reproduce the unit-race timeout and trace the blocked migration read and StopContainer call; done means the fixture no longer hangs under this test and the relevant test passes reliably.
Written by the indexing model from the issue text.
Description
Automated flake report from the lnd flake agent.
Test: invoices.TestInvoiceRegistry/MppPaymentWithOverpayment_Postgres — unit-race leg
Occurrences:
- run 45902617086 (merge_group, 2026-11-26T22:06:36Z): https://github.com/lightningnetwork/lnd/actions/runs/45902617086/job/140193933383 (queued PR 11586 does not touch the invoices package)
Failure: the package's 1 m test watchdog (test_utils_test.go:400) fired. The test goroutine was blocked in the postgres fixture, not in invoice-registry logic:
NewTestPostgresDB -> ApplyAllMigrations -> pgx socket read (invoiceregistry_test.go:2408 -> 666)
A second goroutine was simultaneously blocked in a dockertest StopContainer HTTP call. This is the same watchdog class as #11641 (MultipleSetHeightExpiry_Postgres), where the fixture's postgres container hangs and the watchdog aborts the test.
Note: distinct failure mode from the MppPaymentWithOverpayment_KV occurrence in run 45472518444 (postgres connection-limit pressure, fixed on master by cbfd0e482). PR #11638 makes the invoices postgres fixture lazy, which may reduce exposure here. Single occurrence so far; tracking.
- 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