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

Fix flakey test: TestPendingRetryWorkflowWithRetryStrategy #2446

Closed
alexec opened this issue Mar 14, 2020 · 8 comments · Fixed by #2456
Closed

Fix flakey test: TestPendingRetryWorkflowWithRetryStrategy #2446

alexec opened this issue Mar 14, 2020 · 8 comments · Fixed by #2456
Assignees
Labels

Comments

@alexec
Copy link
Contributor

alexec commented Mar 14, 2020

This test is failing master builds. It looks like the test is flakey rather than incorrect.

This test was introduced in #2385.

@alexec
Copy link
Contributor Author

alexec commented Mar 14, 2020

@jamhed I think you introduced the test? Before we disable it, do you want to investigate?

The first actually failing build appears to be the one after yours, but as that is UI only changes, it cannot be that one:

Failures

@alexec
Copy link
Contributor Author

alexec commented Mar 14, 2020

Argo builds have become unstable on master. As previously, Ive enabled "Require branches to be up to date before merging". The flakey test is TestPendingRetryWorkflowWithRetryStrategy .

@whynowy @sarabala1979 @simster7

@simster7
Copy link
Member

I own this test, I’ll self assign.

@simster7 simster7 self-assigned this Mar 14, 2020
@simster7
Copy link
Member

simster7 commented Mar 15, 2020

@alexec The flakey-ness of this test is because of this line (which seems to be on your domain):

https://github.com/argoproj/argo/blob/32fc2f78212d031f99f1dfc5ad3a3642617ce7e7/test/e2e/fixtures/e2e_suite.go#L103-L104

From the sack trace:

...
            github.com/argoproj/argo/test/e2e/fixtures.(*E2ESuite).DeleteResources(0xc000a0c3f0, 0x1f282d2, 0x8)
            	/home/circleci/.go_workspace/src/github.com/argoproj/argo/test/e2e/fixtures/e2e_suite.go:104 +0x1699
...

@simster7
Copy link
Member

The test passes reliably in my local machine. Thoughts?

@alexec
Copy link
Contributor Author

alexec commented Mar 15, 2020

TODO - may make tests flakey

😂

@alexec
Copy link
Contributor Author

alexec commented Mar 15, 2020

That code is several weeks old and this test has only just started failing the exact commit the PR was merge at.

But, that comment is clear about it, so leave it with me.

@simster7
Copy link
Member

Test is currently being skipped

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

Successfully merging a pull request may close this issue.

2 participants