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

ci job to detect divergence (e.g. multi-node local chain) #3444

Closed
dckc opened this issue Jul 1, 2021 · 6 comments
Closed

ci job to detect divergence (e.g. multi-node local chain) #3444

dckc opened this issue Jul 1, 2021 · 6 comments
Assignees
Labels
cosmic-swingset package: cosmic-swingset deployment Chain deployment mechanism (e.g. testnet) enhancement New feature or request SwingSet package: SwingSet test
Milestone

Comments

@dckc
Copy link
Member

dckc commented Jul 1, 2021

To start a multi-node test chain, we have a scenario1, but it involves more infrastructure than I expected (terraform, ansible) and seemed to take more disk space than I expected.

gaia has a docker-compose based approach that is about the size and shape of what I expected. I'd like to try porting this to ag-chain-cosmos.

https://github.com/cosmos/gaia/blob/main/docs/gaia-tutorials/installation.md and https://github.com/cosmos/gaia/blob/main/docs/gaia-tutorials/deploy-testnet.md got me a 4 node cosmos network:

git clone ...
make install
gaiad version --long  # after cleaning up an old ~/.gaia
make build-linux
make build-docker-gaiadnode
make localnet-start
@dckc dckc added enhancement New feature or request cosmic-swingset package: cosmic-swingset deployment Chain deployment mechanism (e.g. testnet) test labels Jul 1, 2021
@dckc dckc self-assigned this Jul 1, 2021
@dckc
Copy link
Member Author

dckc commented Jul 16, 2021

@mhofman you noted lately that you weren't sure about automated techniques for a multi-node chain. This looks pretty interesting, to me. It's different from the way @michaelfig usually does it, but I don't understand some of the motivation for his approach (terraform, ...).

cc @warner

@dckc dckc changed the title multi-node local chain using docker-compose ci job to detect divergence (e.g. multi-node local chain) Nov 29, 2021
@michaelfig
Copy link
Member

It's different from the way @michaelfig usually does it, but I don't understand some of the motivation for his approach (terraform, ...).

The motivation is that I want to use the same process for CI testing that we actually use to deploy the devnet, just on Docker containers instead of cloud machines.

The Gaia style of testing is reasonable, too, though. Probably some combination of the two will be useful.

@Tartuffo
Copy link
Contributor

Simple case will be done as part of CI. We don't currently do node restarts, but should be straightforward with Michael's new tools.

@Tartuffo Tartuffo removed the MN-1 label Feb 7, 2022
@Tartuffo
Copy link
Contributor

@mhofman Please create new issue for longer term stop/restart multiple validator node test, then close this.

@Tartuffo
Copy link
Contributor

Done and merged.

@mhofman
Copy link
Member

mhofman commented Feb 15, 2022

Opened #4557 for a stop/restart based test

@Tartuffo Tartuffo added this to the Mainnet 1 milestone Mar 23, 2022
@Tartuffo Tartuffo modified the milestones: Mainnet 1, RUN Protocol RC0 Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmic-swingset package: cosmic-swingset deployment Chain deployment mechanism (e.g. testnet) enhancement New feature or request SwingSet package: SwingSet test
Projects
None yet
Development

No branches or pull requests

4 participants