Replies: 5 comments
-
Hey, |
Beta Was this translation helpful? Give feedback.
-
Same problem in our Jenkins Pipeline. Using official cypress/factory docker image. |
Beta Was this translation helpful? Give feedback.
-
Facing the same issue. Exactly the same setup Jenkins pipeline and using cypress/factory docker image. Any hint appreciated. |
Beta Was this translation helpful? Give feedback.
-
Getting the same error here in our GitHub runners. Github Action Log |
Beta Was this translation helpful? Give feedback.
-
Maybe this might help some of you: #27209 In our case it seems to be some issue between Debian 11 and our k8s cluster infrastructure. I am currently testing a custom image with Debian 10 and so far it's looking promising. Obviously not a longterm solution but a workaround for now. |
Beta Was this translation helpful? Give feedback.
-
Has anyone encountered this problem? Know how to fix? The following is my debug logs. I've double checked linux dependencies and they are correct.
`2022-12-30T16:10:35.181Z cypress:cli Binary is executable? : true
2022-12-30T16:10:35.181Z cypress:cli binaryDir is /tmp/src/src/linux/Cypress
2022-12-30T16:10:35.181Z cypress:cli Reading binary package.json from: /tmp/src/src/linux/Cypress/resources/app/package.json
2022-12-30T16:10:35.183Z cypress:cli Found binary version 12.0.2 installed in: /tmp/src/src/linux/Cypress
2022-12-30T16:10:35.184Z cypress:cli could not read binary_state.json file at "/tmp/src/src/linux/binary_state.json"
2022-12-30T16:10:35.184Z cypress:cli {}
2022-12-30T16:10:35.184Z cypress:cli is Verified ? undefined
2022-12-30T16:10:35.184Z cypress:cli force verify
2022-12-30T16:10:35.184Z cypress:cli running binary verification check 12.0.2
2022-12-30T16:10:35.187Z cypress:cli clearing out the verified version
[STARTED] Task without title.
2022-12-30T16:10:35.188Z cypress:cli undefined DISPLAY environment variable
2022-12-30T16:10:35.188Z cypress:cli Cypress will spawn its own Xvfb
2022-12-30T16:10:35.188Z cypress:cli needs Xvfb? true
2022-12-30T16:10:35.188Z cypress:cli Starting Xvfb
2022-12-30T16:10:35.199Z cypress:xvfb _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
2022-12-30T16:10:35.206Z cypress:cli disabling Electron sandbox
2022-12-30T16:10:35.206Z cypress:cli running smoke test
2022-12-30T16:10:35.206Z cypress:cli using Cypress executable /tmp/src/src/linux/Cypress/Cypress
2022-12-30T16:10:35.206Z cypress:cli smoke test command: /tmp/src/src/linux/Cypress/Cypress --no-sandbox --smoke-test --ping=602
2022-12-30T16:10:35.206Z cypress:cli smoke test timeout 30000 ms
2022-12-30T16:10:35.960Z cypress:cli Smoke test failed: Error: Command was killed with SIGTRAP (Debugger breakpoint): /tmp/src/src/linux/Cypress/Cypress --no-sandbox --smoke-test --ping=602
2022-12-30T16:10:35.654Z cypress:snapshot:info Caching 2976, defining 3915 modules! Using cache
2022-12-30T16:10:35.655Z cypress:snapshot:debug initializing packherd require
2022-12-30T16:10:35.849Z cypress:server:appdata path: /opt/app-root/.config/Cypress/cy/production/browsers
2022-12-30T16:10:35.857Z cypress:server:cypress starting cypress with argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]
2022-12-30T16:10:35.858Z cypress:server:args argv array: [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]
2022-12-30T16:10:35.860Z cypress:server:args parsed argv options { options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 602 } }
2022-12-30T16:10:35.915Z cypress:server:args argv parsed: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src' }
2022-12-30T16:10:35.916Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-12-30T16:10:35.916Z cypress:server:args options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {} }
2022-12-30T16:10:35.917Z cypress:server:args argv options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }
2022-12-30T16:10:35.917Z cypress:server:cypress from argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ] got options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }
at makeError (/tmp/src/src/node_modules/execa/lib/error.js:59:11)
at handlePromise (/tmp/src/src/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
shortMessage: 'Command was killed with SIGTRAP (Debugger breakpoint): /tmp/src/src/linux/Cypress/Cypress --no-sandbox --smoke-test --ping=602',
command: '/tmp/src/src/linux/Cypress/Cypress --no-sandbox --smoke-test --ping=602',
exitCode: undefined,
signal: 'SIGTRAP',
signalDescription: 'Debugger breakpoint',
stdout: '',
stderr: '2022-12-30T16:10:35.654Z cypress:snapshot:info Caching 2976, defining 3915 modules! Using cache\n' +
'2022-12-30T16:10:35.655Z cypress:snapshot:debug initializing packherd require\n' +
'2022-12-30T16:10:35.849Z cypress:server:appdata path: /opt/app-root/.config/Cypress/cy/production/browsers\n' +
"2022-12-30T16:10:35.857Z cypress:server:cypress starting cypress with argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]\n" +
"2022-12-30T16:10:35.858Z cypress:server:args argv array: [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]\n" +
"2022-12-30T16:10:35.860Z cypress:server:args parsed argv options { options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 602 } }\n" +
"2022-12-30T16:10:35.915Z cypress:server:args argv parsed: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src' }\n" +
"2022-12-30T16:10:35.916Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }\n" +
"2022-12-30T16:10:35.916Z cypress:server:args options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {} }\n" +
"2022-12-30T16:10:35.917Z cypress:server:args argv options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }\n" +
"2022-12-30T16:10:35.917Z cypress:server:cypress from argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ] got options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }",
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
2022-12-30T16:10:35.962Z cypress:cli error message: 2022-12-30T16:10:35.654Z cypress:snapshot:info Caching 2976, defining 3915 modules! Using cache
2022-12-30T16:10:35.655Z cypress:snapshot:debug initializing packherd require
2022-12-30T16:10:35.849Z cypress:server:appdata path: /opt/app-root/.config/Cypress/cy/production/browsers
2022-12-30T16:10:35.857Z cypress:server:cypress starting cypress with argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]
2022-12-30T16:10:35.858Z cypress:server:args argv array: [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ]
2022-12-30T16:10:35.860Z cypress:server:args parsed argv options { options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 602 } }
2022-12-30T16:10:35.915Z cypress:server:args argv parsed: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src' }
2022-12-30T16:10:35.916Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-12-30T16:10:35.916Z cypress:server:args options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {} }
2022-12-30T16:10:35.917Z cypress:server:args argv options: { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }
2022-12-30T16:10:35.917Z cypress:server:cypress from argv [ '/tmp/src/src/linux/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=602' ] got options { _: [ '/tmp/src/src/linux/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 602, invokedFromCli: false, cwd: '/tmp/src/src', config: {}, pong: 602 }
2022-12-30T16:10:35.962Z cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' }
2022-12-30T16:10:35.968Z cypress:cli arm uname -m result: { stdout: 'x86_64' }
2022-12-30T16:10:35.974Z cypress:cli Stopping Xvfb
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.`
Beta Was this translation helpful? Give feedback.
All reactions