You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run multiple test scenario in a jenkins pipeline
When all test are finished to run, i get stuck in this step until my configured timeout trigger the end of the pipeline
It's occurs randomly and by waves. Always at the end of the codeceptjs script, i presume in the teardown / cleanup step.
It's look that occurs only on jenkins, when i run test locally everything works.
This is the last log i've got from codecetp, after that, it's timeout from jenkins
... some codeceptjs steps
--- ENDED "before each" hook: Before for"Test scenario @smoketest" ---
... some codeceptjs steps
... last instructions
✔ OK in 1806ms
--- STARTED "after each" hook: After for"Test scenario @smoketest" ---
I delete fake user "fake-user.e2e@mail.com"
I delete fake workspace "fake-user.e2e@mail.com"
I delete fake user preferences "fake-user.e2e@mail.com"
--- ENDED "after each" hook: After for"Test scenario @smoketest" ---
-- FAILURES:
✖ "after all" hook: codeceptjs.afterSuite in"Test Feature"in 6ms
Cancelling nested steps due to timeout
Sending interrupt signal to process
10:22:30.290166 common.go:40: exit status 1
script returned exit code 1
I don't know how to debug this behavior, it's very annoying because all test in the pipeline are down in few minutes, but get stuck
Can someone help me to debug this strange behavior ?
Thanks
One more thing, we have on every Scenario add the retry(3) option to avoid flakyness
We already notice that retry avoid log error when test is failing like reported in this issue #3439
The text was updated successfully, but these errors were encountered:
I run multiple test scenario in a jenkins pipeline
When all test are finished to run, i get stuck in this step until my configured timeout trigger the end of the pipeline
It's occurs randomly and by waves. Always at the end of the codeceptjs script, i presume in the teardown / cleanup step.
It's look that occurs only on jenkins, when i run test locally everything works.
This is the last log i've got from codecetp, after that, it's timeout from jenkins
I don't know how to debug this behavior, it's very annoying because all test in the pipeline are down in few minutes, but get stuck
Can someone help me to debug this strange behavior ?
Thanks
Details
One more thing, we have on every Scenario add the
retry(3)
option to avoid flakynessWe already notice that
retry
avoid log error when test is failing like reported in this issue #3439The text was updated successfully, but these errors were encountered: