Argo: Fix flakey test: `TestPendingRetryWorkflowWithRetryStrategy`

Created on 15 Mar 2020  路  8Comments  路  Source: argoproj/argo

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

This test was introduced in #2385.

bug

All 8 comments

@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

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

I own this test, I鈥檒l self assign.

@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
...

The test passes reliably in my local machine. Thoughts?

TODO - may make tests flakey

馃槀

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.

Test is currently being skipped

Was this page helpful?
0 / 5 - 0 ratings