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

Infrastructure to support running integration tests #32

Closed
4 tasks done
romac opened this issue Mar 17, 2020 · 1 comment · Fixed by #140 or #544
Closed
4 tasks done

Infrastructure to support running integration tests #32

romac opened this issue Mar 17, 2020 · 1 comment · Fixed by #140 or #544
Assignees
Labels
I: logic Internal: related to the relaying logic O: new-feature Objective: cause to add a new feature or support
Milestone

Comments

@romac
Copy link
Member

romac commented Mar 17, 2020

Summary

Implement integration tests for IBC queries.

Problem Definition

As we implement more and more IBC queries, we need a way of making sure they are specified and executed properly, to avoid painstaking manual reviews like @ancazamfir did for #30.

Proposal

This is just the initial issue, for kick-starting integration tests.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@romac romac added O: new-feature Objective: cause to add a new feature or support I: logic Internal: related to the relaying logic labels Mar 17, 2020
@ancazamfir ancazamfir added this to the 0.6-6mo milestone Mar 24, 2020
@adizere adizere pinned this issue Jun 19, 2020
@ancazamfir ancazamfir unpinned this issue Jun 29, 2020
@adizere adizere assigned adizere and unassigned adizere Jul 10, 2020
@greg-szabo greg-szabo mentioned this issue Jul 10, 2020
6 tasks
@ancazamfir ancazamfir reopened this Oct 15, 2020
@ancazamfir ancazamfir modified the milestones: v0.0.2, v0.0.6 Oct 16, 2020
@adizere adizere mentioned this issue Nov 9, 2020
42 tasks
@andynog andynog self-assigned this Dec 1, 2020
@andynog
Copy link
Contributor

andynog commented Dec 1, 2020

Working on creating images to support integration test on CI/CD and local machines (devs)

