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

Investigate failing TestV6ToV7ChainUpgrade test #4646

Closed
3 tasks
chatton opened this issue Sep 13, 2023 · 4 comments
Closed
3 tasks

Investigate failing TestV6ToV7ChainUpgrade test #4646

chatton opened this issue Sep 13, 2023 · 4 comments
Assignees
Labels

Comments

@chatton
Copy link
Contributor

chatton commented Sep 13, 2023

Summary

ref #4591 (comment)


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@chatton chatton added the e2e label Sep 13, 2023
@chatton
Copy link
Contributor Author

chatton commented Sep 13, 2023

I ran the test locally with the golang relayer (ghcr.io/cosmos/relayer:latest) and it passes, it seems to only fail with hermes (colinaxner/hermes:v1.6.0)

@chatton
Copy link
Contributor Author

chatton commented Sep 13, 2023

Another update, making the following changes causes the test to pass

--- a/e2e/tests/upgrades/upgrade_test.go
+++ b/e2e/tests/upgrades/upgrade_test.go
@@ -578,6 +578,11 @@ func (s *UpgradeTestSuite) TestV6ToV7ChainUpgrade() {
                s.AssertTxSuccess(transferTxResp)
        })

+       s.StopRelayer(ctx, relayer)
+       s.StartRelayer(relayer)
+
+       s.Require().NoError(test.WaitForBlocks(ctx, 5, chainA, chainB), "failed to wait for blocks")
+
        t.Run("packets are relayed", func(t *testing.T) {
                s.AssertPacketRelayed(ctx, chainA, channelA.PortID, channelA.ChannelID, 1)

I recall a setting for hermes which caused it to not pick up on new chains (potentially losing track of them after the chain upgrade), restarting may be causing it to do a search and find them again.

@chatton chatton self-assigned this Sep 19, 2023
@colin-axner
Copy link
Contributor

Is this issue still relevant?

@chatton
Copy link
Contributor Author

chatton commented Jan 17, 2024

I think it's not, we ended up adding code to do a restart of hermes.

The hermes issue seems to still be open.

I'll close this issue as the upgrade test is resolved on our side.

@chatton chatton closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants