cypress verify: Cypress failed to start. Command was killed with SIGABRT (Aborted)
See original GitHub issueCurrent behavior
Hello, i am trying to install cypress on a VPS-Server (Strato V-Server linux) and get a SIGABRT error after installation on the cypress verify command. Also other cypress command get that error. I installed all needed dependencies, but i still get always a SIGABRT error. I tried it with cypress 9.7.0 and 10.1.0.
node version v16.15.1 npm version 8.11.0 os: Ubuntu 20.04.4 LTS
tried installing with/without root, but i got still no clue what todo now, since the logging of the error gives me no hints, what could be wrong. Maybe this is not an issue with cypress, but i have still no clue what to do next, to get cypress running
Debug logs
cypress:cli:cli cli starts with arguments ["/usr/bin/node","/usr/bin/cypress","verify"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli:cli program parsing arguments +2ms
cypress:cli parsed cli options {} +3ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +1ms
cypress:cli checking if executable exists /home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress +3ms
cypress:cli Binary is executable? : true +9ms
cypress:cli binaryDir is /home/cyuser/.cache/Cypress/10.1.0/Cypress +0ms
cypress:cli Reading binary package.json from: /home/cyuser/.cache/Cypress/10.1.0/Cypress/resources/app/package.json +0ms
cypress:cli Found binary version 10.1.0 installed in: /home/cyuser/.cache/Cypress/10.1.0/Cypress +3ms
cypress:cli could not read binary_state.json file at "/home/cyuser/.cache/Cypress/10.1.0/binary_state.json" +4ms
cypress:cli {} +0ms
cypress:cli is Verified ? undefined +1ms
cypress:cli force verify +0ms
cypress:cli running binary verification check 10.1.0 +0ms
cypress:cli clearing out the verified version +7ms
cypress:cli undefined DISPLAY environment variable +0ms
cypress:cli Cypress will spawn its own Xvfb +0ms
cypress:cli needs Xvfb? true +1ms
cypress:cli Starting Xvfb +1ms
cypress:cli disabling Electron sandbox +19ms
cypress:cli running smoke test +0ms
cypress:cli using Cypress executable /home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress +0ms
cypress:cli smoke test command: /home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress --no-sandbox --smoke-test --ping=677 +0ms
cypress:cli smoke test timeout 30000 ms +0ms
cypress:cli Smoke test failed: Error: Command was killed with SIGABRT (Aborted): /home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress --no-sandbox --smoke-test --ping=677
2022-06-21T20:02:35.641Z cypress:ts registering ts-node on directory undefined
2022-06-21T20:02:35.706Z cypress:ts Running without ts-node hook in environment "production"
2022-06-21T20:02:36.685Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/cache
2022-06-21T20:02:36.743Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/browsers
2022-06-21T20:02:36.755Z cypress:server:cypress starting cypress with argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.756Z cypress:server:args argv array: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.757Z cypress:server:args parsed argv options { options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 677 } }
2022-06-21T20:02:36.760Z cypress:server:args argv parsed: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test' }
2022-06-21T20:02:36.760Z cypress:server:util:proxy found proxy environment variables {}
2022-06-21T20:02:36.761Z cypress:server:args options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {} }
2022-06-21T20:02:36.761Z cypress:server:args argv options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }
2022-06-21T20:02:36.761Z cypress:server:cypress from argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ] got options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }
at makeError (/usr/lib/node_modules/cypress/node_modules/execa/lib/error.js:59:11)
at handlePromise (/usr/lib/node_modules/cypress/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
shortMessage: 'Command was killed with SIGABRT (Aborted): /home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress --no-sandbox --smoke-test --ping=677',
command: '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress --no-sandbox --smoke-test --ping=677',
exitCode: undefined,
signal: 'SIGABRT',
signalDescription: 'Aborted',
stdout: '',
stderr: '2022-06-21T20:02:35.641Z cypress:ts registering ts-node on directory undefined\n' +
'2022-06-21T20:02:35.706Z cypress:ts Running without ts-node hook in environment "production"\n' +
'2022-06-21T20:02:36.685Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/cache\n' +
'2022-06-21T20:02:36.743Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/browsers\n' +
"2022-06-21T20:02:36.755Z cypress:server:cypress starting cypress with argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]\n" +
"2022-06-21T20:02:36.756Z cypress:server:args argv array: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]\n" +
"2022-06-21T20:02:36.757Z cypress:server:args parsed argv options { options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 677 } }\n" +
"2022-06-21T20:02:36.760Z cypress:server:args argv parsed: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test' }\n" +
'2022-06-21T20:02:36.760Z cypress:server:util:proxy found proxy environment variables {}\n' +
"2022-06-21T20:02:36.761Z cypress:server:args options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {} }\n" +
"2022-06-21T20:02:36.761Z cypress:server:args argv options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }\n" +
"2022-06-21T20:02:36.761Z cypress:server:cypress from argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ] got options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }",
failed: true,
timedOut: false,
isCanceled: false,
killed: false
} +1s
cypress:cli error message: 2022-06-21T20:02:35.641Z cypress:ts registering ts-node on directory undefined
2022-06-21T20:02:35.706Z cypress:ts Running without ts-node hook in environment "production"
2022-06-21T20:02:36.685Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/cache
2022-06-21T20:02:36.743Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/browsers
2022-06-21T20:02:36.755Z cypress:server:cypress starting cypress with argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.756Z cypress:server:args argv array: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.757Z cypress:server:args parsed argv options { options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 677 } }
2022-06-21T20:02:36.760Z cypress:server:args argv parsed: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test' }
2022-06-21T20:02:36.760Z cypress:server:util:proxy found proxy environment variables {}
2022-06-21T20:02:36.761Z cypress:server:args options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {} }
2022-06-21T20:02:36.761Z cypress:server:args argv options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }
2022-06-21T20:02:36.761Z cypress:server:cypress from argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ] got options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 } +2ms
Cypress failed to start.
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
Please refer to the error below for more details.
----------
2022-06-21T20:02:35.641Z cypress:ts registering ts-node on directory undefined
2022-06-21T20:02:35.706Z cypress:ts Running without ts-node hook in environment "production"
2022-06-21T20:02:36.685Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/cache
2022-06-21T20:02:36.743Z cypress:server:appdata path: /home/cyuser/.config/Cypress/cy/production/browsers
2022-06-21T20:02:36.755Z cypress:server:cypress starting cypress with argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.756Z cypress:server:args argv array: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ]
2022-06-21T20:02:36.757Z cypress:server:args parsed argv options { options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 677 } }
2022-06-21T20:02:36.760Z cypress:server:args argv parsed: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test' }
2022-06-21T20:02:36.760Z cypress:server:util:proxy found proxy environment variables {}
2022-06-21T20:02:36.761Z cypress:server:args options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {} }
2022-06-21T20:02:36.761Z cypress:server:args argv options: { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }
2022-06-21T20:02:36.761Z cypress:server:cypress from argv [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=677' ] got options { _: [ '/home/cyuser/.cache/Cypress/10.1.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 677, invokedFromCli: false, cwd: '/home/cyuser/e2e-test', config: {}, pong: 677 }
----------
Platform: linux-x64 (Ubuntu - 20.04)
Cypress Version: 10.1.0
Cypress Version
tried 9.7.0 and 10.1.0
Package Manager
npm
Operating system
Linux
Other
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cypress / Visual Studio Code / Cypress failed to start
Run this command in the terminal export NODE_TLS_REJECT_UNAUTHORIZED=0 and then try installing again.
Read more >Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in ... Testing multiple origins in a single test with the...
Read more >Exit Codes in Containers & Kubernetes | Complete Guide
Exit Code 125, Container failed to run error, The docker run command did not ... Exit Code 134, Abnormal termination (SIGABRT), The container...
Read more >cypress: Versions - Openbase
Previously the command would incorrectly fail with a syntax error. ... Upgraded the Chromium browser version used during cypress run and when selecting ......
Read more >@cypress/github-action - npm
Start using @cypress/github-action in your project by running `npm i ... test command; pass custom build id when recording to Cypress Cloud ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@emilyrohrbough i just tried it with the version 10.3.0, but i still get the same error on cypress verify command.
Here’s the debug log:
Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.