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.

Crash of cypress-io/github-action@v1 after cache restore

See original GitHub issue

Current behavior:

Cypress runner crashed with SIGSEGV when running in Github workflow (cypress-io/github-action@v1 )

restoring cache /home/runner/.cache/yarn
primary key yarn-linux-x64-9222cac261f9e33e5589be37df571194a31634791b0dc7f3d8e830ff66c6cbc7a1ee7d17d2ca3a8ac2fc8074c47419012b4462a2291ce932f831891f5810d52c
restoring cache /home/runner/.cache/Cypress
primary key cypress-linux-x64-9222cac261f9e33e5589be37df571194a31634791b0dc7f3d8e830ff66c6cbc7a1ee7d17d2ca3a8ac2fc8074c47419012b4462a2291ce932f831891f5810d52c
/bin/tar -xz -f /home/runner/work/_temp/e8420a58-1763-4056-9800-7e7323a3e047/cache.tgz -C /home/runner/.cache/Cypress
/bin/tar -xz -f /home/runner/work/_temp/c62a5276-0684-4a93-8d37-85a02e34b749/cache.tgz -C /home/runner/.cache/yarn
Cache restored from key: cypress-linux-x64-9222cac261f9e33e5589be37df571194a31634791b0dc7f3d8e830ff66c6cbc7a1ee7d17d2ca3a8ac2fc8074c47419012b4462a2291ce932f831891f5810d52c
Cache restored from key: yarn-linux-x64-9222cac261f9e33e5589be37df571194a31634791b0dc7f3d8e830ff66c6cbc7a1ee7d17d2ca3a8ac2fc8074c47419012b4462a2291ce932f831891f5810d52c
/usr/bin/yarn --frozen-lockfile
yarn install v1.21.1
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.22s.
Cypress test command: npx cypress run --record --config-file cypress.json --browser chrome --env false
/opt/hostedtoolcache/node/12.14.1/x64/bin/npx cypress run --record --config-file cypress.json --browser chrome --env false
The Test Runner unexpectedly exited via a close event with signal SIGSEGV

Please search Cypress documentation for possible solutions:

https://on.cypress.io

Check if there is a GitHub issue describing this crash:

https://github.com/cypress-io/cypress/issues

Consider opening a new issue.

----------

Platform: linux (Ubuntu Linux - 18.04)
Cypress Version: 3.8.0
Error: The process '/opt/hostedtoolcache/node/12.14.1/x64/bin/npx' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:894:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:877:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/cypress-io/github-action/v1/dist/index.js:777:27)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
##[error]The process '/opt/hostedtoolcache/node/12.14.1/x64/bin/npx' failed with exit code 1
##[error]Node run failed with exit code 1

Versions

Cypress 3.8.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
glambertcommented, Jan 22, 2020
0reactions
bahmutovcommented, Jan 22, 2020

duplicate of https://github.com/cypress-io/cypress/issues/6184 see workarounds there

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does this github-action know what version of Cypress to ...
I am using v4 of this github action in two different workflows. We use it to install cypress in one step and run...
Read more >
Recover from renderer / browser crashes · Issue #349 - GitHub
Hi, I'm currently trying to use cypress in Gitlab CI. I Figured out most parts, except the browser crashing. my current gitlab CI...
Read more >
cypress verify fails on GitHub Actions CI · Issue #6221
My GitHub Actions CI pipeline has started failing at the cypress verify step. With DEBUG=cypress.* turned on, I get the following output and ......
Read more >
Cypress 10 component test crash after 100~ tests · Issue #22208
Current behavior Both on CI and on localhost, after running a hundred component tests (i.e. 138 of 227) via cypress run --component, Cypress...
Read more >
"Out of memory. size=47701480 - We detected that ... - GitHub
Run cypress-io/github-action@v1 /usr/bin/docker exec ... -C /github/home/.cache/Cypress Cache restored from key: cypress-linux-x64- ...
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