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

Gitpod timeout affects “gnoland start” #145

Open
iuricmp opened this issue Sep 25, 2023 · 0 comments
Open

Gitpod timeout affects “gnoland start” #145

iuricmp opened this issue Sep 25, 2023 · 0 comments

Comments

@iuricmp
Copy link
Contributor

iuricmp commented Sep 25, 2023

After the workspace times out and is restarted, running the "gnoland start" command results in errors.

Steps to Reproduce:

  1. Start Gnochess Gitpod workspace.
  2. Verify that "gnoland start" command successfully stated.
  3. Allow the workspace to time out due to inactivity.
  4. Restart the workspace.
  5. Attempt to run "gnoland start" command again.

Logs

gitpod /workspace/gno/gno.land (patch/gnochess) $ gnoland start
.level 1 .msg Starting multiAppConn [impl multiAppConn [module proxy]]
.level 1 .msg Starting localClient [[impl localClient [module abci-client connection query]] [module proxy]]
.level 1 .msg Starting localClient [[impl localClient [module abci-client connection mempool]] [module proxy]]
.level 1 .msg Starting localClient [[impl localClient [module abci-client connection consensus]] [module proxy]]
.level 1 .msg Starting IndexerService [impl IndexerService [module txindex]]
.level 1 .msg ABCI Handshake App Info [height 5526 hash 6714C3FEC88952228C875DBE758E11D7625551DAC8B0733A438E9BAA8CFE5040 abci-version  app-version  [module consensus]]
.level 1 .msg ABCI Replay Blocks [appHeight 5526 storeHeight 5526 stateHeight 5526 [module consensus]]
.level 1 .msg Completed ABCI Handshake - Tendermint and App are synced [appHeight 5526 appHash 6714C3FEC88952228C875DBE758E11D7625551DAC8B0733A438E9BAA8CFE5040 [module consensus]]
.level 1 .msg Version info version v1.0.0-rc.0
.level 1 .msg This node is a validator [addr g1s22cn0qf5630fm2rla57uncjmh77x26rvhhshz pubKey gpub1pggj7ard9eg82cjtv4u52epjx56nzwgjyg9zq7xprlqlv89pzweu0phgtvgn7wq49zgwv52j9anzyuef3qxhkt7dweefdv [module consensus]]
.level 1 .msg P2P Node ID [ID g1ykp3007xdmsh3cxsteductgmgaszkaczqquyxx file testdir/config/node_key.json [module p2p]]
.level 1 .msg Adding persistent peers [addrs [] [module p2p]]
Node created.
.level 1 .msg Starting Node impl Node
.level 1 .msg Starting RPC HTTP server on 127.0.0.1:26657 [[module rpc-server]]
.level 1 .msg Starting P2P Switch [impl P2P Switch [module p2p]]
.level 1 .msg Starting Reactor [impl Reactor [module mempool]]
.level 1 .msg Starting BlockchainReactor [impl BlockchainReactor [module blockchain]]
.level 1 .msg Starting ConsensusReactor [impl ConsensusReactor [module consensus]]
.level 1 .msg ConsensusReactor  [fastSync false [module consensus]]
.level 1 .msg Starting ConsensusState [impl ConsensusState [module consensus]]
.level 1 .msg Starting baseWAL [[impl baseWAL [wal testdir/data/cs.wal/wal]] [module consensus]]
.level 1 .msg Starting Group [[impl Group [wal testdir/data/cs.wal/wal]] [module consensus]]
.level 1 .msg Starting TimeoutTicker [impl TimeoutTicker [module consensus]]
.level 1 .msg Searching for height [[height 5528 min 0 max 1 [wal testdir/data/cs.wal/wal]] [module consensus]]
.level 0 .msg Starting timeout routine [[module consensus]]
panic: should not happen

goroutine 1 [running]:
github.com/gnolang/gno/tm2/pkg/bft/wal.(*baseWAL).SearchForHeight(0xc007b12850, 0x1598, 0xc0089325a0)
        /workspace/gno/tm2/pkg/bft/wal/wal.go:316 +0xcdd
github.com/gnolang/gno/tm2/pkg/bft/consensus.(*ConsensusState).catchupReplay(0xc0074e4600, 0x1597)
        /workspace/gno/tm2/pkg/bft/consensus/replay.go:110 +0xcc
github.com/gnolang/gno/tm2/pkg/bft/consensus.(*ConsensusState).OnStart(0xc0074e4600)
        /workspace/gno/tm2/pkg/bft/consensus/state.go:319 +0x23b
github.com/gnolang/gno/tm2/pkg/service.(*BaseService).Start(0xc0074e4600)
        /workspace/gno/tm2/pkg/service/service.go:139 +0x1f2
github.com/gnolang/gno/tm2/pkg/bft/consensus.(*ConsensusReactor).OnStart(0xc0069dca80)
        /workspace/gno/tm2/pkg/bft/consensus/reactor.go:76 +0x14d
github.com/gnolang/gno/tm2/pkg/service.(*BaseService).Start(0xc0069dca80)
        /workspace/gno/tm2/pkg/service/service.go:139 +0x1f2
github.com/gnolang/gno/tm2/pkg/p2p.(*Switch).OnStart(0xc00624b380)
        /workspace/gno/tm2/pkg/p2p/switch.go:201 +0x9c
github.com/gnolang/gno/tm2/pkg/service.(*BaseService).Start(0xc00624b380)
        /workspace/gno/tm2/pkg/service/service.go:139 +0x1f2
github.com/gnolang/gno/tm2/pkg/bft/node.(*Node).OnStart(0xc0070081c0)
        /workspace/gno/tm2/pkg/bft/node/node.go:607 +0x3b5
github.com/gnolang/gno/tm2/pkg/service.(*BaseService).Start(0xc0070081c0)
        /workspace/gno/tm2/pkg/service/service.go:139 +0x1f2
main.execStart(0xc00019fc70, {0x0?, 0x0?, 0x0?}, 0xc0000b9c70)
        /workspace/gno/gno.land/cmd/gnoland/start.go:169 +0x4a6
main.newStartCmd.func1({0x0?, 0xc000036050?}, {0x15442a0?, 0x0?, 0x0?})
        /workspace/gno/gno.land/cmd/gnoland/start.go:51 +0x2c
github.com/gnolang/gno/tm2/pkg/commands.(*Command).Run(0xc000195bb0?, {0xfabf30?, 0x15442a0?})
        /workspace/gno/tm2/pkg/commands/command.go:233 +0x19d
github.com/gnolang/gno/tm2/pkg/commands.(*Command).Run(0xc00019b4a0?, {0xfabf30?, 0x15442a0?})
        /workspace/gno/tm2/pkg/commands/command.go:237 +0x149
github.com/gnolang/gno/tm2/pkg/commands.(*Command).ParseAndRun(0x40918b?, {0xfabf30, 0x15442a0}, {0xc000036050?, 0x401470?, 0xc000048118?})
        /workspace/gno/tm2/pkg/commands/command.go:118 +0x49
main.main()
        /workspace/gno/gno.land/cmd/gnoland/root.go:17 +0x66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant