-
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
Video process never exits - continues writing frames even after browser process killed #5415
Comments
I wonder if switching Electron to record video via CDP would fix this issue: #4628 (not currently implemented for Electron) |
Hehe that’s what we were talking in chat with Jennifer
…Sent from my iPhone
On Oct 22, 2019, at 17:56, Zach Bloomquist ***@***.***> wrote:
I wonder if switching Electron to record video via CDP would fix this issue: #4628
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@flotwig Yeah, I hope so. I will followup with them to see if there's improvement once 3.5.0 is out. Unfortunately it's an issue that is not consistent, so we'll see. |
We've been seeing this as well, where Cypress will put out 15+ minute files after a 20s test or so, as it only seems to stop recording once the session is killed. I have tried reproducing it in various ways, even cross-platform, and for me it is only happening in our specific tests (not on the example project with a similar set of code). I have only seen this behaviour myself on Mac OSX using Cypress v3.4.1 and 3.5.0, though it is incredibly intermittent and hard to track. There was a bug post a little while back about pending network requests possibly causing it to hang, though I was unable to prove or disprove this theory in my testing, as it seems to fail whether or not there are pending network requests. |
@flotwig This issue is still persisting using 3.5.0. Any guidance on what to try to keep this issue from happening would be appreciated. |
Same thing happens to me with cypress 3.6.0 and 3.4.1, Win10 there are no: |
Since this issue hasn't had activity in a while, we'll close the issue until we can confirm this is still happening. Please comment if there is new information to provide concerning the original issue and we'd be happy to reopen. |
Current behavior:
There are some circumstances where the video recording will continue writing even after the specfile is finished and the browser process is killed.
The log below is an example. The
writing video frame
andvideo stream drained
logging goes on forever until the main CI process times out.Desired behavior:
We should at the least have some sort of timeout so that the video recording doesn't hang forever.
Ideally we should fix this completely by ending the recording and compressing/uploading the video.
Steps to reproduce: (app code and test code)
That's a tough one! This was reported by another user, so I don't have a completely reproducible example.
Versions
Cypress 3.4.1
BuildKite CI
Linux Debian - 9.9
Electron 61.0.3163.100
The text was updated successfully, but these errors were encountered: