Open
Description
opened on Dec 3, 2024
--- FAIL: TestDenomsMetadata (29.26s)
determinisitic_test.go:405: generated integration test app config; HomeDir=/tmp/TestDenomsMetadata2021755248/001
determinisitic_test.go:410: [rapid] panic after 99 tests: runtime error: invalid memory address or nil pointer dereference
To reproduce, specify -run="TestDenomsMetadata" -rapid.failfile="testdata/rapid/TestDenomsMetadata/TestDenomsMetadata-20241203150515-23320.fail" (or -rapid.seed=9606805313610630454)
Traceback:
/home/runner/go/pkg/mod/github.com/cockroachdb/pebble@v1.1.2/iterator.go:2257 in github.com/cockroachdb/pebble.(*Iterator).Close
/home/runner/work/cosmos-sdk/cosmos-sdk/store/v2/storage/pebbledb/iterator.go:165 in cosmossdk.io/store/v2/storage/pebbledb.(*iterator).Close
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/stf/branch/mergeiter.go:84 in cosmossdk.io/server/v2/stf/branch.(*mergedIterator[...]).Close
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/stf/gas/store.go:148 in cosmossdk.io/server/v2/stf/gas.(*iterator).Close
/home/runner/work/cosmos-sdk/cosmos-sdk/store/prefix/store.go:182 in cosmossdk.io/store/prefix.(*prefixIterator).Close
/home/runner/work/cosmos-sdk/cosmos-sdk/types/query/pagination.go:126 in github.com/cosmos/cosmos-sdk/types/query.Paginate
/home/runner/work/cosmos-sdk/cosmos-sdk/x/bank/keeper/grpc_query.go:182 in cosmossdk.io/x/bank/keeper.BaseKeeper.DenomsMetadata
/home/runner/work/cosmos-sdk/cosmos-sdk/x/bank/types/query.pb.go:1924 in cosmossdk.io/x/bank/types._Query_DenomsMetadata_Handler.func1
/home/runner/work/cosmos-sdk/cosmos-sdk/runtime/v2/manager.go:785 in cosmossdk.io/runtime/v2.grpcHandlerToAppModuleHandler.func1.messagePassingInterceptor.1
/home/runner/work/cosmos-sdk/cosmos-sdk/x/bank/types/query.pb.go:1926 in cosmossdk.io/x/bank/types._Query_DenomsMetadata_Handler
/home/runner/work/cosmos-sdk/cosmos-sdk/runtime/v2/manager.go:758 in cosmossdk.io/runtime/v2.grpcHandlerToAppModuleHandler.func1
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/stf/stf_router.go:121 in cosmossdk.io/server/v2/stf.(*MsgRouterBuilder).build.buildHandler.func3
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/stf/stf_router.go:169 in cosmossdk.io/server/v2/stf.coreRouterImpl.Invoke
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/stf/stf.go:483 in cosmossdk.io/server/v2/stf.STF[...].Query
/home/runner/work/cosmos-sdk/cosmos-sdk/server/v2/appmanager/appmanager.go:235 in cosmossdk.io/server/v2/appmanager.appManager[...].Query
/home/runner/work/cosmos-sdk/cosmos-sdk/tests/integration/v2/bank/determinisitic_test.go:64 in github.com/cosmos/cosmos-sdk/tests/integration/v2/bank.TestDenomsMetadata.queryFnFactory[...].func3
/home/runner/work/cosmos-sdk/cosmos-sdk/testutil/testdata/grpc_query.go:110 in github.com/cosmos/cosmos-sdk/testutil/testdata.DeterministicIterationsV2[...]
/home/runner/work/cosmos-sdk/cosmos-sdk/tests/integration/v2/bank/determinisitic_test.go:423 in github.com/cosmos/cosmos-sdk/tests/integration/v2/bank.TestDenomsMetadata.func1
/home/runner/go/pkg/mod/pgregory.net/rapid@v1.1.0/engine.go:368 in pgregory.net/rapid.checkOnce
Failed test output:
determinisitic_test.go:411: [rapid] draw count: 1
determinisitic_test.go:372: [rapid] draw denom: "A--"
determinisitic_test.go:374: [rapid] draw aliases: []string{}
determinisitic_test.go:381: [rapid] draw desc: "A"
determinisitic_test.go:385: [rapid] draw exponent: 0x0
determinisitic_test.go:391: [rapid] draw name: ""
determinisitic_test.go:392: [rapid] draw symbol: ""
determinisitic_test.go:393: [rapid] draw uri: ""
determinisitic_test.go:394: [rapid] draw uri-hash: ""
determinisitic_test.go:420: [rapid] draw pagination: &query.PageRequest{Key:[]uint8(nil), Offset:0x0, Limit:0x0, CountTotal:false, Reverse:false}
FAIL
coverage: 6.1% of statements in ../...
FAIL github.com/cosmos/cosmos-sdk/tests/integration/v2/bank 50.552s
ok github.com/cosmos/cosmos-sdk/tests/integration/v2/distribution 2.723s coverage: 5.2% of statements in ../...
ok github.com/cosmos/cosmos-sdk/tests/integration/v2/evidence 1.[90](https://github.com/cosmos/cosmos-sdk/actions/runs/12142312916/job/33856490095#step:5:91)1s coverage: 5.5% of statements in ../...
FAIL
https://github.com/cosmos/cosmos-sdk/actions/runs/12142312916/job/33856490095
Metadata
Assignees
Type
Projects
Status
📋 Backlog
Activity