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/Isolate flaky e2e tests #1200

Closed
kostis-codefresh opened this issue May 19, 2021 · 5 comments
Closed

Fix/Isolate flaky e2e tests #1200

kostis-codefresh opened this issue May 19, 2021 · 5 comments
Labels
bug Something isn't working tech debt Technical debt
Milestone

Comments

@kostis-codefresh
Copy link
Member

kostis-codefresh commented May 19, 2021

Several times the e2e tests for a Pull Request fail even when the change is completely unrelated (e.g. docs)

Here are some examples:

We should fix those tests or isolate them or find the underlying issue. Otherwise github contributors will not trust e2e tests or even worse lose time debugging them when in reality they did not break anything with their contribution.


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Observed flaky tests:

TestRolloutAbortRetryPromote: 1
TestFunctionalSuite/TestRolloutPauseDurationGreaterThanProgressDeadlineSeconds: 2
TestIstioSuite/TestIstioHostSplitExperimentStep: 1
TestAnalysisSuite/TestMultipleAnalysis: 1
TestAnalysisSuite/TestCanaryInlineMultipleAnalysis: 1
TestAWSSuite/TestALBExperimentStepNoSetWeight : 1
@kostis-codefresh kostis-codefresh added the bug Something isn't working label May 19, 2021
@jessesuen
Copy link
Member

Agree. The challenge has been the failure mode of these tests have not been reproducible outside of github actions, and they also seem to be not isolated to a single or few tests. I plan on exposing controller logging in the e2e tests to help chase this down.

@huikang
Copy link
Member

huikang commented May 27, 2021

I have seen the TestCanarySuite/TestCanaryScaleDownDelay failed from time to time and probably worth looking into it.

https://github.com/argoproj/argo-rollouts/pull/1224/checks?check_run_id=2681943983#step:8:649

@todaywasawesome
Copy link
Contributor

May attempt to implement in Codefresh to see if it works better.

@kostis-codefresh kostis-codefresh added the tech debt Technical debt label Sep 16, 2021
@alexmt alexmt added this to the v1.2 milestone Sep 16, 2021
@noam-codefresh
Copy link
Contributor

the latest e2e run on #1625 has two failing tests:
TestAnalysisSuite/TestMultipleAnalysis
TestFunctionalSuite/TestRolloutPauseDurationGreaterThanProgressDeadlineSeconds

@jessesuen jessesuen modified the milestones: v1.2, v1.3 Jan 12, 2022
@perenesenko perenesenko self-assigned this Jun 10, 2022
@perenesenko perenesenko removed their assignment Jun 24, 2022
@zachaller
Copy link
Collaborator

Not fixed 100% but dose improve the situation by allowing reries fixed in #2123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech debt Technical debt
Projects
None yet
Development

No branches or pull requests

8 participants