Closed hieblmi closed 1 month ago
looks like there's another race from this build when merging #8764,
--- FAIL: TestMigrations (0.00s)
--- FAIL: TestMigrations/TestInvoiceExpiryMigration_Postgres (15.04s)
postgres_fixture.go:70:
Error Trace: /home/runner/work/lnd/lnd/sqldb/postgres_fixture.go:70
/home/runner/work/lnd/lnd/sqldb/migrations_test.go:30
/home/runner/work/lnd/lnd/sqldb/migrations_test.go:75
/home/runner/work/lnd/lnd/sqldb/migrations_test.go:60
Error: Received unexpected error:
API error (500): Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Test: TestMigrations/TestInvoiceExpiryMigration_Postgres
Messages: Could not start resource
FAIL
FAIL github.com/lightningnetwork/lnd/sqldb 15.051s
FAIL
ok github.com/lightningnetwork/lnd/zpay32 1.995s
--- FAIL: TestInvoiceRegistry (15.01s)
postgres_fixture.go:70:
Error Trace: /home/runner/work/lnd/lnd/sqldb/postgres_fixture.go:70
/home/runner/work/lnd/lnd/invoices/invoiceregistry_test.go:121
Error: Received unexpected error:
API error (500): Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Test: TestInvoiceRegistry
Messages: Could not start resource
--- FAIL: TestInvoices (15.01s)
postgres_fixture.go:70:
Error Trace: /home/runner/work/lnd/lnd/sqldb/postgres_fixture.go:70
/home/runner/work/lnd/lnd/invoices/invoices_test.go:227
Error: Received unexpected error:
API error (500): Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Test: TestInvoices
Messages: Could not start resource
FAIL
FAIL github.com/lightningnetwork/lnd/invoices 30.208s
FAIL
@yyforyongyu is that a race? That just looks like the docker API timing out.
Hey yall - fixing this in the route blinding follow up PR 👍 (well, at least the TestNewRouteRequest part. i think the TestInvoiceExpiryMigration_Postgres is separate)
Background
Observed the following race condition in
make btcd unit-race
Your environment
lnd
commit04dde98edcc0a85699986374ef950687cd043871
inbetween v0.18.2 and v0.18.3