Open nasdf opened 3 months ago
=== FAIL: tests/integration/index TestQueryWithIndexOnManyToOne_MultipleViaOneToMany (0.16s)
Jul 30 22:15:59.263 INF tests.integration database=badger-file-system client=go mutationType=collection-named databaseDir="" badgerEncryption=false skipNetworkTests=false changeDetector.Enabled=false changeDetector.SetupOnly=false changeDetector.SourceBranch=develop changeDetector.TargetBranch="" changeDetector.Repository=https://github.com/sourcenetwork/defradb.git
Jul 30 22:15:59.372 INF db Closing DefraDB process...
Jul 30 22:15:59.425 INF db Successfully closed running process
panic: Unclosed iterator at time of Txn.Discard.
panic: Unclosed iterator at time of Txn.Discard. [recovered]
panic: Unclosed iterator at time of Txn.Discard.
goroutine 53426 [running]:
testing.tRunner.func1.2({0x62f39a0, 0x84fa040})
/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1545 +0x366
testing.tRunner.func1()
/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1548 +0x630
panic({0x62f39a0?, 0x84fa040?})
/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:920 +0x270
github.com/sourcenetwork/badger/v4.(*Txn).Discard(0xc000e5c280)
/home/runner/go/pkg/mod/github.com/sourcenetwork/badger/v4@v4.2.1-0.20231113215945-a63444ca5276/txn.go:524 +0x1fe
github.com/sourcenetwork/defradb/datastore/badger/v4.(*txn).discard(...)
/home/runner/work/defradb/defradb/datastore/badger/v4/datastore.go:780
github.com/sourcenetwork/defradb/datastore/badger/v4.(*txn).Discard(0xc007e2b158, {0x4ed6d5?, 0xc007e9ef18?})
/home/runner/work/defradb/defradb/datastore/badger/v4/datastore.go:776 +0x1c5
github.com/sourcenetwork/defradb/datastore.(*txn).Discard(0xc001646780, {0x85499e0, 0xc001711920})
/home/runner/work/defradb/defradb/datastore/txn.go:125 +0xb5
panic({0x62f39a0?, 0x84fa040?})
/opt/hostedtoolcache/go/1.21.3/x64/src/runtime/panic.go:920 +0x270
github.com/sourcenetwork/badger/v4.(*Txn).Discard(0xc000e5c280)
/home/runner/go/pkg/mod/github.com/sourcenetwork/badger/v4@v4.2.1-0.20231113215945-a63444ca5276/txn.go:524 +0x1fe
github.com/sourcenetwork/badger/v4.(*Txn).Commit(0xc000e5c280)
/home/runner/go/pkg/mod/github.com/sourcenetwork/badger/v4@v4.2.1-0.20231113215945-a63444ca5276/txn.go:665 +0x17f
github.com/sourcenetwork/defradb/datastore/badger/v4.(*txn).commit(0xc007e2b158)
/home/runner/work/defradb/defradb/datastore/badger/v4/datastore.go:765 +0x98
github.com/sourcenetwork/defradb/datastore/badger/v4.(*txn).Commit(0xc007e2b158, {0x0?, 0x0?})
/home/runner/work/defradb/defradb/datastore/badger/v4/datastore.go:761 +0x198
github.com/sourcenetwork/defradb/datastore.(*txn).Commit(0xc001646780, {0x85499e0, 0xc001711920})
/home/runner/work/defradb/defradb/datastore/txn.go:106 +0xa9
github.com/sourcenetwork/defradb/internal/db.(*db).ExecRequest(0x68398c0?, {0x85499e0, 0xc001711860}, {{0x6cfe055?, 0x47eff4?}, {0x0?, 0x0?}})
/home/runner/work/defradb/defradb/internal/db/store.go:38 +0x383
github.com/sourcenetwork/defradb/tests/integration.executeRequest(0xc001818000, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x6cfe055, 0x5f}, {0x0, ...}, ...})
/home/runner/work/defradb/defradb/tests/integration/utils2.go:1708 +0x382
github.com/sourcenetwork/defradb/tests/integration.performAction(0xc001818000, 0x0?, {0x692b0a0?, 0xc000df0080?})
/home/runner/work/defradb/defradb/tests/integration/utils2.go:336 +0x1347
github.com/sourcenetwork/defradb/tests/integration.executeTestCase({0x8549970?, 0xc1ade00}, {0x859cf18?, 0xc001c81860?}, {0xc000bd4180, 0x3, 0x3}, {{0x0, 0x0}, {0xc000c400a0, ...}, ...}, ...)
/home/runner/work/defradb/defradb/tests/integration/utils2.go:226 +0x1276
github.com/sourcenetwork/defradb/tests/integration.ExecuteTestCase({0x859cf18?, 0xc001c81860}, {{0x0, 0x0}, {0xc000c400a0, 0x5, 0x5}, {0x0, {0x0, 0x0, ...}}, ...})
/home/runner/work/defradb/defradb/tests/integration/utils2.go:180 +0xade
github.com/sourcenetwork/defradb/tests/integration/index.TestQueryWithIndexOnManyToOne_MultipleViaOneToMany(0x0?)
make: *** [Makefile:307: test:coverage] Error 1
/home/runner/work/defradb/defradb/tests/integration/index/query_with_relation_filter_test.go:1018 +0xb88
testing.tRunner(0xc001c81860, 0x6f9cde8)
/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1595 +0x239
created by testing.(*T).Run in goroutine 1
/opt/hostedtoolcache/go/1.21.3/x64/src/testing/testing.go:1648 +0x82b