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

[Bug]: Validator churn test case flakiness #177

Open
minghinmatthewlam opened this issue Dec 5, 2023 · 1 comment
Open

[Bug]: Validator churn test case flakiness #177

minghinmatthewlam opened this issue Dec 5, 2023 · 1 comment
Labels
bug Something isn't working tests

Comments

@minghinmatthewlam
Copy link
Contributor

Describe the bug
Validator churn test flow is flaky and fails sometimes

To Reproduce
See failed CI runs like https://github.com/ava-labs/teleporter/actions/runs/7107020416/job/19347656883. Or try to run e2e tests locally many times

Expected behavior
Test case should always pass

Logs

[12-05|22:03:09.549] ERROR server/server.go:686 failed to add subnet validators {"error": "P-Wallet Tx Error IssueAddPermissionlessValidatorTx context deadline exceeded, node ID NodeID-J3yt4RJY9ZZfgARkP8J6CYebwqwR2Q127"}
  [FAILED] Expected
      <*status.Error | 0xc000119e70>: 
      rpc error: code = DeadlineExceeded desc = P-Wallet Tx Error IssueAddPermissionlessValidatorTx context deadline exceeded, node ID NodeID-J3yt4RJY9ZZfgARkP8J6CYebwqwR2Q127
INFO [12-05|22:03:09.549] Tearing down network 
INFO [12-05|22:03:09.549] Shutting down cluster 
      {
          s: {
              s: {
                  state: {
                      NoUnkeyedLiterals: {},
                      DoNotCompare: [],
                      DoNotCopy: [],
                      atomicMessageInfo: nil,
                  },
                  sizeCache: 0,
                  unknownFields: nil,
                  Code: 4,
                  Message: "P-Wallet Tx Error IssueAddPermissionlessValidatorTx context deadline exceeded, node ID NodeID-J3yt4RJY9ZZfgARkP8J6CYebwqwR2Q127",
                  Details: nil,
              },
          },
      }
  to be nil
  In [It] at: /home/runner/work/teleporter/teleporter/tests/utils/local-network-utils/local_network_setup.go:512 @ 12/05/23 22:03:09.549

  Full Stack Trace
    github.com/ava-labs/teleporter/tests/utils/local-network-utils.AddSubnetValidators({0x1e77d60, 0xc000126000}, {0x6a, 0xd6, 0x8c, 0x66, 0xec, 0x40, 0x2e, 0xb5, ...}, ...)
    	/home/runner/work/teleporter/teleporter/tests/utils/local-network-utils/local_network_setup.go:512 +0x18d
    github.com/ava-labs/teleporter/tests.ValidatorChurn()
    	/home/runner/work/teleporter/teleporter/tests/validator_churn.go:76 +0x865
  < Exit [It] Validator churn - /home/runner/work/teleporter/teleporter/tests/e2e_test.go:95 @ 12/05/23 22:03:09.549 (1m21.674s)
• [FAILED] [81.674 seconds]
[Teleporter integration tests]
/home/runner/work/teleporter/teleporter/tests/e2e_test.go:53
  [It] Validator churn
  /home/runner/work/teleporter/teleporter/tests/e2e_test.go:95

Operating System
On Github CI

Additional context
Add any other context about the problem here.

To best protect the Avalanche community security bugs should be reported in accordance to our Security Policy

@minghinmatthewlam minghinmatthewlam added bug Something isn't working tests labels Dec 5, 2023
@cam-schultz
Copy link
Contributor

This appears to be an issue with avalanche-network-runner. We should reach out to that team for assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests
Projects
Archived in project
Development

No branches or pull requests

2 participants