You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
cypress version - 10.9.0, e2e tests runs in local environment but failing in gitlab pipeline, below are the debug logs .
==================================================================================
$ export CYPRESS_USERNAME=${DEV_TEST_USER}
$ export CYPRESS_PSSWD=${DEV_TEST_PWD}
$ export CYPRESS_VERIFY_TIMEOUT=100000
$ npx cypress cache path
/root/.cache/Cypress
$ DEBUG=cypress:* npx cypress verify
2022-11-27T17:01:40.406Z cypress:cli:cli cli starts with arguments ["/usr/local/bin/node","/builds/ui-11/node_modules/.bin/cypress","verify"]
2022-11-27T17:01:40.407Z cypress:cli NODE_OPTIONS is not set
2022-11-27T17:01:40.407Z cypress:cli:cli program parsing arguments
2022-11-27T17:01:40.409Z cypress:cli parsed cli options {}
2022-11-27T17:01:40.514Z cypress:cli Using CYPRESS_VERIFY_TIMEOUT from environment variable
2022-11-27T17:01:40.514Z cypress:cli verifying Cypress app
2022-11-27T17:01:40.514Z cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable
2022-11-27T17:01:40.514Z cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable
2022-11-27T17:01:40.515Z cypress:cli using environment variable CYPRESS_CACHE_FOLDER /root/.cache/Cypress
2022-11-27T17:01:40.515Z cypress:cli checking environment variables
2022-11-27T17:01:40.519Z cypress:cli checking if executable exists /root/.cache/Cypress/10.9.0/Cypress/Cypress
2022-11-27T17:01:40.521Z cypress:cli Binary is executable? : true
2022-11-27T17:01:40.521Z cypress:cli binaryDir is /root/.cache/Cypress/10.9.0/Cypress
2022-11-27T17:01:40.521Z cypress:cli Reading binary package.json from: /root/.cache/Cypress/10.9.0/Cypress/resources/app/package.json
2022-11-27T17:01:40.524Z cypress:cli Found binary version 10.9.0 installed in: /root/.cache/Cypress/10.9.0/Cypress
2022-11-27T17:01:40.527Z cypress:cli { verified: true }
2022-11-27T17:01:40.527Z cypress:cli is Verified ? true
2022-11-27T17:01:40.527Z cypress:cli force verify
2022-11-27T17:01:40.528Z cypress:cli running binary verification check 10.9.0
[STARTED] Task without title.
2022-11-27T17:01:40.531Z cypress:cli clearing out the verified version
2022-11-27T17:01:40.532Z cypress:cli undefined DISPLAY environment variable
2022-11-27T17:01:40.532Z cypress:cli Cypress will spawn its own Xvfb
2022-11-27T17:01:40.532Z cypress:cli needs Xvfb? true
2022-11-27T17:01:40.532Z cypress:cli Starting Xvfb
2022-11-27T17:01:40.582Z cypress:cli disabling Electron sandbox
2022-11-27T17:01:40.582Z cypress:cli running smoke test
2022-11-27T17:01:40.582Z cypress:cli using Cypress executable /root/.cache/Cypress/10.9.0/Cypress/Cypress
2022-11-27T17:01:40.582Z cypress:cli smoke test command: /root/.cache/Cypress/10.9.0/Cypress/Cypress --no-sandbox --smoke-test --ping=76
2022-11-27T17:01:40.582Z cypress:cli smoke test timeout 100000 ms
2022-11-27T17:01:46.166Z cypress:cli Smoke test failed: Error: Command was killed with SIGILL (Invalid machine instruction): /root/.cache/Cypress/10.9.0/Cypress/Cypress --no-sandbox --smoke-test --ping=76
2022-11-27T17:01:41.855Z cypress:ts registering ts-node on directory undefined
2022-11-27T17:01:41.989Z cypress:ts Running without ts-node hook in environment "production"
2022-11-27T17:01:44.324Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2022-11-27T17:01:44.434Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2022-11-27T17:01:44.468Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.468Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.470Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 76 } }
2022-11-27T17:01:44.472Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11' }
2022-11-27T17:01:44.473Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-11-27T17:01:44.473Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {} }
2022-11-27T17:01:44.473Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
2022-11-27T17:01:44.474Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ] got options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
at makeError (/builds/ui-11/node_modules/execa/lib/error.js:59:11)
at handlePromise (/builds/dsr/ui-11/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
shortMessage: 'Command was killed with SIGILL (Invalid machine instruction): /root/.cache/Cypress/10.9.0/Cypress/Cypress --no-sandbox --smoke-test --ping=76',
command: '/root/.cache/Cypress/10.9.0/Cypress/Cypress --no-sandbox --smoke-test --ping=76',
exitCode: undefined,
signal: 'SIGILL',
signalDescription: 'Invalid machine instruction',
stdout: '',
stderr: '2022-11-27T17:01:41.855Z cypress:ts registering ts-node on directory undefined\n' +
'2022-11-27T17:01:41.989Z cypress:ts Running without ts-node hook in environment "production"\n' +
'2022-11-27T17:01:44.324Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache\n' +
'2022-11-27T17:01:44.434Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers\n' +
"2022-11-27T17:01:44.468Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]\n" +
"2022-11-27T17:01:44.468Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]\n" +
"2022-11-27T17:01:44.470Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 76 } }\n" +
"2022-11-27T17:01:44.472Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11' }\n" +
"2022-11-27T17:01:44.473Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }\n" +
"2022-11-27T17:01:44.473Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11r', config: {} }\n" +
"2022-11-27T17:01:44.473Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }\n" +
"2022-11-27T17:01:44.474Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ] got options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ICS/ui-11r', config: {}, pong: 76 }",
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
2022-11-27T17:01:46.167Z cypress:cli error message: 2022-11-27T17:01:41.855Z cypress:ts registering ts-node on directory undefined
2022-11-27T17:01:41.989Z cypress:ts Running without ts-node hook in environment "production"
2022-11-27T17:01:44.324Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2022-11-27T17:01:44.434Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2022-11-27T17:01:44.468Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.468Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.470Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 76 } }
2022-11-27T17:01:44.472Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11' }
2022-11-27T17:01:44.473Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-11-27T17:01:44.473Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {} }
2022-11-27T17:01:44.473Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
2022-11-27T17:01:44.474Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ] got options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
2022-11-27T17:01:46.168Z cypress:cli detecting arch { osPlatform: 'linux', osArch: 'x64' }
2022-11-27T17:01:46.175Z cypress:cli arm uname -m result: { stdout: 'x86_64' }
2022-11-27T17:01:46.184Z cypress:cli Stopping Xvfb
[FAILED] Cypress failed to start.
[FAILED]
[FAILED] This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
[FAILED]
[FAILED] Please refer to the error below for more details.
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] 2022-11-27T17:01:41.855Z cypress:ts registering ts-node on directory undefined
[FAILED] 2022-11-27T17:01:41.989Z cypress:ts Running without ts-node hook in environment "production"
[FAILED] 2022-11-27T17:01:44.324Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
[FAILED] 2022-11-27T17:01:44.434Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
[FAILED] 2022-11-27T17:01:44.468Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
[FAILED] 2022-11-27T17:01:44.468Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
[FAILED] 2022-11-27T17:01:44.470Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 76 } }
[FAILED] 2022-11-27T17:01:44.472Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11' }
[FAILED] 2022-11-27T17:01:44.473Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
[FAILED] 2022-11-27T17:01:44.473Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {} }
[FAILED] 2022-11-27T17:01:44.473Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
[FAILED] 2022-11-27T17:01:44.474Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ] got options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds//ui-11', config: {}, pong: 76 }
[FAILED]
[FAILED] ----------
[FAILED]
[FAILED] Platform: linux-x64 (Debian - 11.3)
[FAILED] Cypress Version: 10.9.0
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-11-27T17:01:41.855Z cypress:ts registering ts-node on directory undefined
2022-11-27T17:01:41.989Z cypress:ts Running without ts-node hook in environment "production"
2022-11-27T17:01:44.324Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2022-11-27T17:01:44.434Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2022-11-27T17:01:44.468Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.468Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ]
2022-11-27T17:01:44.470Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, 'smoke-test': true, smokeTest: true, ping: 76 } }
2022-11-27T17:01:44.472Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11' }
2022-11-27T17:01:44.473Z cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' }
2022-11-27T17:01:44.473Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {} }
2022-11-27T17:01:44.473Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
2022-11-27T17:01:44.474Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress', '--no-sandbox', '--smoke-test', '--ping=76' ] got options { _: [ '/root/.cache/Cypress/10.9.0/Cypress/Cypress' ], sandbox: false, smokeTest: true, ping: 76, invokedFromCli: false, cwd: '/builds/ui-11', config: {}, pong: 76 }
Platform: linux-x64 (Debian - 11.3)
Cypress Version: 10.9.0
=============================================================================
Can someone please provide guidance
Thanks
Beta Was this translation helpful? Give feedback.
All reactions