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

Video recording of tests is not functioning when running on Jenkins Nodes #15876

Closed
edaldridge opened this issue Apr 8, 2021 · 6 comments
Closed
Labels
CI General issues involving running in a CI provider

Comments

@edaldridge
Copy link

edaldridge commented Apr 8, 2021

Hi

I'm finding with the videos recorded of test runs from our two Jenkins nodes that they are freezing part way through the recording so aren't able to be used to debug. Not sure if this is related to the upgrade to 7.0 but older videos are working ok. When running the same tests locally the video is recorded fine.

Jenkins nodes are running Ubuntu server

Has any other instance like this been reported at all?

Sample video attached

Thanks
Ed

cypress-videocaafdd53-753e-44d4-8b60-d276e34dcdb8.mp4
@GeoFro
Copy link

GeoFro commented Apr 8, 2021

Experiencing same as above.^
Video shows loading screen up until the last seconds of the test.

Cypress v7

@bukharov
Copy link

bukharov commented Apr 8, 2021

we have the same issue, however the test suddenly appears in the last second:

cypress-video18c4f84c-e126-47f0-99c8-5a64ebc4cfa7.mp4

we're running on AWS CodeBuild, so possibly it's not related to Jenkins
another thing to mention is that i suspect it's related to the parallel flag, because videos for the same set of tests looked fine when run on one machine

Cypress version: 7.0.1

@edaldridge
Copy link
Author

we have the same issue, however the test suddenly appears in the last second:

cypress-video18c4f84c-e126-47f0-99c8-5a64ebc4cfa7.mp4
we're running on AWS CodeBuild, so possibly it's not related to Jenkins
another thing to mention is that i suspect it's related to the parallel flag, because videos for the same set of tests looked fine when run on one machine

Cypress version: 7.0.1

I'm currently not running using the 'parallel' flag so, for me at least, it's not related.

I suspect the resources available on the nodes aren't enough to support the generation of the videos but it would be nice to get some confirmation from other people who are experiencing the same thing

@FilipSwiatczak
Copy link

FilipSwiatczak commented Apr 14, 2021

We are running v7.0.1 from Jenkins as well and uploaded videos start with 5 sec of correct video then have about 1 frame per minute.
OS: Linux Debian 10.8
CI: Jenkins, aws ecs instances
Cypress v: 7.0.1
worker spec: 4 Parallel workers with 2048 CPU Units / 6144 Mb RAM each

Further, video compression is throwing :
image
OR:
image

When that happens it disconnects the cloud runner which is stuck "in progress"

This works correctly on previous v6.5.0

@bukharov
Copy link

we have the same issue, however the test suddenly appears in the last second:
cypress-video18c4f84c-e126-47f0-99c8-5a64ebc4cfa7.mp4
we're running on AWS CodeBuild, so possibly it's not related to Jenkins
another thing to mention is that i suspect it's related to the parallel flag, because videos for the same set of tests looked fine when run on one machine
Cypress version: 7.0.1

I'm currently not running using the 'parallel' flag so, for me at least, it's not related.

I suspect the resources available on the nodes aren't enough to support the generation of the videos but it would be nice to get some confirmation from other people who are experiencing the same thing

I can confirm that it has nothing to do with the parallel flag. It also seems to be randomly affecting some videos as some are fine. Checked with 7.1.0 - the issue is still there.

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Apr 26, 2021

There are some performance issues introduced in recent versions of Cypress, please see those issues for relevant updates. We're working on them.

If you are running Cypress in a headless browser, please try reducing the screen size to the default size prior to 7.0 (1280x720) to see if the new issues are related to the increase in screen size. Instructions here.

If that doesn't resolve the issue, I suggest downgrading to the last known version of Cypress that worked well.

We'll be closing this issue as there are no reproducible actions. For now we need to focus on the performance issues where we're given clear reproducible examples. Feel free to open a new issue if there are steps to fully reproduce the issue.

@jennifer-shehane jennifer-shehane added CI General issues involving running in a CI provider and removed CI: jenkins labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI General issues involving running in a CI provider
Projects
None yet
Development

No branches or pull requests

6 participants