Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLIBC_2.29 not found when running in a docker container on a mac with m1 #28374

Closed
DmytroPolavis opened this issue Nov 21, 2023 · 14 comments · May be fixed by #28500
Closed

GLIBC_2.29 not found when running in a docker container on a mac with m1 #28374

DmytroPolavis opened this issue Nov 21, 2023 · 14 comments · May be fixed by #28500
Labels
stage: investigating Someone from Cypress is looking into this stale no activity on this issue for a long period type: bug

Comments

@DmytroPolavis
Copy link

Current behavior

When running cypress in a headless mode inside a docker container on a mac with m1 processor the following error is displayed:

[STARTED] Task without title.
[TITLE]  Verified Cypress!       /root/.cache/Cypress/13.5.1/Cypress
[SUCCESS]  Verified Cypress!       /root/.cache/Cypress/13.5.1/Cypress

Opening Cypress...
[260:1120/220012.710277:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: 

DevTools listening on ws://127.0.0.1:43649/devtools/browser/9b964487-0116-46b4-bdce-1186f1a22dbb
/lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node)
Error: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1869)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1869)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at Function.f._load (node:electron/js2c/asar_bundle:2:13377)
    at Function.Module._load (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/override_require.js:15:27)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.run (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/run.js:898:5)
    at module.exports (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/index.js:33:33)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:103:34
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.runElectron (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:89:23)
    at Object.startInMode (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:252:21)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:201:19
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/nodeback.js:42:21
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/fs-extra/node_modules/universalify/index.js:22:54

make: *** [run-container] Error 1

Desired behavior

The error is not triggered

Test code to reproduce

  1. Clone the repository.
  2. Checkout to the directory with project and run make run.

Cypress Version

v13.5.1

Node version

v16.20.2

Operating System

Debian GNU/Linux 10 (buster)

Debug Logs

2023-11-21T10:05:45.147Z cypress:cli:cli cli starts with arguments ["/usr/bin/node","/app/node_modules/.bin/cypress","run","--spec","cypress/e2e/spec.cy.js"]
2023-11-21T10:05:45.147Z cypress:cli NODE_OPTIONS is not set
2023-11-21T10:05:45.147Z cypress:cli:cli program parsing arguments
2023-11-21T10:05:45.150Z cypress:cli:cli running Cypress with args [ Command { _events: [Object: null prototype] { 'option:auto-cancel-after-failures': [Function (anonymous)], 'option:browser': [Function (anonymous)], 'option:ci-build-id': [Function (anonymous)], 'option:component': [Function (anonymous)], 'option:config': [Function (anonymous)], 'option:config-file': [Function (anonymous)], 'option:e2e': [Function (anonymous)], 'option:env': [Function (anonymous)], 'option:group': [Function (anonymous)], 'option:key': [Function (anonymous)], 'option:headed': [Function (anonymous)], 'option:headless': [Function (anonymous)], 'option:no-exit': [Function (anonymous)], 'option:parallel': [Function (anonymous)], 'option:port': [Function (anonymous)], 'option:project': [Function (anonymous)], 'option:quiet': [Function (anonymous)], 'option:record': [Function (anonymous)], 'option:reporter': [Function (anonymous)], 'option:runner-ui': [Function (anonymous)], 'option:no-runner-ui': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 25, _maxListeners: undefined, commands: [], options: [ [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option] ], parent: Command { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, commands: [Array], options: [Array], parent: null, _allowUnknownOption: false, _args: [], rawArgs: [Array], _scriptPath: '/app/node_modules/.bin/cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: undefined, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '<command> [options]', args: [Array], [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: false, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: 0, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '[options]', _description: 'Runs Cypress tests from the CLI without the GUI', _argsDescription: undefined, exit: true, spec: 'cypress/e2e/spec.cy.js', args: [], [Symbol(kCapture)]: false } ]
2023-11-21T10:05:45.294Z cypress:cli:cli variable-length opts parsed { args: [ '/usr/bin/node', '/app/node_modules/.bin/cypress', 'run', '--spec', 'cypress/e2e/spec.cy.js' ], opts: Command { _events: [Object: null prototype] { 'option:auto-cancel-after-failures': [Function (anonymous)], 'option:browser': [Function (anonymous)], 'option:ci-build-id': [Function (anonymous)], 'option:component': [Function (anonymous)], 'option:config': [Function (anonymous)], 'option:config-file': [Function (anonymous)], 'option:e2e': [Function (anonymous)], 'option:env': [Function (anonymous)], 'option:group': [Function (anonymous)], 'option:key': [Function (anonymous)], 'option:headed': [Function (anonymous)], 'option:headless': [Function (anonymous)], 'option:no-exit': [Function (anonymous)], 'option:parallel': [Function (anonymous)], 'option:port': [Function (anonymous)], 'option:project': [Function (anonymous)], 'option:quiet': [Function (anonymous)], 'option:record': [Function (anonymous)], 'option:reporter': [Function (anonymous)], 'option:runner-ui': [Function (anonymous)], 'option:no-runner-ui': [Function (anonymous)], 'option:reporter-options': [Function (anonymous)], 'option:spec': [Function (anonymous)], 'option:tag': [Function (anonymous)], 'option:dev': [Function (anonymous)] }, _eventsCount: 25, _maxListeners: undefined, commands: [], options: [ [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option], [Option] ], parent: Command { _events: [Object: null prototype], _eventsCount: 1, _maxListeners: undefined, commands: [Array], options: [Array], parent: null, _allowUnknownOption: false, _args: [], rawArgs: [Array], _scriptPath: '/app/node_modules/.bin/cypress', _name: 'cypress', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: true, _passCommandToAction: true, _actionResults: [], _actionHandler: null, _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: undefined, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '<command> [options]', args: [Array], [Symbol(kCapture)]: false }, _allowUnknownOption: false, _args: [], rawArgs: null, _scriptPath: null, _name: 'run', _optionValues: {}, _storeOptionsAsProperties: true, _storeOptionsAsPropertiesCalled: false, _passCommandToAction: true, _actionResults: [], _actionHandler: [Function: listener], _executableHandler: false, _executableFile: null, _defaultCommandName: null, _exitCallback: null, _aliases: [], _combineFlagAndOptionalValue: true, _hidden: false, _hasHelpOption: true, _helpFlags: '-h, --help', _helpDescription: 'display help for command', _helpShortFlag: '-h', _helpLongFlag: '--help', _hasImplicitHelpCommand: 0, _helpCommandName: 'help', _helpCommandnameAndArgs: 'help [command]', _helpCommandDescription: 'display help for command', _usage: '[options]', _description: 'Runs Cypress tests from the CLI without the GUI', _argsDescription: undefined, exit: true, spec: 'cypress/e2e/spec.cy.js', args: [], [Symbol(kCapture)]: false } }
2023-11-21T10:05:45.295Z cypress:cli parsed cli options { spec: 'cypress/e2e/spec.cy.js' }
2023-11-21T10:05:45.295Z cypress:cli verifying Cypress app
2023-11-21T10:05:45.295Z cypress:cli checking environment variables
2023-11-21T10:05:45.297Z cypress:cli checking if executable exists /root/.cache/Cypress/13.5.1/Cypress/Cypress
2023-11-21T10:05:45.298Z cypress:cli Binary is executable? : true
2023-11-21T10:05:45.298Z cypress:cli binaryDir is  /root/.cache/Cypress/13.5.1/Cypress
2023-11-21T10:05:45.298Z cypress:cli Reading binary package.json from: /root/.cache/Cypress/13.5.1/Cypress/resources/app/package.json
2023-11-21T10:05:45.300Z cypress:cli Found binary version 13.5.1 installed in: /root/.cache/Cypress/13.5.1/Cypress
2023-11-21T10:05:45.301Z cypress:cli could not read binary_state.json file at "/root/.cache/Cypress/13.5.1/binary_state.json"
2023-11-21T10:05:45.301Z cypress:cli {}
2023-11-21T10:05:45.301Z cypress:cli is Verified ? undefined
2023-11-21T10:05:45.301Z cypress:cli running binary verification check 13.5.1
It looks like this is your first time using Cypress: 13.5.1

[STARTED] Task without title.
2023-11-21T10:05:45.303Z cypress:cli clearing out the verified version
2023-11-21T10:05:45.303Z cypress:cli undefined DISPLAY environment variable
2023-11-21T10:05:45.303Z cypress:cli Cypress will spawn its own Xvfb
2023-11-21T10:05:45.303Z cypress:cli needs Xvfb? true
2023-11-21T10:05:45.303Z cypress:cli Starting Xvfb
2023-11-21T10:05:45.329Z cypress:cli disabling Electron sandbox
2023-11-21T10:05:45.329Z cypress:cli running smoke test
2023-11-21T10:05:45.329Z cypress:cli using Cypress executable /root/.cache/Cypress/13.5.1/Cypress/Cypress
2023-11-21T10:05:45.329Z cypress:cli smoke test command: /root/.cache/Cypress/13.5.1/Cypress/Cypress --no-sandbox --smoke-test --ping=754
2023-11-21T10:05:45.329Z cypress:cli smoke test timeout 30000 ms
2023-11-21T10:05:46.523Z cypress:cli smoke test stdout "It looks like you are running the Cypress binary directly.

This is not the recommended approach, and Cypress may not work correctly.

Please install the cypress NPM package and follow the instructions here:

https://on.cypress.io/installing-cypress
754"
2023-11-21T10:05:46.523Z cypress:cli Stopping Xvfb
2023-11-21T10:05:46.811Z cypress:cli write verified: true
2023-11-21T10:05:46.816Z cypress:cli could not read binary_state.json file at "/root/.cache/Cypress/13.5.1/binary_state.json"
[TITLE]  Verified Cypress!       /root/.cache/Cypress/13.5.1/Cypress
[SUCCESS]  Verified Cypress!       /root/.cache/Cypress/13.5.1/Cypress

Opening Cypress...
2023-11-21T10:05:46.826Z cypress:cli:run processing run options { spec: 'cypress/e2e/spec.cy.js', key: null, reporter: null, reporterOptions: null, project: '/app' }
2023-11-21T10:05:46.826Z cypress:cli:run --key is not set, looking up environment variable CYPRESS_RECORD_KEY
2023-11-21T10:05:46.828Z cypress:cli:run run to spawn.start args ["--run-project","/app","--spec","cypress/e2e/spec.cy.js"]
2023-11-21T10:05:46.830Z cypress:cli undefined DISPLAY environment variable
2023-11-21T10:05:46.830Z cypress:cli Cypress will spawn its own Xvfb
2023-11-21T10:05:46.830Z cypress:cli needs to start own Xvfb? true
2023-11-21T10:05:46.831Z cypress:cli Starting Xvfb
2023-11-21T10:05:46.849Z cypress:cli spawning, should retry on display problem? false
2023-11-21T10:05:46.852Z cypress:cli passing DISPLAY :99
2023-11-21T10:05:46.852Z cypress:cli spawn args [ '--no-sandbox', '--', '--run-project', '/app', '--spec', 'cypress/e2e/spec.cy.js', '--cwd', '/app', '--userNodePath', '/usr/bin/node', '--userNodeVersion', '16.20.2' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] }
2023-11-21T10:05:46.853Z cypress:cli spawning Cypress with executable: /root/.cache/Cypress/13.5.1/Cypress/Cypress
2023-11-21T10:05:46.856Z cypress:cli piping child STDERR to process STDERR
2023-11-21T10:05:46.950Z cypress:ts registering ts-node on directory undefined
2023-11-21T10:05:46.975Z cypress:ts Running without ts-node hook in environment "production"
2023-11-21T10:05:47.043Z cypress:server:performance-benchmark elapsed time at v8-snapshot-startup-time: 98.042ms
2023-11-21T10:05:47.392Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2023-11-21T10:05:47.416Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2023-11-21T10:05:47.420Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress', '--no-sandbox', '--', '--run-project', '/app', '--spec', 'cypress/e2e/spec.cy.js', '--cwd', '/app', '--userNodePath', '/usr/bin/node', '--userNodeVersion', '16.20.2' ]
2023-11-21T10:05:47.420Z cypress:server:args argv array: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress', '--no-sandbox', '--run-project', '/app', '--spec', 'cypress/e2e/spec.cy.js', '--cwd', '/app', '--userNodePath', '/usr/bin/node', '--userNodeVersion', '16.20.2' ]
2023-11-21T10:05:47.421Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, 'run-project': '/app', runProject: '/app', spec: 'cypress/e2e/spec.cy.js', cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2' } }
2023-11-21T10:05:47.422Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, runProject: '/app', spec: 'cypress/e2e/spec.cy.js', cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2', invokedFromCli: true }
2023-11-21T10:05:47.422Z cypress:server:util:proxy found proxy environment variables {}
2023-11-21T10:05:47.422Z cypress:server:args options { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, runProject: '/app', spec: [ '/app/cypress/e2e/spec.cy.js' ], cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2', invokedFromCli: true, config: {} }
2023-11-21T10:05:47.422Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, runProject: '/app', spec: [ '/app/cypress/e2e/spec.cy.js' ], cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2', invokedFromCli: true, config: {}, projectRoot: '/app' }
2023-11-21T10:05:47.422Z cypress:server:cypress from argv [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress', '--no-sandbox', '--run-project', '/app', '--spec', 'cypress/e2e/spec.cy.js', '--cwd', '/app', '--userNodePath', '/usr/bin/node', '--userNodeVersion', '16.20.2' ] got options { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, runProject: '/app', spec: [ '/app/cypress/e2e/spec.cy.js' ], cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2', invokedFromCli: true, config: {}, projectRoot: '/app' }
2023-11-21T10:05:47.423Z cypress:server:cypress scaling electron app in headless mode
2023-11-21T10:05:47.505Z cypress:server:appdata path: /root/.config/Cypress/cy/production

DevTools listening on ws://127.0.0.1:38399/devtools/browser/0e447e2e-4fbc-483e-84b9-4e759ebc9bf7
[262:1121/100547.516038:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: unknown error type: 
2023-11-21T10:05:47.517Z cypress:server:util:process_profiler error running process profiler: Error: expected to find current pid in process list 262 at lazyAssLogic (/root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/lazy-ass/index.js:110:14) at lazyAss (/root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/lazy-ass/index.js:115:28) at groupCyProcesses (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/util/process_profiler.js:33:28)
2023-11-21T10:05:47.517Z cypress:server:cypress starting in mode run with options { _: [ '/root/.cache/Cypress/13.5.1/Cypress/Cypress' ], sandbox: false, runProject: '/app', spec: [ '/app/cypress/e2e/spec.cy.js' ], cwd: '/app', userNodePath: '/usr/bin/node', userNodeVersion: '16.20.2', invokedFromCli: true, config: {}, projectRoot: '/app' }
2023-11-21T10:05:47.518Z cypress:server:cypress running Electron currently
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.pollingIntervals
2023-11-21T10:05:47.696Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions
2023-11-21T10:05:47.697Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject
2023-11-21T10:05:47.697Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RelevantRunInfo.status
2023-11-21T10:05:47.698Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data
2023-11-21T10:05:47.698Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
2023-11-21T10:05:47.823Z cypress:server:browsers:utils getBrowsers
2023-11-21T10:05:47.824Z cypress:launcher:detect detecting if the following browsers are present [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', versionRegex: /Google Chrome (\S+)/m, binary: [ 'google-chrome', 'chrome', 'google-chrome-stable' ], minSupportedVersion: 64 }, { name: 'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium', versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium' ], minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome (\S+) beta/m, binary: 'google-chrome-beta', minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'canary', displayName: 'Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary: 'google-chrome-canary', minSupportedVersion: 64 }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex: /^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox', minSupportedVersion: 86, validator: [Function: validator] }, { name: 'firefox', family: 'firefox', channel: 'dev', displayName: 'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m, binary: [ 'firefox-developer-edition', 'firefox' ], minSupportedVersion: 86 }, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName: 'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [ 'firefox-nightly', 'firefox-trunk' ], minSupportedVersion: 86 }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', versionRegex: /Microsoft Edge (\S+)/im, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge.+?(\S*(?= canary)|(?<=canary )\S*)/im, binary: [ 'edge-canary', 'microsoft-edge-canary' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge.+?(\S*(?= beta)|(?<=beta )\S*)/im, binary: [ 'edge-beta', 'microsoft-edge-beta' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge.+?(\S*(?= dev)|(?<=dev )\S*)/im, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]
2023-11-21T10:05:47.826Z cypress:server:browsers:utils WebKit is enabled, but there was an error constructing the WebKit browser: { err: Error: Cannot find module 'playwright-webkit' Require stack: - /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/utils.js - /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/index.js - /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/util/process_profiler.js - /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/start-cypress.js - /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/index.js - /root/.cache/Cypress/13.5.1/Cypress/resources/app/index.js - at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15) at Function.n._resolveFilename (node:electron/js2c/browser_init:2:117603) at Function.resolve (node:internal/modules/cjs/helpers:116:19) at getWebKitBrowser (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/utils.js:177:36) at Object.getBrowsers (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/utils.js:201:9) at BrowserDataSource.machineBrowsers (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/data-context/src/sources/BrowserDataSource.js:67:45) at ProjectLifecycleManager._setCurrentProject (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/data-context/src/data/ProjectLifecycleManager.js:340:26) at new ProjectLifecycleManager (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/data-context/src/data/ProjectLifecycleManager.js:66:18) at new DataContext (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/data-context/src/DataContext.js:86:33) at makeDataContext (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/makeDataContext.js:28:17) at module.exports (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/index.js:24:82) at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:103:34 at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Function.Promise.attempt.Promise.try (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29) at Object.runElectron (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:89:23) at Object.startInMode (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:252:21) at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:201:19 at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18) at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19) at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14) at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26) at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18) at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21) at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18) at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21) at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18) at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19) at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14) at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26) at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18) at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/nodeback.js:42:21 at /root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/fs-extra/node_modules/universalify/index.js:22:54 { code: 'MODULE_NOT_FOUND', requireStack: [ '/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/utils.js', '/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/browsers/index.js', '/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/util/process_profiler.js', '/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/start-cypress.js', '/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/index.js', '/root/.cache/Cypress/13.5.1/Cypress/resources/app/index.js', undefined ] } }
2023-11-21T10:05:47.826Z cypress:data-context:sources:GitDataSource config: { isRunMode: true, projectRoot: '/app', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange], onGitLogChange: [AsyncFunction: onGitLogChange] }
2023-11-21T10:05:47.828Z cypress:scaffold-config:detect Checking for default Cypress config file
2023-11-21T10:05:47.828Z cypress:scaffold-config:detect Detected cypress.config.js - using JS
2023-11-21T10:05:47.877Z cypress:server:video using ffmpeg from /root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/@ffmpeg-installer/linux-arm64/ffmpeg
2023-11-21T10:05:47.895Z cypress:server:run run start
2023-11-21T10:05:47.900Z cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: '/root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js', configProcessArgs: [ '--projectRoot', '/app', '--file', '/app/cypress.config.js' ], childOptions: { stdio: 'pipe', cwd: '/app', execPath: '/usr/bin/node' } }
2023-11-21T10:05:47.901Z cypress:lifecycle:ProjectConfigIpc no typescript found, just use regular Node.js
2023-11-21T10:05:47.905Z cypress:lifecycle:ProjectConfigIpc trigger the load of the file
2023-11-21T10:05:47.916Z cypress:server:cypress exiting with err Error: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1869)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1869)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at Function.f._load (node:electron/js2c/asar_bundle:2:13377)
    at Function.Module._load (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/override_require.js:15:27)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.run (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/run.js:898:5)
    at module.exports (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/index.js:33:33)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:103:34
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.runElectron (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:89:23)
    at Object.startInMode (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:252:21)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:201:19
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/nodeback.js:42:21
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/fs-extra/node_modules/universalify/index.js:22:54
 {
  code: 'ERR_DLOPEN_FAILED'
}
/lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node)
Error: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1869)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1869)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at Function.f._load (node:electron/js2c/asar_bundle:2:13377)
    at Function.Module._load (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/override_require.js:15:27)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.run (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/run.js:898:5)
    at module.exports (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/modes/index.js:33:33)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:103:34
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.runElectron (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:89:23)
    at Object.startInMode (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:252:21)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/lib/cypress.js:201:19
    at tryCatcher (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:617:21)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at PromiseArray._resolve (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PromiseArray._promiseFulfilled (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise_array.js:145:14)
    at Promise._settlePromise (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:673:18)
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/nodeback.js:42:21
    at /root/.cache/Cypress/13.5.1/Cypress/resources/app/node_modules/fs-extra/node_modules/universalify/index.js:22:54

2023-11-21T10:05:47.993Z cypress:server:browsers:utils found browsers { browsers: [] }
2023-11-21T10:05:47.994Z cypress:server:cloud:api request to url: POST https://api.cypress.io/exceptions with params: {"body":{"err":{"name":"Error","message":"<stripped-path>libm.so.6: version `GLIBC_2.29' not found (required by <stripped-path>addon-native.node)","stack":"Error: <stripped-path>libm.so.6: version `GLIBC_2.29' not found (required by <stripped-path>addon-native.node)\n    at process.func [as dlopen] (node:electron<stripped-path>asar_bundle:2:1869)\n    at Object.Module._extensions..node (node:internal<stripped-path>loader:1354:18)\n    at Object.func [as .node] (node:electron<stripped-path>asar_bundle:2:1869)\n    at Module.load (node:internal<stripped-path>loader:1124:32)\n    at Module._load (node:internal<stripped-path>loader:965:12)\n    at Function.f._load (node:electron<stripped-path>asar_bundle:2:13377)\n    at Function.Module._load (<stripped-path>override_require.js:15:27)\n    at Module.require (node:internal<stripped-path>loader:1148:19)\n    at require (node:internal<stripped-path>helpers:110:18)\n    at Object.run (<stripped-path>run.js:898:5)\n    at module.exports (<stripped-path>index.js:33:33)\n    at <stripped-path>cypress.js:103:34\n    at tryCatcher (<stripped-path>util.js:16:23)\n    at Function.Promise.attempt.Promise.try (<stripped-path>method.js:39:29)\n    at Object.runElectron (<stripped-path>cypress.js:89:23)\n    at Object.startInMode (<stripped-path>cypress.js:252:21)\n    at <stripped-path>cypress.js:201:19\n    at tryCatcher (<stripped-path>util.js:16:23)\n    at Promise._settlePromiseFromHandler (<stripped-path>promise.js:547:31)\n    at Promise._settlePromise (<stripped-path>promise.js:604:18)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:729:18)\n    at Promise._fulfill (<stripped-path>promise.js:673:18)\n    at PromiseArray._resolve (<stripped-path>promise_array.js:127:19)\n    at PromiseArray._promiseFulfilled (<stripped-path>promise_array.js:145:14)\n    at Promise._settlePromise (<stripped-path>promise.js:609:26)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:729:18)\n    at Promise._fulfill (<stripped-path>promise.js:673:18)\n    at Promise._settlePromise (<stripped-path>promise.js:617:21)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:729:18)\n    at Promise._fulfill (<stripped-path>promise.js:673:18)\n    at Promise._settlePromise (<stripped-path>promise.js:617:21)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:729:18)\n    at Promise._fulfill (<stripped-path>promise.js:673:18)\n    at PromiseArray._resolve (<stripped-path>promise_array.js:127:19)\n    at PromiseArray._promiseFulfilled (<stripped-path>promise_array.js:145:14)\n    at Promise._settlePromise (<stripped-path>promise.js:609:26)\n    at Promise._settlePromise0 (<stripped-path>promise.js:649:10)\n    at Promise._settlePromises (<stripped-path>promise.js:729:18)\n    at Promise._fulfill (<stripped-path>promise.js:673:18)\n    at <stripped-path>nodeback.js:42:21\n    at <stripped-path>index.js:22:54\n"},"version":"13.5.1","osName":"linux","osVersion":"Debian - 10.13","osCpus":[{"model":"unknown","speed":0,"times":{"user":1100,"nice":0,"sys":1490,"idle":239420,"irq":0}},{"model":"unknown","speed":0,"times":{"user":2360,"nice":0,"sys":2370,"idle":239990,"irq":0}},{"model":"unknown","speed":0,"times":{"user":3620,"nice":0,"sys":2140,"idle":239520,"irq":0}},{"model":"unknown","speed":0,"times":{"user":1750,"nice":0,"sys":1530,"idle":243180,"irq":0}},{"model":"unknown","speed":0,"times":{"user":2350,"nice":0,"sys":1770,"idle":242350,"irq":0}},{"model":"unknown","speed":0,"times":{"user":1910,"nice":0,"sys":1500,"idle":243100,"irq":0}},{"model":"unknown","speed":0,"times":{"user":4930,"nice":0,"sys":2710,"idle":237860,"irq":0}},{"model":"unknown","speed":0,"times":{"user":2730,"nice":0,"sys":1490,"idle":242220,"irq":0}},{"model":"unknown","speed":0,"times":{"user":2710,"nice":0,"sys":1180,"idle":242510,"irq":0}},{"model":"unknown","speed":0,"times":{"user":1870,"nice":0,"sys":990,"idle":243770,"irq":0}}],"osMemory":{"free":1993183232,"total":3062173696}},"headers":{"x-os-name":"linux","x-cypress-version":"13.5.1"}} and token: undefined
2023-11-21T10:05:47.998Z cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' }
2023-11-21T10:05:47.998Z cypress:network:connect beginning getAddress { hostname: 'api.cypress.io', port: 443 }
2023-11-21T10:05:48.000Z cypress:server:cypress calling exit 1
2023-11-21T10:05:48.000Z cypress:server:cypress about to exit with code 1
2023-11-21T10:05:48.023Z cypress:lifecycle:child:run_require_async_child:475 configFile: /app/cypress.config.js
2023-11-21T10:05:48.024Z cypress:lifecycle:child:run_require_async_child:475 projectRoot: /app
2023-11-21T10:05:48.025Z cypress:server:browsers browsers.kill called with no active instance
2023-11-21T10:05:48.025Z cypress:proxy:http:util:prerequests metrics: { browserPreRequestsReceived: 0, proxyRequestsReceived: 0, immediatelyMatchedRequests: 0, unmatchedRequests: 0, unmatchedPreRequests: 0 }
2023-11-21T10:05:48.068Z cypress:cli child event fired { event: 'exit', code: 1, signal: null }
2023-11-21T10:05:48.068Z cypress:cli Stopping Xvfb

Other

The issue is specific only for mac on arm processors (mine is m1). I have intel-based mac and the same docker container works without problems.

@jennifer-shehane
Copy link
Member

@DmytroPolavis We'll look into this. We already addressed a similar issue. #27920

Is this issue specific to Cypress 13.5.1 for you? Can you try some other versions?

@jennifer-shehane jennifer-shehane added the stage: investigating Someone from Cypress is looking into this label Nov 21, 2023
@DmytroPolavis
Copy link
Author

@DmytroPolavis We'll look into this. We already addressed a similar issue. #27920

Is this issue specific to Cypress 13.5.1 for you? Can you try some other versions?

Hi, Jennifer! Thanks for the quick reply!
Yes for 13.4.0, 13.3.0 - the same problem
Screenshot 2023-11-21 at 16 38 06
Image 21 11 2023 at 17 02

@DmytroPolavis
Copy link
Author

12.17.4 - fails with the same error.

@jennifer-shehane
Copy link
Member

It seems this is attempting to run the x86 addon-native.node on ARM. We'd recommend switching to an ARM image. I don't think there's anything we can do on our side in this situation.

@jennifer-shehane
Copy link
Member

Some more suggestions from our team:

They can pass the --platform flag to their docker run command to tell Docker which to use.
They can actually do either --platform linux/arm64/v8 to use the arm image or --platform linux/amd64 which will trigger running the x86 image via rosetta2 emulation.
They can test by running uname -m inside the container (although we know based on the lib paths in their error), they'll get aarch64 on the arm one and x86_64 on rosetta 2

@DmytroPolavis
Copy link
Author

@jennifer-shehane Did i get you right that the cypress version i am using is x86 specific and i need arm version of cypress? I have tried to run the test passing he platform and it didn't work.

@DmytroPolavis
Copy link
Author

@jennifer-shehane OK, after experimenting a little bit - this problem disappears once debian:bullseye is used for the base image. So this is kind of a fix.
But still it is not clear for me what is had to do with the arm processor + docker?

@Younis-NAB
Copy link

Hey @jennifer-shehane ,

Just to highlight that the issue we are having is with Linux arm based machines, not with Mac as this issue states.

Just a thought, is it possible that the issue that was discovered recently with 13.x related to glibc wasn’t fixed in arm based images.

@jennifer-shehane
Copy link
Member

@Younis-NAB Yes, we did not fix it on Linux ARM

@jsamuel1
Copy link

jsamuel1 commented Dec 6, 2023

@jennifer-shehane I can see that there is a small change to the CircleCI workflow that would build the alternative package version for ARM builds. Does enabling this resolve the issue, or do you need to update to Centos8 to get an ARM build going?

I believe the required change would be for the .circleci/workflows.yml to call the build-better-sqlite3 from the ARM workflow.

x86 task starts with:

linux-x64-workflow: &linux-x64-workflow
  jobs:
    - node_modules_install:
        build-better-sqlite3: true

The linux-arm64-workflow: task did not get this addition.

I'm keen to get this working both on my M1 mac in native mode and AWS Graviton2 RHEL8.

x64 build task: https://github.com/cypress-io/cypress/blob/develop/.circleci/workflows.yml#L2634
ARM build task: https://github.com/cypress-io/cypress/blob/develop/.circleci/workflows.yml#L3409

@jsamuel1
Copy link

jsamuel1 commented Dec 6, 2023

I have repo steps for this on RHEL8 (forked from @DmytroPolavis 's bug report repo), and showing that RHEL9 does not have the issue.
https://github.com/jsamuel1/cypress-bug-report

A bit more manual steps compared to Dymtro's, as RHEL needs to be registered against its licence management before installing packages - so run pre-rhel.sh on those systems as interactive before runme.sh to repo.

I was reproducing the problem on an AWS Graviton2 EC2 host with Docker installed.

@Jayaranjani
Copy link

@Younis-NAB Yes, we did not fix it on Linux ARM

Hi Jennifer! Is there a fix for this issue on LINUX arm machines?
I too face the same issue with cypress/base:14.21.1 image along with cypress version 13.6.1.

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Sep 30, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: investigating Someone from Cypress is looking into this stale no activity on this issue for a long period type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants