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

TestKube flakiness #45986

Closed
rosstimothy opened this issue Aug 28, 2024 · 5 comments · Fixed by #48321
Closed

TestKube flakiness #45986

rosstimothy opened this issue Aug 28, 2024 · 5 comments · Fixed by #48321

Comments

@rosstimothy
Copy link
Contributor

Failure

Link(s) to logs

Relevant snippet

=== RUN   TestKube
    kube_integration_test.go:149: 
        	Error Trace:	/__w/teleport/teleport/integration/kube_integration_test.go:149
        	            				/__w/teleport/teleport/integration/kube_integration_test.go:171
        	Error:      	Condition never satisfied
        	Test:       	TestKube
--- FAIL: TestKube (61.77s)
FAIL integration.TestKube (61.77s)
FAIL integration

=== Failed
=== FAIL: integration TestKube (61.77s)
    kube_integration_test.go:149: 
        	Error Trace:	/__w/teleport/teleport/integration/kube_integration_test.go:149
        	            				/__w/teleport/teleport/integration/kube_integration_test.go:171
        	Error:      	Condition never satisfied
        	Test:       	TestKube
@tigrato
Copy link
Contributor

tigrato commented Aug 29, 2024

TestKube spins a local kubernetes cluster using kind and creates a POD. The pod uses nginx:alpine image (here) and it waits for the pod to become ready.
Lately, we started seeing several issues with GHA network where the image download takes an eternity and the 60s isn't enough.

@rosstimothy
Copy link
Contributor Author

Do we have any other options than pulling an nginx image from the public internet for every test?

@tigrato
Copy link
Contributor

tigrato commented Aug 29, 2024

Do we have any other options than pulling an nginx image from the public internet for every test?

Yeah, we can probably replace it with anything that we can pull from github registry. Not sure if we can build it and make it available to kind

@GavinFrazar
Copy link
Contributor

=== RUN   TestKube
    kube_integration_test.go:157: 
        	Error Trace:	/__w/teleport/teleport/integration/kube_integration_test.go:157
        	            				/__w/teleport/teleport/integration/kube_integration_test.go:179
        	Error:      	Condition never satisfied
        	Test:       	TestKube
--- FAIL: TestKube (61.02s)
FAIL integration.TestKube (61.02s)
FAIL integration

=== Failed
=== FAIL: integration TestKube (61.02s)
    kube_integration_test.go:157: 
        	Error Trace:	/__w/teleport/teleport/integration/kube_integration_test.go:157
        	            				/__w/teleport/teleport/integration/kube_integration_test.go:179
        	Error:      	Condition never satisfied
        	Test:       	TestKube

https://github.com/gravitational/teleport/actions/runs/11186373071/job/31101273442?pr=47224 on master

@tigrato
Copy link
Contributor

tigrato commented Oct 4, 2024

This is likely caused by the same issue. I need to replace the nginx image with any other container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants