gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
16.94k stars 1.7k forks source link

`TestIntegrations/DiscoveryNode` flakiness #16310

Open zmb3 opened 1 year ago

zmb3 commented 1 year ago

Failure

Link(s) to logs

Ran locally with:

go test -run TestIntegrations/DiscoveryNode ./integration -count=50

Relevant snippet

--- FAIL: TestIntegrations (9.62s)
    --- FAIL: TestIntegrations/DiscoveryNode (9.62s)
        integration_test.go:3302:
                Error Trace:    integration_test.go:3302
                                            integration_test.go:98
                Error:          Received unexpected error:
                                failed connecting to node cluster-main-node. Teleport proxy failed to connect to "node" agent "@local-node" over reverse tunnel:

                                  no tunnel connection found: no node reverse tunnel for d3fd7f6d-7ec2-42d7-a381-b1dfc9dc9706.local-site found

                                This usually means that the agent is offline or has disconnected. Check the
                                agent logs and, if the issue persists, try restarting it or re-registering it
                                with the cluster.
                Test:           TestIntegrations/DiscoveryNode
nklaassen commented 1 year ago

new failure https://github.com/gravitational/teleport/actions/runs/4834472632/jobs/8615732016:

    integration_test.go:3960: 
            Error Trace:    /__w/teleport/teleport/integration/integration_test.go:3960
                                        /__w/teleport/teleport/integration/integration_test.go:114
            Error:          Received unexpected error:
                            timed out, only 0/2 events received. received: [], expected: [ProxyReverseTunnelReady ProxySSHReady]
            Test:           TestIntegrations/DiscoveryNode