Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky integration v2 test #22736

Open
Tracked by #21804
julienrbrt opened this issue Dec 3, 2024 · 0 comments
Open
Tracked by #21804

Flaky integration v2 test #22736

julienrbrt opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@julienrbrt
Copy link
Member

--- 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/[email protected]/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/[email protected]/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

cc @akhilkumarpilli @sontrinh16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant