-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
headless runner does not exit #491
Comments
Wow, long-standing bug. |
might be related to ffmpeg not dealing with screen resolution correctly |
This comment has been minimized.
This comment has been minimized.
Any update on this? |
I have the same issue with latest Cypress version 3.1.5 |
I have the same issue with Cypress 3.1.3. |
Experiencing this with a Gitlab pipeline, the |
I'm having the same problem. Running it headless on my mac os machine it exits with code 0 but when running it on windows machine on TeamCity it never exits after completing the tests. Edit: Just tested it in another windows machine and the same thing happens. Edit2: This just happens when using the mocha teamcity reporter: |
Here's the output when debug is enabled:
|
Here is the video that is produced after killing the run command manually. The test ends around the 3 minute mark. Start there. https://drive.google.com/open?id=1lqw7wZALCNL_lkxzdiLFro0gzIycWPqY Edit: Sometimes when running tests using
I think this is probably the same issue that is causing Edit 2: #796 and #2118 seems related Edit 3: I have confirmed that it is a |
Woah, 3 years and still not fixed? |
Since it's been over a year and nobody has reported running into this issue, and since we've fixed similar issues in the meantime, going to close this. Please open a new issue if you're running into this in the latest version of Cypress. |
Current behavior:
When I run a test spec it does not exit once finished. I originally thought this was due to using
cy.exec
, but the bug occurs with this simple test spec.However, turning off video recording stops reproducing the bug. I have another test that runs a script which leaves a detached process running (logging database output). That reproduces the bug even with
video=false
. Unfortunately I cant post that.Expected behavior:
The headless runner should exit with 0 for success and >0 for failure.
How to reproduce the current behavior:
Run the test code on a machine without ffmpeg.
Test code:
Additional Info (images, notes, stack traces, etc)
Gitter thread: https://gitter.im/cypress-io/cypress?at=5909d020edf919574a71eec1
wtfnode
I'm using the following script as a workaround for our CI system. It reads stdout of the cypress runner, parses the failure number and exits appropriately.
The text was updated successfully, but these errors were encountered: