Skip to content

TestCLITestSuite/TestCmdQueryTally failed test-race #6614

@rootulp

Description

@rootulp

test-race failed on

WARNING: DATA RACE
Read at 0x00c002c67c20 by goroutine 992:
  cosmossdk.io/store/rootmulti.(*Store).LastCommitID()
      /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.2/rootmulti/store.go:448 +0x49
  cosmossdk.io/store/rootmulti.(*Store).LatestVersion()
      /home/runner/go/pkg/mod/cosmossdk.io/store@v1.1.2/rootmulti/store.go:443 +0x26
  github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CreateQueryContext()
      /home/runner/go/pkg/mod/github.com/celestiaorg/cosmos-sdk@v0.52.1/baseapp/abci.go:1267 +0x1a9
  github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func1()
      /home/runner/go/pkg/mod/github.com/celestiaorg/cosmos-sdk@v0.52.1/baseapp/grpcserver.go:49 +0x1aa
  github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func2.ChainUnaryServer.2.1()
      /home/runner/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.4.0/chain.go:48 +0xcd
  github.com/grpc-ecosystem/go-grpc-middleware/recovery.UnaryServerInterceptor.func1()
      /home/runner/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.4.0/recovery/interceptors.go:33 +0x164
  github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func2.ChainUnaryServer.2()
      /home/runner/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.4.0/chain.go:53 +0x222
  github.com/celestiaorg/celestia-app/v7/x/signal/types._Query_VersionTally_Handler()
      /home/runner/work/celestia-app/celestia-app/x/signal/types/query.pb.go:460 +0x1e6
  github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).RegisterGRPCServer.func2()
      /home/runner/go/pkg/mod/github.com/celestiaorg/cosmos-sdk@v0.52.1/baseapp/grpcserver.go:81 +0x1ad
  google.golang.org/grpc.(*Server).processUnaryRPC()
      /home/runner/go/pkg/mod/google.golang.org/grpc@v1.79.1/server.go:1426 +0x1a69
  google.golang.org/grpc.(*Server).handleStream()
      /home/runner/go/pkg/mod/google.golang.org/grpc@v1.79.1/server.go:1830 +0x1772
  google.golang.org/grpc.(*Server).serveStreams.func2.1()
      /home/runner/go/pkg/mod/google.golang.org/grpc@v1.79.1/server.go:1061 +0x149


==================
    testing.go:1617: race detected during execution of test
=== NAME  TestCLITestSuite
    network.go:97: tearing down testnode
--- FAIL: TestCLITestSuite (4.49s)
    --- PASS: TestCLITestSuite/TestCmdGetUpgrade (0.01s)
    --- FAIL: TestCLITestSuite/TestCmdQueryTally (0.03s)
FAIL
FAIL	github.com/celestiaorg/celestia-app/v7/x/signal/cli	5.380s

https://github.com/celestiaorg/celestia-app/actions/runs/22228726555/job/64302224284?pr=6611

Metadata

Metadata

Assignees

Labels

flakeA test flake that occurred on Github CI

Type

No type

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions