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

test flake in e2e TestConsulRegistration #7724

Closed
tgross opened this issue Apr 15, 2020 · 2 comments · Fixed by #8688
Closed

test flake in e2e TestConsulRegistration #7724

tgross opened this issue Apr 15, 2020 · 2 comments · Fixed by #8688
Assignees
Labels

Comments

@tgross
Copy link
Member

tgross commented Apr 15, 2020

A run of the nightly e2e tests failed overnight. Re-running it passed so the test appears to be possibly flaky. This test is still using gomega so it has this giant messy stack trace, but it looks like not all instances of the redis task got registered with Consul before the timeout.

  === RUN   TestE2E/Consul/*consul.ConsulE2ETest/TestConsulRegistration
      TestE2E/Consul/*consul.ConsulE2ETest/TestConsulRegistration: testing_t_support.go:22:
          	~/go/src/github.com/hashicorp/nomad/vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go:147 +0x3e9
          github.com/hashicorp/nomad/vendor/github.com/onsi/gomega/internal/asyncassertion.(*AsyncAssertion).Should(0xc00020b180, 0x168ecc0, 0xc00000f980, 0x0, 0x0, 0x0, 0x1684aa0)
          	~/go/src/github.com/hashicorp/nomad/vendor/github.com/onsi/gomega/internal/asyncassertion/async_assertion.go:48 +0x62
          github.com/hashicorp/nomad/e2e/consul.(*ConsulE2ETest).TestConsulRegistration(0xc00000e3e0, 0xc000203080)
          	~/go/src/github.com/hashicorp/nomad/e2e/consul/consul.go:75 +0x517
          reflect.Value.call(0xc00007a2a0, 0xc000206088, 0x13, 0x13a2429, 0x4, 0xc000077f20, 0x2, 0x2, 0xc000077e80, 0x40c1ca, ...)
          	/opt/goenv/versions/1.14.0/src/reflect/value.go:460 +0x8ab
          reflect.Value.Call(0xc00007a2a0, 0xc000206088, 0x13, 0xc000077f20, 0x2, 0x2, 0x1828b60, 0x1828bc0, 0xf)
          	/opt/goenv/versions/1.14.0/src/reflect/value.go:321 +0xb4
          github.com/hashicorp/nomad/e2e/framework.(*Framework).runCase.func1.2(0xc0003b47e0)
          	~/go/src/github.com/hashicorp/nomad/e2e/framework/framework.go:306 +0x25a
          testing.tRunner(0xc0003b47e0, 0xc00024e0e0)
          	/opt/goenv/versions/1.14.0/src/testing/testing.go:992 +0xdc
          created by testing.(*T).Run
          	/opt/goenv/versions/1.14.0/src/testing/testing.go:1043 +0x357

          Timed out after 5.000s.
          Expected
              <[]consul.serviceNameTagPair | len:1, cap:1>: [
                  {
                      serviceName: "redis-cache",
                      tags: {"global": {}, "cache": {}},
                  },
              ]
          to consist of
              <[]interface {} | len:1, cap:1>: [
                  [
                      {
                          serviceName: "redis-cache",
                          tags: {"global": {}, "cache": {}},
                      },
                      {
                          serviceName: "redis-cache",
                          tags: {"global": {}, "cache": {}},
                      },
                      {
                          serviceName: "redis-cache",
                          tags: {"global": {}, "cache": {}},
                      },
                  ],
              ]
@stale

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants