Cypress tests randomly hang in some machine when running in parallel using cypress-cloud via Jenkins CI #127
Unanswered
bilarallen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@bilarallen try setting a timeout on Jenkins / AWS - can save you resources. As for non-responsive tests - there can be various reasons. Please try running the tests with debug mode enabled - it should help with identifying why the tests aren't progressing: https://currents.dev/readme/integration-with-cypress/troubleshooting |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the previous weeks, we were experiencing smooth automated runs with Cypress using cypress-cloud and via Jenkins CI. Until such time we were experiencing weird behavior where the test randomly stuck in some VMs when we are running the test in parallel using cypress cloud. Our setup goes like this:
currents.config.js
Cypress cloud run result:
Machine A console log where the test hangs (still tests are running):
Machine B console log where the test also hangs (still tests are running)
We can't determine whether this is a problem with the CI Machines or Cypress-cloud as this is randomly happening and we can't extract the logs for each test since we are currently running 113 tests and our console logs might be bombarded if we do so, not to mention the maximum test runs we have on our license.
Also, this will cost as a lot in AWS since running ec2 fleet machines costs us per hour of usage so we also want to resolve this issue. Hope someone can help us in regards to this. Thanks! 🙇♂️
Beta Was this translation helpful? Give feedback.
All reactions