question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Videos don't seem to work on GitHub Action default runners

See original GitHub issue

Context

Bug report regarding videos on GitHub Actions default runners.

Steps

I have just set up cypress for my repository.

Everything seems to be set up correctly, and yarn cypress run yields a video that works.

Now I’d like to reproduce this in CI, and created a workflow with the same settings apart from the URL:

Relevant part of the workflow

      - name: Run Cypress 🌲
        uses: cypress-io/github-action@v2
        env:
          CYPRESS_BASE_URL: ${{ github.event.deployment_status.target_url }}
      - name: Upload video 📼
        uses: actions/upload-artifact@v2
        if: always()
        with:
          name: Test videos
          path: cypress/videos
          retention-days: 14

I’m using default ubuntu-latest runner with default settings.

** Results**

The tests run fine (all 91 succeed as expected) and the video uploads. However the video cuts out after a few seconds. Only the last frame is updated to show the tests. Presumably because the machine runs out of resources while loading the page.

Video artifact

Test videos.zip

Video file

https://user-images.githubusercontent.com/20756439/150003505-a2fcf6b4-08da-4596-925b-9e9cb2dd473b.mp4

Screenshot of last frame

image

Related

I believe that most reports here are also related to this issue.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:11
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

12reactions
henrikqcommented, Jan 20, 2022

I’m experiencing the same thing.

2reactions
karlhorkycommented, Sep 6, 2022

Great, I have requested access to the new larger GitHub Actions runners for installation to our organization and will try the videos on a 4-core runner. I’ll report back here with what I find.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub Actions Tutorial | From Zero to Hero in 90 ... - YouTube
GitHub Actions Tutorial | From Zero to Hero in 90 minutes (Environments, Secrets, Runners, etc).
Read more >
Github actions self-hosted runner doesnt run tox commands
tox testenv commands don't seem to run on a self-hosted server. This is the result of pushing a commit to the github repository:...
Read more >
How to build a CI/CD pipeline with GitHub Actions in four ...
That's a great thing. As developers, we're trained to use peer reviews to make sure our code works. But I'm here to tell...
Read more >
Troubleshooting GitLab Runner
If you are using Omnibus GitLab, but don't want to use the bundled NGINX server, ... but it's not available by default, you...
Read more >
GitHub Actions Security Best Practices [cheat sheet included]
It's much safer to use this setting over the default. Harden your Action runners (and don't use self-hosted runners for public repositories!)
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found