question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure pipeline + Docker + Cypress v10.3.0

See original GitHub issue

Current behavior

After upgrading from version 8.1 to 10.3.0 Cypress doesn’t work under Azure pipeline. Locally all seems to work. Tests running both local on the machine and within the docker but once I want to run the docker setup in Azure pipelines I get some errors and process hangs infinitely until it reaches the timeout.

Docker image: cypress/base:14.17.0 Cypress: v10.3.0

[...:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 407: Permission denied (13)

[...:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 202: Permission denied (13)


2022-06-29T11:55:24.9645434Z [202:0629/115524.951182:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
2022-06-29T11:55:24.9668177Z [202:0629/115524.954129:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

DEBUG=cypress:*,-cypress:server:util:process_profiler npx cypress run

After upgrading from version 8.1 to 10.3.0 Cypress doesn’t work under Azure pipeline. Locally all seems to work. Tests running both local on the machine and within the docker but once I want to run the docker setup in Azure pipelines I get some permission denied errors and process hangs infinitely until it reaches the timeout.

Docker image: cypress/base:14.17.0 Cypress: v10.3.0

[...:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 407: Permission denied (13)

[...:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 202: Permission denied (13)

DEBUG=cypress:*,-cypress:server:util:process_profiler npx cypress run

2022-06-29T11:55:24.0337379Z 2022-06-29T11:55:23.572Z cypress:cli Cypress will spawn its own Xvfb
2022-06-29T11:55:24.0338498Z 2022-06-29T11:55:23.572Z cypress:cli needs to start own Xvfb? true
2022-06-29T11:55:24.0340910Z 2022-06-29T11:55:23.573Z cypress:cli Starting Xvfb
2022-06-29T11:55:24.0342031Z 2022-06-29T11:55:23.590Z cypress:cli spawning, should retry on display problem? false
2022-06-29T11:55:24.0343321Z 2022-06-29T11:55:23.597Z cypress:cli passing DISPLAY :99
2022-06-29T11:55:24.0345313Z 2022-06-29T11:55:23.597Z cypress:cli spawn args [ '--no-sandbox', '--', '--run-project', '/opt/cypress-tests', '--config', 'video=false', '--spec', 'cypress/tests/integration/**/*.ts', '--cwd', '/opt/cypress-tests', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '14.17.0' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] }
2022-06-29T11:55:24.0347902Z 2022-06-29T11:55:23.597Z cypress:cli spawning Cypress with executable: /root/.cache/Cypress/10.3.0/Cypress/Cypress
2022-06-29T11:55:24.0349032Z 2022-06-29T11:55:23.601Z cypress:cli piping child STDERR to process STDERR
2022-06-29T11:55:24.0350445Z 2022-06-29T11:55:23.755Z cypress:ts registering ts-node on directory undefined
2022-06-29T11:55:24.0351248Z 2022-06-29T11:55:23.814Z cypress:ts Running without ts-node hook in environment "production"
2022-06-29T11:55:24.6987590Z 2022-06-29T11:55:24.685Z cypress:server:appdata path: /root/.config/Cypress/cy/production/cache
2022-06-29T11:55:24.7533593Z 2022-06-29T11:55:24.740Z cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers
2022-06-29T11:55:24.7629456Z 2022-06-29T11:55:24.750Z cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--', '--run-project', '/opt/cypress-tests', '--config', 'video=false', '--spec', 'cypress/tests/integration/**/*.ts', '--cwd', '/opt/cypress-tests', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '14.17.0' ]
2022-06-29T11:55:24.7638719Z 2022-06-29T11:55:24.750Z cypress:server:args argv array: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--run-project', '/opt/cypress-tests', '--config', 'video=false', '--spec', 'cypress/tests/integration/**/*.ts', '--cwd', '/opt/cypress-tests', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '14.17.0' ]
2022-06-29T11:55:24.7651164Z 2022-06-29T11:55:24.752Z cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, 'run-project': '/opt/cypress-tests', runProject: '/opt/cypress-tests', config: 'video=false', spec: 'cypress/tests/integration/**/*.ts', cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0' } }
2022-06-29T11:55:24.7673614Z 2022-06-29T11:55:24.754Z cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: 'video=false', spec: 'cypress/tests/integration/**/*.ts', cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true }
2022-06-29T11:55:24.7682917Z 2022-06-29T11:55:24.755Z cypress:server:util:proxy found proxy environment variables { npm_config_proxy: '', npm_config_https_proxy: '', npm_config_noproxy: '' }
2022-06-29T11:55:24.7697813Z 2022-06-29T11:55:24.756Z cypress:server:args options { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true }
2022-06-29T11:55:24.7701114Z 2022-06-29T11:55:24.756Z cypress:server:args argv options: { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true, projectRoot: '/opt/cypress-tests' }
2022-06-29T11:55:24.7705059Z 2022-06-29T11:55:24.757Z cypress:server:cypress from argv [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress', '--no-sandbox', '--run-project', '/opt/cypress-tests', '--config', 'video=false', '--spec', 'cypress/tests/integration/**/*.ts', '--cwd', '/opt/cypress-tests', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '14.17.0' ] got options { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true, projectRoot: '/opt/cypress-tests' }
2022-06-29T11:55:24.7707427Z 2022-06-29T11:55:24.757Z cypress:server:cypress scaling electron app in headless mode
2022-06-29T11:55:24.9377638Z [31:0629/115524.924037:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 202: Permission denied (13)
2022-06-29T11:55:24.9379111Z 2022-06-29T11:55:24.925Z cypress:server:appdata path: /root/.config/Cypress/cy/production
2022-06-29T11:55:24.9541178Z 2022-06-29T11:55:24.933Z cypress:server:cypress starting in mode run with options { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true, projectRoot: '/opt/cypress-tests' }
2022-06-29T11:55:24.9542605Z 2022-06-29T11:55:24.933Z cypress:server:cypress running Electron currently
2022-06-29T11:55:24.9645434Z [202:0629/115524.951182:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
2022-06-29T11:55:24.9668177Z [202:0629/115524.954129:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
2022-06-29T11:55:25.6102140Z 2022-06-29T11:55:25.580Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer
2022-06-29T11:55:25.6103806Z 2022-06-29T11:55:25.580Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions
2022-06-29T11:55:25.6105710Z 2022-06-29T11:55:25.581Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject
2022-06-29T11:55:25.6107565Z 2022-06-29T11:55:25.584Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data
2022-06-29T11:55:25.6109645Z 2022-06-29T11:55:25.584Z cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data
2022-06-29T11:55:25.6828193Z 2022-06-29T11:55:25.665Z cypress:server:browsers:utils getBrowsers
2022-06-29T11:55:25.6835031Z 2022-06-29T11:55:25.666Z 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 }, { 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+)/m, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary (\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]
2022-06-29T11:55:25.6840591Z 2022-06-29T11:55:25.668Z cypress:scaffold-config:detect Detected cypress.config.ts - using TS
2022-06-29T11:55:25.6842442Z 2022-06-29T11:55:25.671Z cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: '/root/.cache/Cypress/10.3.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js', configProcessArgs: [ '--projectRoot', '/opt/cypress-tests', '--file', '/opt/cypress-tests/cypress.config.ts' ], childOptions: { stdio: 'pipe', cwd: '/opt/cypress-tests', execPath: '/usr/local/bin/node' } }
2022-06-29T11:55:25.7269432Z 2022-06-29T11:55:25.714Z cypress:lifecycle:ProjectConfigIpc trigger the load of the file
2022-06-29T11:55:26.1224259Z 2022-06-29T11:55:25.883Z cypress:server:video using ffmpeg from /root/.cache/Cypress/10.3.0/Cypress/resources/app/node_modules/@ffmpeg-installer/linux-x64/ffmpeg
2022-06-29T11:55:26.1226283Z 2022-06-29T11:55:25.797Z cypress:server:register-ts-node executing register_ts_node with args { _: [ '/usr/local/bin/node', '/root/.cache/Cypress/10.3.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js' ], projectRoot: '/opt/cypress-tests', file: '/opt/cypress-tests/cypress.config.ts' }
2022-06-29T11:55:26.1227989Z 2022-06-29T11:55:25.797Z cypress:server:register-ts-node registering ts-node for projectRoot: /opt/cypress-tests and file: /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.1229187Z 2022-06-29T11:55:25.798Z cypress:server:ts-node projectRoot path: /opt/cypress-tests
2022-06-29T11:55:26.1230244Z 2022-06-29T11:55:25.798Z cypress:server:ts-node registeredFile: /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.1231332Z 2022-06-29T11:55:25.798Z cypress:server:plugins resolving typescript with projectRoot '/opt/cypress-tests'
2022-06-29T11:55:26.1232488Z 2022-06-29T11:55:25.798Z cypress:server:plugins resolved typescript /opt/cypress-tests/node_modules/typescript/lib/typescript.js
2022-06-29T11:55:26.1233681Z 2022-06-29T11:55:25.798Z cypress:server:ts-node typescript path: /opt/cypress-tests/node_modules/typescript/lib/typescript.js
2022-06-29T11:55:26.1235127Z 2022-06-29T11:55:26.018Z cypress:server:ts-node registering project TS with options { compiler: '/opt/cypress-tests/node_modules/typescript/lib/typescript.js', compilerOptions: { module: 'commonjs' }, dir: '/opt/cypress-tests', transpileOnly: true }
2022-06-29T11:55:26.1236325Z Couldn't find tsconfig.json. tsconfig-paths will be skipped
2022-06-29T11:55:26.1237452Z 2022-06-29T11:55:26.084Z cypress:server:browsers:utils found browsers { browsers: [] }
2022-06-29T11:55:26.1239373Z 2022-06-29T11:55:26.084Z cypress:server:browsers:utils adding Electron browser { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' }
2022-06-29T11:55:26.1241600Z 2022-06-29T11:55:26.090Z cypress:lifecycle:child:run_require_async_child:218 configFile: /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.1242966Z 2022-06-29T11:55:26.090Z cypress:lifecycle:child:run_require_async_child:218 projectRoot: /opt/cypress-tests
2022-06-29T11:55:26.1244167Z 2022-06-29T11:55:26.094Z cypress:lifecycle:child:run_require_async_child:218 try loading /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.1245320Z 2022-06-29T11:55:26.094Z cypress:lifecycle:child:run_require_async_child:218 Loading file /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.3541345Z 2022-06-29T11:55:26.299Z cypress:cli exporting Cypress module interface
2022-06-29T11:55:26.7576971Z 2022-06-29T11:55:26.743Z cypress:lifecycle:child:run_require_async_child:218 loaded config file /opt/cypress-tests/cypress.config.ts
2022-06-29T11:55:26.7579128Z 2022-06-29T11:55:26.744Z cypress:lifecycle:ProjectConfigIpc loadConfig:reply
2022-06-29T11:55:26.7580638Z 2022-06-29T11:55:26.744Z cypress:lifecycle:ProjectConfigManager config is loaded for file /opt/cypress-tests/cypress.config.ts null
2022-06-29T11:55:26.7581710Z 2022-06-29T11:55:26.744Z cypress:config:browser validating configuration
2022-06-29T11:55:26.7597402Z 2022-06-29T11:55:26.747Z cypress:config:browser validating configuration
2022-06-29T11:55:26.7623594Z 2022-06-29T11:55:26.748Z cypress:server:config setting config object { cliConfig: { video: false }, projectName: 'cypress-tests', projectRoot: '/opt/cypress-tests', config: { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: [Object], mochaJunitReporterReporterOptions: [Object] }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, envFile: {}, options: { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true, projectRoot: '/opt/cypress-tests', socketId: '3fvty1308f', isTextTerminal: true, browser: 'electron', quiet: false, morgan: false, report: true, testingType: 'e2e', configFile: 'cypress.config.ts' } }
2022-06-29T11:55:26.7630696Z 2022-06-29T11:55:26.748Z cypress:server:config config is { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: { reportDir: 'cypress/reports/mocha', overwrite: false, html: false, json: true }, mochaJunitReporterReporterOptions: { mochaFile: 'cypress/reports/results-[hash].xml' } }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }
2022-06-29T11:55:26.7644249Z 2022-06-29T11:55:26.749Z cypress:server:config merged config with options, got { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: { reportDir: 'cypress/reports/mocha', overwrite: false, html: false, json: true }, mochaJunitReporterReporterOptions: { mochaFile: 'cypress/reports/results-[hash].xml' } }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', envFile: {}, projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests', rawJson: { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: [Object], mochaJunitReporterReporterOptions: [Object] }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', envFile: {}, projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests' }, configFile: 'cypress.config.ts', morgan: false, isTextTerminal: true, socketId: '3fvty1308f', report: true }
2022-06-29T11:55:26.7673916Z 2022-06-29T11:55:26.754Z cypress:server:config using CYPRESS_INTERNAL_ENV production
2022-06-29T11:55:26.7675434Z 2022-06-29T11:55:26.755Z cypress:server:config resolved config is { value: [], from: 'default' }
2022-06-29T11:55:26.7676775Z 2022-06-29T11:55:26.755Z cypress:config:browser validating configuration
2022-06-29T11:55:26.7678079Z 2022-06-29T11:55:26.755Z cypress:server:validation clientCerts: []
2022-06-29T11:55:26.7693668Z 2022-06-29T11:55:26.756Z cypress:server:config validate that there is no breaking config options before setupNodeEvents
2022-06-29T11:55:26.7708999Z 2022-06-29T11:55:26.744Z cypress:lifecycle:child:run_require_async_child:218 loaded config from /opt/cypress-tests/cypress.config.ts { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: { reportDir: 'cypress/reports/mocha', overwrite: false, html: false, json: true }, mochaJunitReporterReporterOptions: { mochaFile: 'cypress/reports/results-[hash].xml' } }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: [Function (anonymous)], baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' } }
2022-06-29T11:55:27.0352931Z 2022-06-29T11:55:27.004Z cypress:server:validation browsers [ { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' } ]
2022-06-29T11:55:27.0355474Z 2022-06-29T11:55:27.004Z cypress:server:validation clientCerts: []
2022-06-29T11:55:27.0592506Z 2022-06-29T11:55:27.020Z cypress:data-context browser found to set electron
2022-06-29T11:55:27.0594305Z 2022-06-29T11:55:27.022Z cypress:server:run run mode ready with options { _: [ '/root/.cache/Cypress/10.3.0/Cypress/Cypress' ], sandbox: false, runProject: '/opt/cypress-tests', config: { video: false }, spec: [ '/opt/cypress-tests/cypress/tests/integration/**/*.ts' ], cwd: '/opt/cypress-tests', userNodePath: '/usr/local/bin/node', userNodeVersion: '14.17.0', invokedFromCli: true, projectRoot: '/opt/cypress-tests', socketId: '3fvty1308f', isTextTerminal: true, browser: 'electron', quiet: false, morgan: false, report: true, testingType: 'e2e' }
2022-06-29T11:55:27.0595798Z 2022-06-29T11:55:27.022Z cypress:server:browsers getAllBrowsersWith { nameOrPath: undefined }
2022-06-29T11:55:27.0596516Z 2022-06-29T11:55:27.022Z cypress:server:browsers:utils getBrowsers
2022-06-29T11:55:27.0602158Z 2022-06-29T11:55:27.022Z 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 }, { 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+)/m, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary (\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ]

2022-06-29T11:55:27.2363076Z 2022-06-29T11:55:27.175Z cypress:server:server-base server open
2022-06-29T11:55:27.2363837Z 2022-06-29T11:55:27.181Z cypress:network:client-certificates loaded client certificates for 0 URL(s)
2022-06-29T11:55:27.2364634Z 2022-06-29T11:55:27.184Z cypress:server:server-e2e createServer connecting to server
2022-06-29T11:55:27.2365477Z 2022-06-29T11:55:27.188Z cypress:server:server-base Server listening on  { address: '127.0.0.1', family: 'IPv4', port: 37573 }
2022-06-29T11:55:27.2366317Z 2022-06-29T11:55:27.191Z cypress:server:appdata path: /root/.config/Cypress/cy/production/proxy
2022-06-29T11:55:27.3825856Z 2022-06-29T11:55:27.369Z cypress:https-proxy Created SNI HTTPS Proxy Server { port: 41169 }
2022-06-29T11:55:27.3834071Z 2022-06-29T11:55:27.370Z cypress:server:ensure-url checking that baseUrl is available {
2022-06-29T11:55:27.3835107Z   baseUrl: 'http://app',
2022-06-29T11:55:27.3835494Z   delaysRemaining: [ 3000, 3000, 4000 ],
2022-06-29T11:55:27.3835979Z   retryIntervals: [ 3000, 3000, 4000 ]
2022-06-29T11:55:27.3836415Z }
2022-06-29T11:55:27.3837978Z 2022-06-29T11:55:27.371Z cypress:network:connect beginning getAddress { hostname: 'app', port: 80 }
2022-06-29T11:55:27.3880280Z 2022-06-29T11:55:27.375Z cypress:network:connect got addresses { hostname: 'app', port: 80, addresses: [ { address: '172.29.0.215', family: 4 } ] }
2022-06-29T11:55:27.3900932Z 2022-06-29T11:55:27.377Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.3907235Z 2022-06-29T11:55:27.377Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.4003827Z 2022-06-29T11:55:27.379Z cypress:server:reporter trying to require local reporter with path: /opt/cypress-tests/node_modules/cypress-multi-reporters
2022-06-29T11:55:27.4254453Z Couldn't determine Mocha version
2022-06-29T11:55:27.4278824Z 2022-06-29T11:55:27.415Z cypress:server:saved_state noop saved state
2022-06-29T11:55:27.4637546Z 2022-06-29T11:55:27.416Z cypress:server:project project has config { configFile: '/opt/cypress-tests/cypress.config.ts', testingType: 'e2e', viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: { reportDir: 'cypress/reports/mocha', overwrite: false, html: false, json: true }, mochaJunitReporterReporterOptions: { mochaFile: 'cypress/reports/results-[hash].xml' } }, blockHosts: [ '*google-analytics.com' ], setupNodeEvents: '[Function ]', baseUrl: 'http://app', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests', rawJson: { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: [Object], mochaJunitReporterReporterOptions: [Object] }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', envFile: {}, projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests' }, morgan: false, isTextTerminal: true, socketId: '3fvty1308f', report: true, video: false, animationDistanceThreshold: 5, arch: 'x64', clientCertificates: [], downloadsFolder: '/opt/cypress-tests/cypress/downloads', env: { }, execTimeout: 60000, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalSessionAndOrigin: false, experimentalSourceRewriting: false, fileServerFolder: '/opt/cypress-tests', fixturesFolder: '/opt/cypress-tests/cypress/fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 0, platform: 'linux', pageLoadTimeout: 60000, port: 37573, projectId: null, redirectionLimit: 20, requestTimeout: 5000, resolvedNodePath: '/usr/local/bin/node', resolvedNodeVersion: '14.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0 }, screenshotsFolder: '/opt/cypress-tests/cypress/screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', supportFile: '/opt/cypress-tests/cypress/support/e2e.ts', supportFolder: '/opt/cypress-tests/cypress/support', taskTimeout: 60000, trashAssetsBeforeRuns: true, userAgent: null, videoCompression: 32, videosFolder: '/opt/cypress-tests/cypress/videos', viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: false, additionalIgnorePattern: undefined, autoOpen: false, browsers: [ { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' } ], clientRoute: '/__/', cypressBinaryRoot: '/root/.cache/Cypress/10.3.0/Cypress/resources/app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, namespace: '__cypress', reporterRoute: '/__cypress/reporter', socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '10.3.0', xhrRoute: '/xhrs/', cypressEnv: 'production', resolved: { animationDistanceThreshold: { value: 5, from: 'default' }, arch: { value: 'x64', from: 'default' }, baseUrl: { value: 'http://app', from: 'env' }, blockHosts: { value: [Array], from: 'config' }, chromeWebSecurity: { value: false, from: 'config' }, clientCertificates: { value: [], from: 'default' }, defaultCommandTimeout: { value: 8000, from: 'config' }, downloadsFolder: { value: 'cypress/downloads', from: 'default' }, env: { }, execTimeout: { value: 60000, from: 'default' }, experimentalFetchPolyfill: { value: false, from: 'default' }, experimentalInteractiveRunEvents: { value: false, from: 'default' }, experimentalSessionAndOrigin: { value: false, from: 'default' }, experimentalSourceRewriting: { value: false, from: 'default' }, fileServerFolder: { value: '', from: 'default' }, fixturesFolder: { value: 'cypress/fixtures', from: 'default' }, excludeSpecPattern: { value: '*.hot-update.js', from: 'default' }, includeShadowDom: { value: false, from: 'default' }, keystrokeDelay: { value: 0, from: 'default' }, modifyObstructiveCode: { value: true, from: 'default' }, numTestsKeptInMemory: { value: 0, from: 'config' }, platform: { value: 'linux', from: 'default' }, pageLoadTimeout: { value: 60000, from: 'default' }, port: { value: null, from: 'default' }, projectId: { value: null, from: 'default' }, redirectionLimit: { value: 20, from: 'default' }, reporter: { value: 'cypress-multi-reporters', from: 'config' }, reporterOptions: { value: [Object], from: 'config' }, requestTimeout: { value: 5000, from: 'default' }, resolvedNodePath: { value: null, from: 'default' }, resolvedNodeVersion: { value: null, from: 'default' }, responseTimeout: { value: 30000, from: 'default' }, retries: { value: [Object], from: 'default' }, screenshotOnRunFailure: { value: false, from: 'config' }, screenshotsFolder: { value: 'cypress/screenshots', from: 'default' }, slowTestThreshold: { value: 10000, from: 'default' }, scrollBehavior: { value: 'top', from: 'default' }, supportFile: { value: 'cypress/support/e2e.{js,jsx,ts,tsx}', from: 'default' }, supportFolder: { value: false, from: 'default' }, taskTimeout: { value: 60000, from: 'default' }, trashAssetsBeforeRuns: { value: true, from: 'default' }, userAgent: { value: null, from: 'default' }, video: { value: false, from: 'cli' }, videoCompression: { value: 32, from: 'default' }, videosFolder: { value: 'cypress/videos', from: 'default' }, videoUploadOnPasses: { value: false, from: 'config' }, viewportHeight: { value: 880, from: 'config' }, viewportWidth: { value: 1000, from: 'default' }, waitForAnimations: { value: true, from: 'default' }, watchForFileChanges: { value: false, from: 'config' }, specPattern: { value: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', from: 'config' }, browsers: { value: [Array], from: 'runtime' }, hosts: { value: null, from: 'default' }, isInteractive: { value: true, from: 'default' }, configFile: { value: '/opt/cypress-tests/cypress.config.ts', from: 'plugin' }, testingType: { value: 'e2e', from: 'plugin' } }, remote: {}, browser: null, specs: [], proxyUrl: 'http://localhost:37573', browserUrl: 'http://app/__/', reporterUrl: 'http://app/__cypress/reporter', xhrUrl: '__cypress/xhrs/', proxyServer: 'http://localhost:37573', state: {} }
2022-06-29T11:55:27.4717770Z 2022-06-29T11:55:27.423Z cypress:server:profilecleaner found 0 root level profile matches: []
2022-06-29T11:55:27.4718785Z 2022-06-29T11:55:27.423Z cypress:server:profilecleaner found 0 profile folders: []
2022-06-29T11:55:27.4720134Z 2022-06-29T11:55:27.424Z cypress:server:profilecleaner found 0 profile folders: []
2022-06-29T11:55:27.4720503Z
2022-06-29T11:55:27.4818178Z ================================================================================
2022-06-29T11:55:27.4818750Z
2022-06-29T11:55:27.4819051Z   (Run Starting)
2022-06-29T11:55:27.4819193Z
2022-06-29T11:55:27.4820883Z 2022-06-29T11:55:27.467Z cypress:server:run formatting Node version. { version: '14.17.0', path: '/usr/local/bin/node' }
2022-06-29T11:55:27.4847184Z   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
2022-06-29T11:55:27.4852661Z   β”‚ Cypress:        10.3.0                                                                         β”‚
2022-06-29T11:55:27.4854066Z   β”‚ Browser:        Electron 100 (headless)                                                        β”‚
2022-06-29T11:55:27.4854755Z   β”‚ Node Version:   v14.17.0 (/usr/local/bin/node)                                                 β”‚
2022-06-29T11:55:27.4855525Z   β”‚ Specs:          12 found (abc.cy.ts, ...)                                                                             β”‚
2022-06-29T11:55:27.4859870Z   β”‚ Searched:       cypress/tests/integration/**/*.ts                                              β”‚
2022-06-29T11:55:27.4860566Z   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
2022-06-29T11:55:27.4860946Z
2022-06-29T11:55:27.4861691Z 2022-06-29T11:55:27.472Z cypress:lifecycle:EventRegistrar plugin event registered? { eventName: 'before:run', isRegistered: true }
2022-06-29T11:55:27.4899153Z 2022-06-29T11:55:27.473Z cypress:lifecycle:EventRegistrar execute plugin event 'before:run' Node 'v16.13.2' with args: { browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false }, config: { configFile: '/opt/cypress-tests/cypress.config.ts', testingType: 'e2e', viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: [Object], mochaJunitReporterReporterOptions: [Object] }, blockHosts: [ '*google-analytics.com' ], setupNodeEvents: '[Function ]', baseUrl: 'http://app', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests', rawJson: { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: [Object], blockHosts: [Array], e2e: [Object], setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', envFile: {}, projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests' }, morgan: false, isTextTerminal: true, socketId: '3fvty1308f', report: true, video: false, animationDistanceThreshold: 5, arch: 'x64', clientCertificates: [], downloadsFolder: '/opt/cypress-tests/cypress/downloads', env: { }, execTimeout: 60000, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalSessionAndOrigin: false, experimentalSourceRewriting: false, fileServerFolder: '/opt/cypress-tests', fixturesFolder: '/opt/cypress-tests/cypress/fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 0, platform: 'linux', pageLoadTimeout: 60000, port: 37573, projectId: null, redirectionLimit: 20, requestTimeout: 5000, resolvedNodePath: '/usr/local/bin/node', resolvedNodeVersion: '14.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0 }, screenshotsFolder: '/opt/cypress-tests/cypress/screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', supportFile: '/opt/cypress-tests/cypress/support/e2e.ts', supportFolder: '/opt/cypress-tests/cypress/support', taskTimeout: 60000, trashAssetsBeforeRuns: true, userAgent: null, videoCompression: 32, videosFolder: '/opt/cypress-tests/cypress/videos', viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: false, additionalIgnorePattern: undefined, autoOpen: false, browsers: [ [Object] ], clientRoute: '/__/', cypressBinaryRoot: '/root/.cache/Cypress/10.3.0/Cypress/resources/app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, namespace: '__cypress', reporterRoute: '/__cypress/reporter', socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '10.3.0', xhrRoute: '/xhrs/', cypressEnv: 'production', resolved: { animationDistanceThreshold: [Object], arch: [Object], baseUrl: [Object], blockHosts: [Object], chromeWebSecurity: [Object], clientCertificates: [Object], defaultCommandTimeout: [Object], downloadsFolder: [Object], env: [Object], execTimeout: [Object], experimentalFetchPolyfill: [Object], experimentalInteractiveRunEvents: [Object], experimentalSessionAndOrigin: [Object], experimentalSourceRewriting: [Object], fileServerFolder: [Object], fixturesFolder: [Object], excludeSpecPattern: [Object], includeShadowDom: [Object], keystrokeDelay: [Object], modifyObstructiveCode: [Object], numTestsKeptInMemory: [Object], platform: [Object], pageLoadTimeout: [Object], port: [Object], projectId: [Object], redirectionLimit: [Object], reporter: [Object], reporterOptions: [Object], requestTimeout: [Object], resolvedNodePath: [Object], resolvedNodeVersion: [Object], responseTimeout: [Object], retries: [Object], screenshotOnRunFailure: [Object], screenshotsFolder: [Object], slowTestThreshold: [Object], scrollBehavior: [Object], supportFile: [Object], supportFolder: [Object], taskTimeout: [Object], trashAssetsBeforeRuns: [Object], userAgent: [Object], video: [Object], videoCompression: [Object], videosFolder: [Object], videoUploadOnPasses: [Object], viewportHeight: [Object], viewportWidth: [Object], waitForAnimations: [Object], watchForFileChanges: [Object], specPattern: [Object], browsers: [Object], hosts: [Object], isInteractive: [Object], configFile: [Object], testingType: [Object] }, remote: { auth: undefined, origin: 'http://app', strategy: 'http', fileServer: null, domainName: 'app', props: [Object] }, browser: null, specs: [], proxyUrl: 'http://localhost:37573', browserUrl: 'http://app/__/', reporterUrl: 'http://app/__cypress/reporter', xhrUrl: '__cypress/xhrs/', proxyServer: 'http://localhost:37573', state: {} }, cypressVersion: '10.3.0', group: undefined, parallel: false, runUrl: undefined, specs: [ { fileExtension: '.ts', baseName: 'abc.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'abc.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'xx.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'xx.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'xx.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'xx.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: '.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: '.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: '.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: '.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: '.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: '.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, { fileExtension: '.ts', baseName: 'xxx.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'xxx.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' } ], specPattern: [ 'cypress/tests/integration/**/*.ts' ], system: { osName: 'linux', osVersion: 'Debian - 10.9' }, tag: undefined } undefined undefined
2022-06-29T11:55:27.4919746Z 2022-06-29T11:55:27.473Z cypress:lifecycle:ProjectConfigManager call event before:run for invocation id inv1
2022-06-29T11:55:27.4920750Z 2022-06-29T11:55:27.475Z cypress:lifecycle:child:RunPlugins:218 execute plugin event: before:run ({ invocationId: 'inv1', eventId: 4 })
2022-06-29T11:55:27.4921468Z -----> Cleaning cypress/reports <-----
2022-06-29T11:55:27.5117669Z 2022-06-29T11:55:27.499Z cypress:lifecycle:ProjectConfigManager promise resolved for id 'inv1' with value []
2022-06-29T11:55:27.5121954Z
2022-06-29T11:55:27.5165305Z ────────────────────────────────────────────────────────────────────────────────────────────────────
2022-06-29T11:55:27.5165978Z
2022-06-29T11:55:27.5166659Z   Running:  abc.cy.ts                                                                (1 of 12)
2022-06-29T11:55:27.5170051Z 2022-06-29T11:55:27.501Z cypress:server:run about to run spec { spec: { fileExtension: '.ts', baseName: 'abc.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'abc.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' }, isHeadless: true, browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false } }
2022-06-29T11:55:27.5173338Z 2022-06-29T11:55:27.501Z cypress:lifecycle:EventRegistrar plugin event registered? { eventName: 'before:spec', isRegistered: false }
2022-06-29T11:55:27.5174668Z 2022-06-29T11:55:27.501Z cypress:server:run video recording has been disabled. video: false
2022-06-29T11:55:27.5175456Z 2022-06-29T11:55:27.502Z cypress:server:run waiting for socket to connect and browser to launch...
2022-06-29T11:55:27.5176266Z 2022-06-29T11:55:27.502Z cypress:server:run waiting for socket connection... { id: '3fvty1308f' }
2022-06-29T11:55:27.5176976Z 2022-06-29T11:55:27.502Z cypress:server:run browser launched
2022-06-29T11:55:27.5179412Z 2022-06-29T11:55:27.503Z cypress:server:open_project resetting project state, preparing to launch browser electron for spec { fileExtension: '.ts', baseName: 'abc.cy.ts', fileName: 'xx', specFileExtension: '.cy.ts', relativeToCommonRoot: 'abc.cy.ts', specType: 'integration', name: 'cypress/tests/integration/....cy.ts', relative: 'cypress/tests/integration/....cy.ts', absolute: '/opt/cypress-tests/cypress/tests/integration/....cy.ts' } options { width: 1280, height: 720, show: false, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow], automationMiddleware: { onBeforeRequest: [Function: onBeforeRequest], onAfterResponse: [Function: onAfterResponse] }, projectRoot: '/opt/cypress-tests', shouldLaunchNewTab: false, onWarning: [Function (anonymous)] }
2022-06-29T11:55:27.5181713Z 2022-06-29T11:55:27.503Z cypress:server:project resetting project instance /opt/cypress-tests
2022-06-29T11:55:27.5182463Z 2022-06-29T11:55:27.503Z cypress:proxy:http:util:buffers resetting buffers
2022-06-29T11:55:27.5200072Z 2022-06-29T11:55:27.503Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.5201192Z 2022-06-29T11:55:27.503Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.5202323Z 2022-06-29T11:55:27.504Z cypress:server:remote-states setting remote state { auth: undefined, origin: 'http://app', strategy: 'http', fileServer: null, domainName: 'app', props: { port: '80', tld: 'app', domain: '' } } for http://app
2022-06-29T11:55:27.5203333Z 2022-06-29T11:55:27.504Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.5204434Z 2022-06-29T11:55:27.504Z cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://app', strategy: 'http', fileServer: null, domainName: 'app', props: { port: '80', tld: 'app', domain: '' } } for: http://app
2022-06-29T11:55:27.5205645Z 2022-06-29T11:55:27.504Z cypress:server:project_utils returning spec url http://app/__/#/specs/runner?file=cypress/tests/integration/....cy.ts
2022-06-29T11:55:27.5206643Z 2022-06-29T11:55:27.504Z cypress:server:open_project open project url http://app/__/#/specs/runner?file=cypress/tests/integration/....cy.ts
2022-06-29T11:55:27.5225046Z 2022-06-29T11:55:27.505Z cypress:server:project project has config { configFile: '/opt/cypress-tests/cypress.config.ts', testingType: 'e2e', viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: { reportDir: 'cypress/reports/mocha', overwrite: false, html: false, json: true }, mochaJunitReporterReporterOptions: { mochaFile: 'cypress/reports/results-[hash].xml' } }, blockHosts: [ '*google-analytics.com' ], setupNodeEvents: '[Function ]', baseUrl: 'http://app', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests', rawJson: { viewportHeight: 880, defaultCommandTimeout: 8000, chromeWebSecurity: false, screenshotOnRunFailure: false, videoUploadOnPasses: false, reporter: 'cypress-multi-reporters', reporterOptions: { reporterEnabled: 'mochawesome, mocha-junit-reporter', mochawesomeReporterOptions: [Object], mochaJunitReporterReporterOptions: [Object] }, blockHosts: [ '*google-analytics.com' ], e2e: { setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}' }, setupNodeEvents: '[Function ]', baseUrl: 'http://localhost:33222/', specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', envFile: {}, projectRoot: '/opt/cypress-tests', projectName: 'cypress-tests' }, morgan: false, isTextTerminal: true, socketId: '3fvty1308f', report: true, video: false, animationDistanceThreshold: 5, arch: 'x64', clientCertificates: [], downloadsFolder: '/opt/cypress-tests/cypress/downloads', env: { }, execTimeout: 60000, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalSessionAndOrigin: false, experimentalSourceRewriting: false, fileServerFolder: '/opt/cypress-tests', fixturesFolder: '/opt/cypress-tests/cypress/fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 0, platform: 'linux', pageLoadTimeout: 60000, port: 37573, projectId: null, redirectionLimit: 20, requestTimeout: 5000, resolvedNodePath: '/usr/local/bin/node', resolvedNodeVersion: '14.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0 }, screenshotsFolder: '/opt/cypress-tests/cypress/screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', supportFile: '/opt/cypress-tests/cypress/support/e2e.ts', supportFolder: '/opt/cypress-tests/cypress/support', taskTimeout: 60000, trashAssetsBeforeRuns: true, userAgent: null, videoCompression: 32, videosFolder: '/opt/cypress-tests/cypress/videos', viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: false, additionalIgnorePattern: undefined, autoOpen: false, browsers: [ { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' } ], clientRoute: '/__/', cypressBinaryRoot: '/root/.cache/Cypress/10.3.0/Cypress/resources/app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, namespace: '__cypress', reporterRoute: '/__cypress/reporter', socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '10.3.0', xhrRoute: '/xhrs/', cypressEnv: 'production', resolved: { animationDistanceThreshold: { value: 5, from: 'default' }, arch: { value: 'x64', from: 'default' }, baseUrl: { value: 'http://app', from: 'env' }, blockHosts: { value: [Array], from: 'config' }, chromeWebSecurity: { value: false, from: 'config' }, clientCertificates: { value: [], from: 'default' }, defaultCommandTimeout: { value: 8000, from: 'config' }, downloadsFolder: { value: 'cypress/downloads', from: 'default' }, env: { }, execTimeout: { value: 60000, from: 'default' }, experimentalFetchPolyfill: { value: false, from: 'default' }, experimentalInteractiveRunEvents: { value: false, from: 'default' }, experimentalSessionAndOrigin: { value: false, from: 'default' }, experimentalSourceRewriting: { value: false, from: 'default' }, fileServerFolder: { value: '', from: 'default' }, fixturesFolder: { value: 'cypress/fixtures', from: 'default' }, excludeSpecPattern: { value: '*.hot-update.js', from: 'default' }, includeShadowDom: { value: false, from: 'default' }, keystrokeDelay: { value: 0, from: 'default' }, modifyObstructiveCode: { value: true, from: 'default' }, numTestsKeptInMemory: { value: 0, from: 'config' }, platform: { value: 'linux', from: 'default' }, pageLoadTimeout: { value: 60000, from: 'default' }, port: { value: null, from: 'default' }, projectId: { value: null, from: 'default' }, redirectionLimit: { value: 20, from: 'default' }, reporter: { value: 'cypress-multi-reporters', from: 'config' }, reporterOptions: { value: [Object], from: 'config' }, requestTimeout: { value: 5000, from: 'default' }, resolvedNodePath: { value: null, from: 'default' }, resolvedNodeVersion: { value: null, from: 'default' }, responseTimeout: { value: 30000, from: 'default' }, retries: { value: [Object], from: 'default' }, screenshotOnRunFailure: { value: false, from: 'config' }, screenshotsFolder: { value: 'cypress/screenshots', from: 'default' }, slowTestThreshold: { value: 10000, from: 'default' }, scrollBehavior: { value: 'top', from: 'default' }, supportFile: { value: 'cypress/support/e2e.{js,jsx,ts,tsx}', from: 'default' }, supportFolder: { value: false, from: 'default' }, taskTimeout: { value: 60000, from: 'default' }, trashAssetsBeforeRuns: { value: true, from: 'default' }, userAgent: { value: null, from: 'default' }, video: { value: false, from: 'cli' }, videoCompression: { value: 32, from: 'default' }, videosFolder: { value: 'cypress/videos', from: 'default' }, videoUploadOnPasses: { value: false, from: 'config' }, viewportHeight: { value: 880, from: 'config' }, viewportWidth: { value: 1000, from: 'default' }, waitForAnimations: { value: true, from: 'default' }, watchForFileChanges: { value: false, from: 'config' }, specPattern: { value: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}', from: 'config' }, browsers: { value: [Array], from: 'runtime' }, hosts: { value: null, from: 'default' }, isInteractive: { value: true, from: 'default' }, configFile: { value: '/opt/cypress-tests/cypress.config.ts', from: 'plugin' }, testingType: { value: 'e2e', from: 'plugin' } }, remote: {}, browser: null, specs: [], proxyUrl: 'http://localhost:37573', browserUrl: 'http://app/__/', reporterUrl: 'http://app/__cypress/reporter', xhrUrl: '__cypress/xhrs/', proxyServer: 'http://localhost:37573', state: {} }
2022-06-29T11:55:27.5238882Z 2022-06-29T11:55:27.505Z cypress:network:cors Parsed URL { port: '80', tld: 'app', domain: '' }
2022-06-29T11:55:27.5240036Z 2022-06-29T11:55:27.505Z cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://app', strategy: 'http', fileServer: null, domainName: 'app', props: { port: '80', tld: 'app', domain: '' } } for: http://app
2022-06-29T11:55:27.5242130Z 2022-06-29T11:55:27.505Z cypress:server:open_project launching browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false }, spec: cypress/tests/integration/....cy.ts
2022-06-29T11:55:27.5243672Z 2022-06-29T11:55:27.506Z cypress:server:browsers browsers.kill called with no active instance
2022-06-29T11:55:27.5245444Z 2022-06-29T11:55:27.507Z cypress:server:browsers getBrowserLauncher { browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false } }
2022-06-29T11:55:27.5247940Z 2022-06-29T11:55:27.508Z cypress:server:browsers opening browser { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false }
2022-06-29T11:55:27.5250736Z 2022-06-29T11:55:27.509Z cypress:server:browsers:electron open { browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false }, url: 'http://app/__/#/specs/runner?file=cypress/tests/integration/....cy.ts' }
2022-06-29T11:55:27.5252368Z 2022-06-29T11:55:27.509Z cypress:server:saved_state noop saved state
2022-06-29T11:55:27.5253096Z 2022-06-29T11:55:27.509Z cypress:server:browsers:electron received saved state {}
2022-06-29T11:55:27.5283131Z 2022-06-29T11:55:27.509Z cypress:server:browsers:electron browser window options { width: 1280, height: 720, show: false, automationMiddleware: { onBeforeRequest: [Function: onBeforeRequest], onAfterResponse: [Function: onAfterResponse] }, projectRoot: '/opt/cypress-tests', shouldLaunchNewTab: false, browsers: [ { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.' } ], userAgent: null, proxyUrl: 'http://localhost:37573', proxyServer: 'http://localhost:37573', socketIoRoute: '/__socket', chromeWebSecurity: false, isTextTerminal: true, downloadsFolder: '/opt/cypress-tests/cypress/downloads', experimentalSessionAndOrigin: false, browser: { name: 'electron', channel: 'stable', family: 'chromium', displayName: 'Electron', version: '100.0.4896.160', path: '', majorVersion: 100, info: 'Electron is the default browser that comes with Cypress. This is the default browser that runs in headless mode. Selecting this browser is useful when debugging. The version number indicates the underlying Chromium version that Electron uses.', isHeadless: true, isHeaded: false }, url: 'http://app/__/#/specs/runner?file=cypress/tests/integration/....cy.ts', resizable: false, x: null, y: null, devTools: false, minWidth: 100, minHeight: 100, contextMenu: true, partition: 'persist:run-31', trackState: { width: 'browserWidth', height: 'browserHeight', x: 'browserX', y: 'browserY', devTools: 'isBrowserDevToolsOpen' }, webPreferences: { sandbox: true, partition: null, webSecurity: true, nodeIntegration: false, backgroundThrottling: false }, frame: true, recordFrameRate: null }
2022-06-29T11:55:27.5287490Z 2022-06-29T11:55:27.510Z cypress:lifecycle:EventRegistrar plugin event registered? { eventName: 'before:browser:launch', isRegistered: false }
2022-06-29T11:55:27.5288737Z 2022-06-29T11:55:27.510Z cypress:server:browsers:electron launching browser window to url: http://app/__/#/specs/runner?file=cypress/tests/integration/....cy.ts
2022-06-29T11:55:27.6772676Z 2022-06-29T11:55:27.532Z cypress:server:browsers:electron debugger attached
2022-06-29T11:55:27.6780649Z 2022-06-29T11:55:27.532Z cypress:server:browsers:electron clearing cache
2022-06-29T11:55:27.6815175Z 2022-06-29T11:55:27.668Z cypress:server:server-base Got CONNECT request from redirector.gvt1.com:443
2022-06-29T11:55:27.6827428Z 2022-06-29T11:55:27.669Z cypress:https-proxy Writing browserSocket connection headers { url: 'redirector.gvt1.com:443', headLength: 0, headers: { host: 'redirector.gvt1.com:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/10.3.0 Chrome/100.0.4896.160 Electron/18.3.0 Safari/537.36' } }
2022-06-29T11:55:27.6838120Z [31:0629/115527.671639:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 407: Permission denied (13)
2022-06-29T11:55:27.6906021Z 2022-06-29T11:55:27.674Z cypress:https-proxy Got first head bytes { url: 'redirector.gvt1.com:443', head: '\x16\x03\x01\x02\x00\x01\x00\x01οΏ½\x03\x03KjοΏ½\x7FfοΏ½οΏ½gοΏ½οΏ½=οΏ½Σ·οΏ½οΏ½i;οΏ½BaοΏ½οΏ½\x17οΏ½up\x1D\x1FοΏ½m~ <pmS5%οΏ½vοΏ½HZοΏ½\x1Bz=XοΏ½\x07KVl' }
2022-06-29T11:55:27.9702152Z 2022-06-29T11:55:27.957Z cypress:https-proxy Making intercepted connection to 41169
2022-06-29T11:55:27.9732137Z 2022-06-29T11:55:27.960Z cypress:network:connect successfully connected { opts: { port: 41169, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 }
2022-06-29T11:55:27.9740356Z 2022-06-29T11:55:27.961Z cypress:https-proxy received upstreamSocket callback for request { port: 41169, hostname: 'localhost', err: undefined }
2022-06-29T11:55:27.9741525Z 2022-06-29T11:55:27.961Z cypress:server:util:socket_allowed allowing socket { localPort: 42946 }
2022-06-29T11:55:27.9781675Z 2022-06-29T11:55:27.965Z cypress:server:browsers:electron maybe recording video { onScreencastFrame: undefined }
2022-06-29T11:55:27.9793934Z 2022-06-29T11:55:27.965Z cypress:server:browsers:electron debugger: enable Console and Network
2022-06-29T11:55:29.3416385Z 2022-06-29T11:55:29.328Z cypress:server:server-base Got CONNECT request from app:443
2022-06-29T11:55:29.3428689Z 2022-06-29T11:55:29.329Z cypress:https-proxy Writing browserSocket connection headers { url: 'app:443', headLength: 0, headers: { host: 'app:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/10.3.0 Chrome/100.0.4896.160 Electron/18.3.0 Safari/537.36' } }
2022-06-29T11:55:29.3432511Z 2022-06-29T11:55:29.329Z cypress:https-proxy Got first head bytes { url: 'app:443', head: '\x16\x03\x01\x02\x00\x01\x00\x01οΏ½\x03\x03IοΏ½\nοΏ½\x00\x0BοΏ½"cά‡οΏ½\x1DοΏ½`οΏ½οΏ½οΏ½@οΏ½\tοΏ½οΏ½Ψ‹οΏ½οΏ½Y\'οΏ½ <οΏ½οΏ½jοΏ½s5οΏ½6=οΏ½\x19\r>bIv\x15HοΏ½zጡ@οΏ½' }
2022-06-29T11:55:29.5943433Z 2022-06-29T11:55:29.571Z cypress:https-proxy Making intercepted connection to 41169
2022-06-29T11:55:29.5945650Z 2022-06-29T11:55:29.572Z cypress:network:connect successfully connected { opts: { port: 41169, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 }
2022-06-29T11:55:29.5947806Z 2022-06-29T11:55:29.573Z cypress:https-proxy received upstreamSocket callback for request { port: 41169, hostname: 'localhost', err: undefined }
2022-06-29T11:55:29.5949583Z 2022-06-29T11:55:29.573Z cypress:server:util:socket_allowed allowing socket { localPort: 42970 }

Desired behavior

Should work same as on 8.1 version

Test code to reproduce

N/A

Cypress Version

10.3.0

Other

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:24 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
AtofStrykercommented, Aug 5, 2022

@stychu now that’s interesting. Out of curiosity, I tried setting 127.0.0.1 to app in my /etc/hosts and I also experienced similar behavior (chrome, edge, etc) in the browser external to Cypress. Any time I tried to visit http://app I was 307 redirected (which might be why you saw the infinite redirect behavior you did). I tried setting the host to other known TLD/hosts, like com and www, and had no issues. It almost feels like app is a reserved word, but I cannot find anything to confirm this believe. I was looking through this RFC, but nothing stood out.

The good news is I don’t think this is an issue with Cypress, so I am likely going to close this issue. I’m glad you figured it out πŸ˜ƒ !

2reactions
stychucommented, Aug 5, 2022

I did make a quick check with freshly released v10.4 and as I observed before with debug logs, cypress indeed enters an …

Hmmm might it happen that the 'http://app' has some conflict with cypress internals and thus making it break ??

OMGGG I was right… We changed the domain that we expose our application under something other than app and IT WORKS!!!

Finally I can consume v10…

I would suggest to also scope cypress to something other thenapp to avoid such problems in the future. It might be edge case but still happened πŸ—‘οΈ 🩸

@mjhenkes @AtofStryker @marktnoonan @lmiller1990 @jennifer-shehane Not sure if you want me to report this in a separate ticket as a bug. If no feel free to close the ticket. Otherwise let me know πŸ‘

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Run Cypress Tests In Azure DevOps Pipeline
This blog on how to run Cypress tests in Azure DevOps aims at getting people started with running automated testing on Microsoft's Azure....
Read more >
Changelog - Cypress Documentation
Users working in React Component Testing projects can now generate a basic spec file from the components that exist in their project. Addresses...
Read more >
Run Cypress Tests using Docker on Azure DevOps ... - Medium
Run Cypress Tests using Docker on Azure DevOps Kubernetes Agents ... All you have to do is run a simple Docker command inside...
Read more >
package.json - rouch/Cypress - NotABug.org
scripts/run-docker-local.sh",; "ensure-deps": "./scripts/ensure-dependencies.sh",; "get-next-version": "node scripts/get-next-version.js",Β ...
Read more >
Top Cypress.io Courses Online - Updated [December 2022]
Cypress.io relates to DevelopmentIT & Software. 101,554 learners. Courses to get you started. Most popular. End to End automation testing with Cypress.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found