@andynog andynog changed the title Integration tests for IBC queries Infrastructure to support running Integration tests Dec 1, 2020
andynog added a commit that referenced this issue Dec 1, 2020
andynog added a commit that referenced this issue Dec 2, 2020
…mpose. Removed relayer logic to cache dependencies (not working) (#32)
andynog added a commit that referenced this issue Dec 4, 2020
andynog added a commit that referenced this issue Dec 4, 2020
…mpose. Removed relayer logic to cache dependencies (not working) (#32)
andynog added a commit that referenced this issue Dec 7, 2020
andynog added a commit that referenced this issue Dec 15, 2020
@adizere adizere modified the milestones: v0.0.6, v0.0.7 Dec 23, 2020
andynog added a commit that referenced this issue Jan 5, 2021
andynog added a commit that referenced this issue Jan 5, 2021
@romac romac changed the title Infrastructure to support running Integration tests Infrastructure to support running integration tests Jan 6, 2021
@adizere adizere mentioned this issue Jan 20, 2021
5 tasks
andynog added a commit that referenced this issue Jan 20, 2021
andynog added a commit that referenced this issue Jan 20, 2021
andynog added a commit that referenced this issue Jan 21, 2021
adizere added a commit that referenced this issue Jan 22, 2021
* Files to create a gaia chain using docker compose (#32)

* Added logic to create two chains (#32)

* Added logic to create base relayer image (#32)

* Added logic to create shared volume to store keys. Build images in compose. Removed relayer logic to cache dependencies (not working) (#32)

* Adding support for proper networking so containers can communicate (#32)

* Files to create a gaia chain using docker compose (#32)

* Added logic to create two chains (#32)

* Added logic to create base relayer image (#32)

* Added logic to create shared volume to store keys. Build images in compose. Removed relayer logic to cache dependencies (not working) (#32)

* Adding support for proper networking so containers can communicate (#32)

* Working relayer cmds light client add and keys add (#32)

* Added logic for txs (client, connections, channels) and queries. Fully working now! (#32)

* Major refactoring of the logic to spin up chains. Chain init config files are part of the build now (#32)

* Initial migration changes

* More changes, add some of the ack CLIs

* cleanup

* Adding Github Workflow e2e testing action

* Reverting changes to Cargo.toml files. Not needed anymore

* Adding the chain files. Build relayer in relase mode. (#32)

* Logic to run relayer workflow separately (#32)

* fix packet ack

* clippy and fmt fixes

* Tweaks to improve performance, lower timeout values in chain config and Docker network improvements (#32)

* Fixed connOpenTry tests; ignored update client tests

* Fixed ack msg tests

* Added next identifier generation in mock context

* Changed logic to pull ibc chain images from docker hub (#32)

* Fixed ICS26 tests

* Fix for relayer tests

* Timeout packet, add Uninit for conn and chan, extract clientId

* Fix option order in packet Tx clis

* Tx result parsing (not generalized yet)

* add extern paths back

* WIP General event parsing out of tx response

* change packet envelope to packet

* Make the code compile, return clientID in relayer and CLI

* event parsing and matching for conn open init

* Change tm dependency, fix update client CLI

* log fix and move to cosmos v0.40.0-rc5 (no changes)

* Finished connection CLIs

* Event parsing and fixes for channel open CLIs

* add more event attributes, some refactor of the packet CLIs and packet relaying

* cleanup CLI output for channel, add more fields to events

* Fix relayer connection loop for dynamic IDs

* Adding script to build docker chains ibc0 and ibc1 (#32)

* Fix relayer channel loop for dynamic IDs, started on config cleanup

* Cleanup relayer config

* update Changelog

* fix channel verification for packets

* Refactoring for local testing

* Updates for stargate-6 (#32)

* Some clean up of old chain releases (#32)

* Revert some logic for CI testing (#32)

* Logic to run two chains using Docker composer for gaia v3.0.0 (#32)

* Remove run_relayer_local, not needed for CI (#32)

* Light client add and create-client tx working (#32)

* Adding line to build relayer in Github e2e action (#32)

* Got relayer setup logic working to create client (#32)

* Fixing fmt error (#32)

* Renamed ibc0 and ibc1 to ibc-0 and ibc-1 (#32)

* Fixed Changelog and added entry (#32)

* Changing the workflow to run on pull request (#32)

* Adding instructions to run end to end test locally and how to update the test for new chain releases (#32)

* Cleaning up old ci files that are not used anymore (#32)

* Adding label parameter to container images (#32)

* Added log_level in the relayers' E2E config

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Anca Zamfir <zamfiranca@gmail.com>
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this issue Sep 13, 2022
* Files to create a gaia chain using docker compose (informalsystems#32)

* Added logic to create two chains (informalsystems#32)

* Added logic to create base relayer image (informalsystems#32)

* Added logic to create shared volume to store keys. Build images in compose. Removed relayer logic to cache dependencies (not working) (informalsystems#32)

* Adding support for proper networking so containers can communicate (informalsystems#32)

* Files to create a gaia chain using docker compose (informalsystems#32)

* Added logic to create two chains (informalsystems#32)

* Added logic to create base relayer image (informalsystems#32)

* Added logic to create shared volume to store keys. Build images in compose. Removed relayer logic to cache dependencies (not working) (informalsystems#32)

* Adding support for proper networking so containers can communicate (informalsystems#32)

* Working relayer cmds light client add and keys add (informalsystems#32)

* Added logic for txs (client, connections, channels) and queries. Fully working now! (informalsystems#32)

* Major refactoring of the logic to spin up chains. Chain init config files are part of the build now (informalsystems#32)

* Initial migration changes

* More changes, add some of the ack CLIs

* cleanup

* Adding Github Workflow e2e testing action

* Reverting changes to Cargo.toml files. Not needed anymore

* Adding the chain files. Build relayer in relase mode. (informalsystems#32)

* Logic to run relayer workflow separately (informalsystems#32)

* fix packet ack

* clippy and fmt fixes

* Tweaks to improve performance, lower timeout values in chain config and Docker network improvements (informalsystems#32)

* Fixed connOpenTry tests; ignored update client tests

* Fixed ack msg tests

* Added next identifier generation in mock context

* Changed logic to pull ibc chain images from docker hub (informalsystems#32)

* Fixed ICS26 tests

* Fix for relayer tests

* Timeout packet, add Uninit for conn and chan, extract clientId

* Fix option order in packet Tx clis

* Tx result parsing (not generalized yet)

* add extern paths back

* WIP General event parsing out of tx response

* change packet envelope to packet

* Make the code compile, return clientID in relayer and CLI

* event parsing and matching for conn open init

* Change tm dependency, fix update client CLI

* log fix and move to cosmos v0.40.0-rc5 (no changes)

* Finished connection CLIs

* Event parsing and fixes for channel open CLIs

* add more event attributes, some refactor of the packet CLIs and packet relaying

* cleanup CLI output for channel, add more fields to events

* Fix relayer connection loop for dynamic IDs

* Adding script to build docker chains ibc0 and ibc1 (informalsystems#32)

* Fix relayer channel loop for dynamic IDs, started on config cleanup

* Cleanup relayer config

* update Changelog

* fix channel verification for packets

* Refactoring for local testing

* Updates for stargate-6 (informalsystems#32)

* Some clean up of old chain releases (informalsystems#32)

* Revert some logic for CI testing (informalsystems#32)

* Logic to run two chains using Docker composer for gaia v3.0.0 (informalsystems#32)

* Remove run_relayer_local, not needed for CI (informalsystems#32)

* Light client add and create-client tx working (informalsystems#32)

* Adding line to build relayer in Github e2e action (informalsystems#32)

* Got relayer setup logic working to create client (informalsystems#32)

* Fixing fmt error (informalsystems#32)

* Renamed ibc0 and ibc1 to ibc-0 and ibc-1 (informalsystems#32)

* Fixed Changelog and added entry (informalsystems#32)

* Changing the workflow to run on pull request (informalsystems#32)

* Adding instructions to run end to end test locally and how to update the test for new chain releases (informalsystems#32)

* Cleaning up old ci files that are not used anymore (informalsystems#32)

* Adding label parameter to container images (informalsystems#32)

* Added log_level in the relayers' E2E config

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Anca Zamfir <zamfiranca@gmail.com>
ljoss17 pushed a commit that referenced this issue Nov 26, 2024
* gas estimation

* add error

* adjust gas

* fix script

* use the default gas setting when gas estimation failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: logic Internal: related to the relaying logic O: new-feature Objective: cause to add a new feature or support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants