You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running test over CI in headless mode. The Test start and after few min end with an error .
Error: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
I have tried to implement all possible solution related to this issue found over github, but still could not able to solve this :(. Following are the require detail.
Cypress package version: 3.3.2
Cypress binary version: 3.3.2
ffmpeg version: 4.1.1
ScreenHeight(768) :ScreenWidth (1366)
Test code
describe('Dashboard Test',()=>{it('Navigate to Dashboard',()=>{cy.viewport(1366,768)cy.visit('https://test.iq.como.cloud/')cy.get('h1').contains('Welcome')cy.url().should('include','cloud')cy.get('#email').type('test@test.com')cy.get('#password').type('qwerty')cy.get('.btn').click()cy.screenshot()})
I even tried to run with our without cy.viewport() but all in vain.
Debug logs
C:\Program Files\nodejs\cyptest>set DEBUG=cypress:*
C:\Program Files\nodejs\cyptest>.\node_modules\.bin\cypress run --record --key baa177b3-a16f-4016-8bb1-0228673e2168
cypress:cli cli starts with arguments ["C:\\Program Files\\nodejs\\node.exe","C:\\Program Files\\nodejs\\cyptest\\node_modules\\cypress\\bin\\cypress","run","--record","--key","baa177b3-a16f-4016-8bb1-0228673e2168"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli program parsing arguments +4ms
cypress:cli running Cypress +1ms
cypress:cli parsed cli options { record: true, key: 'baa177b3-a16f-4016-8bb1-0228673e2168' } +242ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +1ms
cypress:cli checking if executable exists C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\Cypress.exe +4ms
cypress:cli Binary is executable? : true +2ms
cypress:cli binaryDir is C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress +1ms
cypress:cli Reading binary package.json from: C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\resources\app\package.json +0ms
cypress:cli Found binary version 3.3.2 installed in: C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress +3ms
cypress:cli { verified: true } +5ms
cypress:cli is Verified ? true +2ms
cypress:cli processing run options +0ms
cypress:cli run to spawn.start args ["--run-project","C:\\Program Files\\nodejs\\cyptest","--key","baa177b3-a16f-4016-8bb1-0228673e2168","--record",true] +0ms
cypress:cli needs to start own Xvfb? false +0ms
cypress:cli spawning, should retry on display problem? false +5ms
cypress:cli spawning Cypress with executable: C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\Cypress.exe +4ms
cypress:cli spawn args [ '--run-project', 'C:\\Program Files\\nodejs\\cyptest', '--key', 'baa177b3-a16f-4016-8bb1-0228673e2168', '--record', true, '--cwd', 'C:\\Program Files\\nodejs\\cyptest' ] { detached: false, stdio: 'pipe', windowsHide: false } +1ms
cypress:ts Running without ts-node hook in environment "production" +0ms
cypress:server:cypress starting cypress with argv [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe', '--run-project', 'C:\\Program Files\\nodejs\\cyptest', '--key', 'baa177b3-a16f-4016-8bb1-0228673e2168', '--record', 'true', '--cwd', 'C:\\Program Files\\nodejs\\cyptest' ] +0ms
cypress:server:args argv array: [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe', '--run-project', 'C:\\Program Files\\nodejs\\cyptest', '--key', 'baa177b3-a16f-4016-8bb1-0228673e2168', '--record', 'true', '--cwd', 'C:\\Program Files\\nodejs\\cyptest' ] +0ms
cypress:server:args argv parsed: { _: [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe' ], runProject: 'C:\\Program Files\\nodejs\\cyptest', key: 'baa177b3-a16f-4016-8bb1-0228673e2168', record: true, cwd: 'C:\\Program Files\\nodejs\\cyptest' } +0ms
cypress:server:args options { _: [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe' ], runProject: 'C:\\Program Files\\nodejs\\cyptest', key: 'baa177b3-a16f-4016-8bb1-0228673e2168', record: true, cwd: 'C:\\Program Files\\nodejs\\cyptest', config: {} } +0ms
cypress:server:args argv options: { _: [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe' ], runProject: 'C:\\Program Files\\nodejs\\cyptest', key: 'baa177b3-a16f-4016-8bb1-0228673e2168', record: true, cwd: 'C:\\Program Files\\nodejs\\cyptest', config: {}, projectRoot: 'C:\\Program Files\\nodejs\\cyptest', run: true } +0ms
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production +0ms
cypress:server:cypress starting in mode run +870ms
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production +2s
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +1s
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\browsers +6s
cypress:server:run run mode ready with options { _: [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\Cypress.exe' ], runProject: 'C:\\Program Files\\nodejs\\cyptest', key: 'baa177b3-a16f-4016-8bb1-0228673e2168', record: true, cwd: 'C:\\Program Files\\nodejs\\cyptest', config: {}, projectRoot: 'C:\\Program Files\\nodejs\\cyptest', run: true } +0ms
cypress:server:project Project created C:\Program Files\nodejs\cyptest +0ms
cypress:server:openproject opening project C:\Program Files\nodejs\cyptest +0ms
cypress:server:project opening project instance C:\Program Files\nodejs\cyptest +0ms
cypress:server:config setting support file C:\Program Files\nodejs\cyptest\cypress\support +0ms
cypress:server:config for project root C:\Program Files\nodejs\cyptest +0ms
cypress:server:config set support folder C:\Program Files\nodejs\cyptest\cypress\support +15ms
cypress:server:config setting plugins file C:\Program Files\nodejs\cyptest\cypress\plugins +0ms
cypress:server:config for project root C:\Program Files\nodejs\cyptest +0ms
cypress:server:config set pluginsFile to C:\Program Files\nodejs\cyptest\cypress\plugins\index.js +0ms
cypress:server:config set scaffold paths +0ms
cypress:server:scaffold scaffolded files ["cypress\\integration\\examples\\actions.spec.js","cypress\\integration\\examples\\aliasing.spec.js","cypress\\integration\\examples\\assertions.spec.js","cypress\\integration\\examples\\connectors.spec.js","cypress\\integration\\examples\\cookies.spec.js","cypress\\integration\\examples\\cypress_api.spec.js","cypress\\integration\\examples\\files.spec.js","cypress\\integration\\examples\\local_storage.spec.js","cypress\\integration\\examples\\location.spec.js","cypress\\integration\\examples\\misc.spec.js","cypress\\integration\\examples\\navigation.spec.js","cypress\\integration\\examples\\network_requests.spec.js","cypress\\integration\\examples\\querying.spec.js","cypress\\integration\\examples\\spies_stubs_clocks.spec.js","cypress\\integration\\examples\\traversal.spec.js","cypress\\integration\\examples\\utilities.spec.js","cypress\\integration\\examples\\viewport.spec.js","cypress\\integration\\examples\\waiting.spec.js","cypress\\integration\\examples\\window.spec.js","cypress\\fixtures\\example.json","cypress\\support\\commands.js","cypress\\support\\index.js","cypress\\plugins\\index.js"] +0ms
cypress:server:config got file tree +54ms
cypress:server:project get saved state +132ms
cypress:server:saved_state noop saved state +0ms
cypress:server:scaffold plugins folder C:\Program Files\nodejs\cyptest\cypress\plugins +53ms
cypress:server:scaffold verify scaffolding in C:\Program Files\nodejs\cyptest\cypress\plugins +0ms
cypress:server:scaffold folder C:\Program Files\nodejs\cyptest\cypress\plugins already exists +0ms
cypress:server:plugins plugins.init C:\Program Files\nodejs\cyptest\cypress\plugins\index.js +0ms
cypress:server:plugins:child pluginsFile: C:\Program Files\nodejs\cyptest\cypress\plugins\index.js +0ms
cypress:server:plugins:child require pluginsFile +0ms
cypress:server:plugins:child run plugins function +0ms
cypress:server:plugins:child register event _get:task:body with id 0 +0ms
cypress:server:plugins:child register event _get:task:keys with id 1 +0ms
cypress:server:plugins register plugins process event _get:task:body with id 0 +617ms
cypress:server:plugins register event '_get:task:body' +0ms
cypress:server:plugins register plugins process event _get:task:keys with id 1 +0ms
cypress:server:plugins register event '_get:task:keys' +0ms
cypress:server:project plugin config yielded: null +632ms
cypress:server:buffers resetting buffers +0ms
cypress:server:server Server listening on { address: '127.0.0.1', family: 'IPv4', port: 19899 } +0ms
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\proxy +5s
cypress:https-proxy Created SNI HTTPS Proxy on port 19902 +0ms
cypress:server:server Setting remoteAuth undefined +38ms
cypress:server:server Setting remoteOrigin http://localhost:19899 +0ms
cypress:server:server Setting remoteStrategy file +0ms
cypress:server:server Setting remoteHostAndPort null +0ms
cypress:server:server Setting remoteDocDomain localhost +0ms
cypress:server:server Setting remoteFileServer http://localhost:19900 +0ms
cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:19899', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:19900' } +0ms
cypress:server:project project config: { projectId: 'qrrdux', video: true, projectRoot: 'C:\\Program Files\\nodejs\\cyptest', projectName: 'cyptest', morgan: false, isTextTerminal: true, socketId: 'rk02g', report: true, port: 19899, hosts: null, baseUrl: null, userAgent: null, reporter: 'spec', reporterOptions: null, blacklistHosts: null, clientRoute: '/__/', xhrRoute: '/xhrs/', socketIoRoute: '/__socket.io', socketIoCookie: '__socket.io', reporterRoute: '/__cypress/reporter', ignoreTestFiles: '*.hot-update.js', testFiles: '**/*.*', defaultCommandTimeout: 4000, requestTimeout: 5000, responseTimeout: 30000, pageLoadTimeout: 60000, execTimeout: 60000, taskTimeout: 60000, videoCompression: 32, videoUploadOnPasses: true, modifyObstructiveCode: true, chromeWebSecurity: true, waitForAnimations: true, animationDistanceThreshold: 5, numTestsKeptInMemory: 0, watchForFileChanges: false, trashAssetsBeforeRuns: true, autoOpen: false, viewportWidth: 1000, viewportHeight: 660, fileServerFolder: 'C:\\Program Files\\nodejs\\cyptest', videosFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\videos', supportFile: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\support\\index.js', fixturesFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\fixtures', integrationFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\integration', screenshotsFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\screenshots', namespace: '__cypress', pluginsFile: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\plugins\\index.js', javascripts: [], env: {}, cypressEnv: 'production', parentTestsFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress', parentTestsFolderDisplay: 'cyptest\\cypress', supportFolder: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\support', integrationExampleName: 'examples', integrationExamplePath: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\integration\\examples', scaffoldedFiles: [ { name: 'cypress\\integration\\examples\\actions.spec.js' }, { name: 'cypress\\integration\\examples\\aliasing.spec.js' }, { name: 'cypress\\integration\\examples\\assertions.spec.js' }, { name: 'cypress\\integration\\examples\\connectors.spec.js' }, { name: 'cypress\\integration\\examples\\cookies.spec.js' }, { name: 'cypress\\integration\\examples\\cypress_api.spec.js' }, { name: 'cypress\\integration\\examples\\files.spec.js' }, { name: 'cypress\\integration\\examples\\local_storage.spec.js' }, { name: 'cypress\\integration\\examples\\location.spec.js' }, { name: 'cypress\\integration\\examples\\misc.spec.js' }, { name: 'cypress\\integration\\examples\\navigation.spec.js' }, { name: 'cypress\\integration\\examples\\network_requests.spec.js' }, { name: 'cypress\\integration\\examples\\querying.spec.js' }, { name: 'cypress\\integration\\examples\\spies_stubs_clocks.spec.js' }, { name: 'cypress\\integration\\examples\\traversal.spec.js' }, { name: 'cypress\\integration\\examples\\utilities.spec.js' }, { name: 'cypress\\integration\\examples\\viewport.spec.js' }, { name: 'cypress\\integration\\examples\\waiting.spec.js' }, { name: 'cypress\\integration\\examples\\window.spec.js' }, { name: 'cypress\\fixtures\\example.json' }, { name: 'cypress\\support\\commands.js' }, { name: 'cypress\\support\\index.js' }, { name: 'cypress\\plugins\\index.js' } ], state: {}, proxyUrl: 'http://localhost:19899', browserUrl: 'http://localhost:19899/__/', reporterUrl: 'http://localhost:19899/__cypress/reporter', xhrUrl: '__cypress/xhrs/' } +170ms
cypress:server:reporter trying to load reporter: spec +0ms
cypress:server:reporter spec is Mocha reporter +0ms
cypress:server:project scaffolding project C:\Program Files\nodejs\cyptest +15ms
cypress:server:scaffold support folder C:\Program Files\nodejs\cyptest\cypress\support, support file C:\Program Files\nodejs\cyptest\cypress\support\index.js +802ms
cypress:server:scaffold verify scaffolding in C:\Program Files\nodejs\cyptest\cypress\support +0ms
cypress:server:scaffold folder C:\Program Files\nodejs\cyptest\cypress\support already exists +0ms
cypress:server:project attempt watch plugins file: C:\Program Files\nodejs\cyptest\cypress\plugins\index.js +0ms
cypress:server:specs looking for test specs in the folder: C:\Program Files\nodejs\cyptest\cypress\integration +0ms
cypress:launcher checking one browser chrome +0ms
cypress:launcher looking up chrome on win32 platform +0ms
cypress:launcher exe path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe +0ms
cypress:server:profilecleaner found 1 profile folders: [ 'C:/Users/ahmed.bilal/AppData/Roaming/Cypress/Partitions/run-10860' ] +0ms
cypress:server:profilecleaner finding process by pid: 10860 +0ms
cypress:launcher found C:\Program Files (x86)\Google\Chrome\Application\chrome.exe ? true +7ms
cypress:server:profilecleaner found 0 root level profile matches: [] +200ms
cypress:server:profilecleaner found 0 profile folders: [] +0ms
cypress:server:specs found spec file C:/Program Files/nodejs/cyptest/cypress/integration/examples/dashboard.spec.js +254ms
cypress:server:specs found 1 spec files: [ { name: 'examples\\dashboard.spec.js', relative: 'cypress\\integration\\examples\\dashboard.spec.js', absolute: 'C:/Program Files/nodejs/cyptest/cypress/integration/examples/dashboard.spec.js' } ] +0ms
cypress:server:run found '1' specs using spec pattern 'null': [ 'examples\\dashboard.spec.js' ] +1s
cypress:launcher Version=75.0.3770.100 +632ms
cypress:launcher browser chrome at 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' version 75.0.3770.100 +0ms
cypress:launcher setting major version for {"name":"chrome","family":"chrome","displayName":"Chrome","version":"75.0.3770.100","path":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"} +0ms
cypress:launcher browser chrome version 75.0.3770.100 major version 75 +0ms
cypress:launcher checking one browser chromium +0ms
cypress:launcher looking up chromium on win32 platform +0ms
cypress:launcher exe path C:\Program Files (x86)\Google\chrome-win32\chrome.exe +0ms
cypress:launcher found C:\Program Files (x86)\Google\chrome-win32\chrome.exe ? false +0ms
cypress:launcher browser chromium not installed +0ms
cypress:launcher checking one browser canary +0ms
cypress:launcher looking up canary on win32 platform +0ms
cypress:launcher exe path C:\Users\ahmed.bilal\AppData\Local\Google\Chrome SxS\Application\chrome.exe +0ms
cypress:launcher found C:\Users\ahmed.bilal\AppData\Local\Google\Chrome SxS\Application\chrome.exe ? false +0ms
cypress:launcher browser canary not installed +0ms
cypress:server:profilecleaner removing old profile { pid: 10860, folder: 'C:/Users/ahmed.bilal/AppData/Roaming/Cypress/Partitions/run-10860' } +2s
cypress:server:record found the following git information +0ms
cypress:server:record { branch: null,
cypress:server:record message: null,
cypress:server:record email: null,
cypress:server:record author: null,
cypress:server:record sha: null,
cypress:server:record remote: null } +0ms
cypress:server git commit existing info +0ms
cypress:server { sha: null,
cypress:server branch: null,
cypress:server authorName: null,
cypress:server authorEmail: null,
cypress:server message: null,
cypress:server remoteOrigin: null,
cypress:server defaultBranch: null } +0ms
cypress:server detected provider name: null +0ms
cypress:server could not get commit param object, using empty one +0ms
cypress:server commit info from provider environment variables +0ms
cypress:server {} +0ms
cypress:server combined git and environment variables from provider +0ms
cypress:server { sha: null,
cypress:server branch: null,
cypress:server authorName: null,
cypress:server authorEmail: null,
cypress:server message: null,
cypress:server remoteOrigin: null,
cypress:server defaultBranch: null } +0ms
cypress:server:record commit information from Git or from environment variables +2ms
cypress:server:record { sha: null,
cypress:server:record branch: null,
cypress:server:record authorName: null,
cypress:server:record authorEmail: null,
cypress:server:record message: null,
cypress:server:record remoteOrigin: null,
cypress:server:record defaultBranch: null } +0ms
cypress:server:api request to url: POST https://api.cypress.io/runs with params: {"body":{"ci":{"params":null,"provider":null},"specs":["cypress\\integration\\examples\\dashboard.spec.js"],"commit":{"sha":null,"branch":null,"authorName":null,"authorEmail":null,"message":null,"remoteOrigin":null,"defaultBranch":null},"group":null,"platform":{"osCpus":[{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7447703,"nice":0,"sys":7964468,"idle":36806281,"irq":428625}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7461218,"nice":0,"sys":6896234,"idle":37860781,"irq":150703}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7576515,"nice":0,"sys":7879515,"idle":36762218,"irq":59828}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7356609,"nice":0,"sys":7649500,"idle":37212093,"irq":52828}}],"osName":"win32","osMemory":{"free":1736073216,"total":8475750400},"osVersion":"10.0.17134","browserName":"Electron","browserVersion":"61.0.3163.100"},"parallel":null,"ciBuildId":null,"projectId":"qrrdux","recordKey":"baa177b3-a16f-4016-8bb1-0228673e2168","specPattern":null},"headers":{"x-route-version":"4","x-os-name":"win32","x-cypress-version":"3.3.2"}} +0ms
cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/runs' } +0ms
cypress:network:connect beginning getAddress { hostname: 'api.cypress.io', port: 443 } +0ms
cypress:network:connect got addresses { hostname: 'api.cypress.io', port: 443, addresses: [ { address: '104.25.214.23', family: 4 }, { address: '104.25.215.23', family: 4 } ] } +2ms
cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/runs' } +36ms
cypress:server:api response { groupId: 'win32-Electron-61-0d88353d64', machineId: '289a48a6-7573-4f33-b3ba-90351a38f0fa', runId: '5c330dab-7789-454f-bd01-782df7f1e445', runUrl: 'https://dashboard.cypress.io/#/projects/qrrdux/runs/1', warnings: [] } +1s
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 3.3.2 │
│ Browser: Electron 61 (headless) │
│ Specs: 1 found (examples\dashboard.spec.js) │
│ Params: Group: false, Parallel: false │
│ Run URL: https://dashboard.cypress.io/#/projects/qrrdux/runs/1 │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
cypress:server:record before spec run { spec: { name: 'examples\\dashboard.spec.js', relative: 'cypress\\integration\\examples\\dashboard.spec.js', absolute: 'C:/Program Files/nodejs/cyptest/cypress/integration/examples/dashboard.spec.js' } } +1s
cypress:server:api request to url: POST https://api.cypress.io/runs/5c330dab-7789-454f-bd01-782df7f1e445/instances with params: {"body":{"spec":"cypress\\integration\\examples\\dashboard.spec.js","groupId":"win32-Electron-61-0d88353d64","machineId":"289a48a6-7573-4f33-b3ba-90351a38f0fa","platform":{"osCpus":[{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7447703,"nice":0,"sys":7964468,"idle":36806281,"irq":428625}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7461218,"nice":0,"sys":6896234,"idle":37860781,"irq":150703}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7576515,"nice":0,"sys":7879515,"idle":36762218,"irq":59828}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7356609,"nice":0,"sys":7649500,"idle":37212093,"irq":52828}}],"osName":"win32","osMemory":{"free":1736073216,"total":8475750400},"osVersion":"10.0.17134","browserName":"Electron","browserVersion":"61.0.3163.100"}},"headers":{"x-route-version":"5","x-os-name":"win32","x-cypress-version":"3.3.2"}} +94ms
cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/runs/5c330dab-7789-454f-bd01-782df7f1e445/instances' } +1s
cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/runs/5c330dab-7789-454f-bd01-782df7f1e445/instances' } +0ms
cypress:server:api response { spec: 'cypress\\integration\\examples\\dashboard.spec.js', instanceId: 'e6626fb8-731b-4a0d-a944-de3bdb225bc4', claimedInstances: 1, totalInstances: 1, estimatedWallClockDuration: null } +1s
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: examples\dashboard.spec.js... (1 of 1)
cypress:server:run about to run spec { spec: { name: 'examples\\dashboard.spec.js', relative: 'cypress\\integration\\examples\\dashboard.spec.js', absolute: 'C:/Program Files/nodejs/cyptest/cypress/integration/examples/dashboard.spec.js' }, isHeadless: true, browser: { name: 'electron', family: 'electron', displayName: 'Electron', version: '61.0.3163.100', path: '', majorVersion: '61', info: 'Electron is the default browser that comes with Cypress. This is the 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 } } +5s
cypress:server:video capture started { command: 'ffmpeg -f image2pipe -use_wallclock_as_timestamps 1 -i pipe:0 -y -vcodec libx264 -preset ultrafast C:\\Program Files\\nodejs\\cyptest\\cypress\\videos\\examples\\dashboard.spec.js.mp4' } +0ms
cypress:server:run waiting for socket connection... { id: 'rk02g' } +2s
cypress:server:openproject resetting project state, preparing to launch browser +8s
cypress:server:project resetting project instance C:\Program Files\nodejs\cyptest +7s
cypress:server:buffers resetting buffers +7s
cypress:server:server Setting remoteAuth undefined +7s
cypress:server:server Setting remoteOrigin http://localhost:19899 +0ms
cypress:server:server Setting remoteStrategy file +0ms
cypress:server:server Setting remoteHostAndPort null +0ms
cypress:server:server Setting remoteDocDomain localhost +0ms
cypress:server:server Setting remoteFileServer http://localhost:19900 +0ms
cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:19899', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:19900' } +1ms
cypress:server:openproject launching browser: { name: 'electron', family: 'electron', displayName: 'Electron', version: '61.0.3163.100', path: '', majorVersion: '61', info: 'Electron is the default browser that comes with Cypress. This is the 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\integration\examples\dashboard.spec.js +5ms
cypress:server:browsers opening browser { name: 'electron', family: 'electron', displayName: 'Electron', version: '61.0.3163.100', path: '', majorVersion: '61', info: 'Electron is the default browser that comes with Cypress. This is the 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 } +0ms
cypress:server:browsers:electron open { browser: { name: 'electron', family: 'electron', displayName: 'Electron', version: '61.0.3163.100', path: '', majorVersion: '61', info: 'Electron is the default browser that comes with Cypress. This is the 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://localhost:19899/__/#/tests/integration\\examples\\dashboard.spec.js' } +0ms
cypress:server:saved_state noop saved state +8s
cypress:server:browsers:electron received saved state {} +2ms
cypress:server:browsers:electron browser window options { width: 1280, height: 720, show: false, recordFrameRate: 20, automationMiddleware: { onAfterResponse: [Function] }, projectRoot: 'C:\\Program Files\\nodejs\\cyptest', browsers: undefined, proxyUrl: 'http://localhost:19899', userAgent: null, proxyServer: 'http://localhost:19899', socketIoRoute: '/__socket.io', chromeWebSecurity: true, url: 'http://localhost:19899/__/#/tests/integration\\examples\\dashboard.spec.js', isTextTerminal: true, browser: { name: 'electron', family: 'electron', displayName: 'Electron', version: '61.0.3163.100', path: '', majorVersion: '61', info: 'Electron is the default browser that comes with Cypress. This is the 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 }, x: null, y: null, devTools: false, minWidth: 100, minHeight: 100, contextMenu: true, partition: 'persist:run-7832', trackState: { width: 'browserWidth', height: 'browserHeight', x: 'browserX', y: 'browserY', devTools: 'isBrowserDevToolsOpen' }, frame: true, webPreferences: { partition: null, chromeWebSecurity: true, nodeIntegration: false, backgroundThrottling: false } } +4ms
cypress:server:plugins plugin event registered? { event: 'before:browser:launch', isRegistered: false } +7s
cypress:server:browsers:electron launching browser window to url: http://localhost:19899/__/#/tests/integration\examples\dashboard.spec.js +4ms
cypress:server:browsers:electron debugger attached +127ms
cypress:server:browsers:electron clearing cache +42ms
cypress:server:video capture stderr log { message: 'ffmpeg version N-92722-gf22fcd4483 Copyright (c) 2000-2018 the FFmpeg developers' } +301ms
cypress:server:video capture stderr log { message: ' built with gcc 8.2.1 (GCC) 20181201' } +1ms
cypress:server:video capture stderr log { message: ' configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt' } +1ms
cypress:server:video capture stderr log { message: ' libavutil 56. 24.101 / 56. 24.101' } +0ms
cypress:server:video capture stderr log { message: ' libavcodec 58. 42.102 / 58. 42.102' } +0ms
cypress:server:video capture stderr log { message: ' libavformat 58. 24.101 / 58. 24.101' } +0ms
cypress:server:video capture stderr log { message: ' libavdevice 58. 6.101 / 58. 6.101' } +0ms
cypress:server:video capture stderr log { message: ' libavfilter 7. 46.101 / 7. 46.101' } +1ms
cypress:server:video capture stderr log { message: ' libswscale 5. 4.100 / 5. 4.100' } +0ms
cypress:server:video capture stderr log { message: ' libswresample 3. 4.100 / 3. 4.100' } +0ms
cypress:server:video capture stderr log { message: ' libpostproc 55. 4.100 / 55. 4.100' } +0ms
cypress:server:browsers browser opened +341ms
cypress:server:routes Serving Cypress front-end by requested URL: /__/ +0ms
cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:19899', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:19900' } +2s
cypress:server:runner serving runner index.html with config { version: '3.3.2', platform: 'win32', arch: 'x64', projectName: 'cyptest' } +0ms
cypress:server:browsers:electron console message: { column: 17, level: 'info', line: 164182, source: 'console-api', text: '%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools', url: 'http://localhost:19899/__cypress/runner/cypress_runner.js' } +6s
cypress:server:browsers:electron console message: { column: 17, level: 'info', line: 120649, source: 'console-api', text: '%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools', url: 'http://localhost:19899/__cypress/runner/cypress_runner.js' } +1s
cypress:server:server Got CONNECT request from localhost:19899 +5s
cypress:https-proxy Writing browserSocket connection headers { url: 'localhost:19899', headLength: 0, headers: { host: 'localhost:19899', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/3.3.2 Chrome/61.0.3163.100 Electron/2.0.18 Safari/537.36' } } +14s
cypress:https-proxy Got first head bytes { url: 'localhost:19899', head: 'GET /__socket.io/?EIO=3&transport=websocket HTTP/1.1\r\nHost: loca' } +43ms
cypress:server:server HTTPS request does not match URL: https://localhost:19899 with props: null +44ms
cypress:https-proxy Making connection to localhost:19899 +0ms
cypress:https-proxy getting proxy URL { port: 19899, serverPort: 19899, sniPort: 19902, url: 'https://localhost:19899' } +1ms
cypress:network:connect successfully connected { opts: { port: '19899', host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 } +12s
cypress:https-proxy received upstreamSocket callback for request { port: '19899', hostname: 'localhost', err: undefined } +26ms
cypress:server:server Got UPGRADE request from /__socket.io/?EIO=3&transport=websocket +32ms
cypress:server:socket socket connected +0ms
cypress:server:browsers:electron console message: { column: 15, level: 'error', line: 98613, source: 'console-api', text: 'Warning: Failed prop type: The prop `config.browsers` is marked as required in `App`, but its value is `undefined`.\n in App (created by Container)\n in Container', url: 'http://localhost:19899/__cypress/runner/cypress_runner.js' } +360ms
cypress:server:run got socket connection { id: 'rk02g' } +9s
cypress:server:browsers:electron console message: { column: 32, level: 'log', line: 174050, source: 'console-api', text: 'console.clear', url: 'http://localhost:19899/__cypress/runner/cypress_runner.js' } +2s
cypress:server:socket watch test file 'integration\\examples\\dashboard.spec.js' +2s
cypress:server:socket will watch test file path 'cypress\\integration\\examples\\dashboard.spec.js' +0ms
cypress:server:preprocessor getFile C:\Program Files\nodejs\cyptest\cypress\integration\examples\dashboard.spec.js +0ms
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\integration\examples\dashboard.spec.js +16s
cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: false } +9s
cypress:server:preprocessor set default preprocessor +3ms
cypress:browserify received user options: {} +0ms
cypress:server:plugins register event 'file:preprocessor' +12s
cypress:server:plugins execute plugin event 'file:preprocessor' with args: EventEmitter { domain: null, _events: { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\integration\\examples\\dashboard.spec.js', shouldWatch: false, outputPath: 'C:\\Users\\ahmed.bilal\\AppData\\Roaming\\Cypress\\cy\\production\\projects\\cyptest-808fc23340fa1acd2469216fbb66d69e\\bundles\\cypress\\integration\\examples\\dashboard.spec.js' } undefined undefined +1ms
cypress:browserify get: C:\Program Files\nodejs\cyptest\cypress\integration\examples\dashboard.spec.js +48ms
cypress:browserify input: C:\Program Files\nodejs\cyptest\cypress\integration\examples\dashboard.spec.js +0ms
cypress:browserify output: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\integration\examples\dashboard.spec.js +0ms
cypress:browserify browserifyOptions { extensions: [ '.js', '.jsx', '.coffee', '.cjsx' ], transform: [ [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\resources\\app\\packages\\server\\node_modules\\@cypress\\browserify-preprocessor\\cjsxify.js', {} ], [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\resources\\app\\packages\\server\\node_modules\\babelify\\index.js', [Object] ] ], plugin: [], cache: {}, packageCache: {}, entries: [ 'C:\\Program Files\\nodejs\\cyptest\\cypress\\integration\\examples\\dashboard.spec.js' ] }: +0ms
cypress:browserify making bundle C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\integration\examples\dashboard.spec.js +51ms
cypress:server:video capture stderr log { message: '[mjpeg @ 0000019cff7dd1c0] EOI missing, emulating' } +30s
cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:19899', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:19900' } +23s
cypress:browserify finished bundling: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\integration\examples\dashboard.spec.js +9s
cypress:server:controllers:spec request for { spec: 'cypress\\support\\index.js' } +0ms
cypress:server:preprocessor getFile C:\Program Files\nodejs\cyptest\cypress\support\index.js +21s
cypress:server:appdata path: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\support\index.js +21s
cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +9s
cypress:server:plugins execute plugin event 'file:preprocessor' with args: EventEmitter { domain: null, _events: { rerun: [Function] }, _eventsCount: 1, _maxListeners: undefined, filePath: 'C:\\Program Files\\nodejs\\cyptest\\cypress\\support\\index.js', shouldWatch: false, outputPath: 'C:\\Users\\ahmed.bilal\\AppData\\Roaming\\Cypress\\cy\\production\\projects\\cyptest-808fc23340fa1acd2469216fbb66d69e\\bundles\\cypress\\support\\index.js' } undefined undefined +1ms
cypress:browserify get: C:\Program Files\nodejs\cyptest\cypress\support\index.js +96ms
cypress:browserify input: C:\Program Files\nodejs\cyptest\cypress\support\index.js +0ms
cypress:browserify output: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\support\index.js +0ms
cypress:browserify browserifyOptions { extensions: [ '.js', '.jsx', '.coffee', '.cjsx' ], transform: [ [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\resources\\app\\packages\\server\\node_modules\\@cypress\\browserify-preprocessor\\cjsxify.js', [Object] ], [ 'C:\\Users\\ahmed.bilal\\AppData\\Local\\Cypress\\Cache\\3.3.2\\Cypress\\resources\\app\\packages\\server\\node_modules\\babelify\\index.js', [Object] ] ], plugin: [], cache: {}, packageCache: {}, entries: [ 'C:\\Program Files\\nodejs\\cyptest\\cypress\\support\\index.js' ] }: +0ms
cypress:server:controllers:spec request for { spec: 'cypress\\integration\\examples\\dashboard.spec.js' } +9ms
cypress:server:preprocessor getFile C:\Program Files\nodejs\cyptest\cypress\integration\examples\dashboard.spec.js +9ms
cypress:server:plugins plugin event registered? { event: 'file:preprocessor', isRegistered: true } +8ms
cypress:server:preprocessor headless and already processed +0ms
cypress:server:controllers:spec sending spec { filePath: 'C:\\Users\\ahmed.bilal\\AppData\\Roaming\\Cypress\\cy\\production\\projects\\cyptest-808fc23340fa1acd2469216fbb66d69e\\bundles\\cypress\\integration\\examples\\dashboard.spec.js' } +1ms
cypress:browserify making bundle C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\support\index.js +11ms
cypress:browserify finished bundling: C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\projects\cyptest-808fc23340fa1acd2469216fbb66d69e\bundles\cypress\support\index.js +592ms
cypress:server:controllers:spec sending spec { filePath: 'C:\\Users\\ahmed.bilal\\AppData\\Roaming\\Cypress\\cy\\production\\projects\\cyptest-808fc23340fa1acd2469216fbb66d69e\\bundles\\cypress\\support\\index.js' } +595ms
cypress:server:project received runnables { id: 'r1', title: '', root: true, type: 'suite', tests: [], suites: [ { id: 'r2', title: 'Dashboard Test', root: false, type: 'suite', tests: [Array], suites: [] } ] } +31s
cypress:server:reporter trying to load reporter: spec +38s
cypress:server:reporter spec is Mocha reporter +0ms
cypress:server:project onMocha start +95ms
cypress:server:reporter got mocha event 'start' with args: [ { start: '2019-07-10T08:05:16.391Z' } ] +93ms
cypress:server:project onMocha suite +50ms
cypress:server:reporter got mocha event 'suite' with args: [ { id: 'r1', title: '', root: true, type: 'suite' } ] +50ms
cypress:server:project onMocha suite +82ms
cypress:server:reporter got mocha event 'suite' with args: [ { id: 'r2', title: 'Dashboard Test', root: false, type: 'suite' } ] +82ms
Dashboard Test
cypress:server:project onMocha test +31ms
cypress:server:reporter got mocha event 'test' with args: [ { id: 'r3', title: 'Navigate to Dashboard', body: 'function () {\n cy.viewport(1280, 720);\n cy.visit(\'https://test.iq.como.cloud/\'); // cy.contains(\'type\').click()\n\n cy.get(\'h1\').contains(\'Welcome\');\n cy.url().should(\'include\', \'cloud\'); //cy.get(\'\')\n\n cy.get(\'#email\').type(\'test@test.com\');\n cy.get(\'#password\').type(\'qwerty\');\n cy.get(\'.btn\').click();\n cy.screenshot();\n }', type: 'test' } ] +31ms
cypress:server:socket automation:request get:cookies { domain: 'localhost' } +22s
cypress:server:cookies getting:cookies { domain: 'localhost' } +0ms
cypress:server:cookies received get:cookies [] +28ms
cypress:server:socket backend:request { eventName: 'resolve:url', args: [ 'https://test.iq.como.cloud/', { auth: null, failOnStatusCode: true, retryOnNetworkFailure: true, retryOnStatusCodeFailure: false, method: 'GET', body: null, headers: {}, timeout: 30000 } ] } +312ms
cypress:server:server resolving visit { url: 'https://test.iq.como.cloud/', headers: { host: 'localhost:19899', connection: 'Upgrade', pragma: 'no-cache', 'cache-control': 'no-cache', upgrade: 'websocket', origin: 'http://localhost:19899', 'sec-websocket-version': '13', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/3.3.2 Chrome/61.0.3163.100 Electron/2.0.18 Safari/537.36', 'accept-encoding': 'gzip, deflate', 'accept-language': 'en-US', 'sec-websocket-key': 'Lg7nvkMD6Pp73+2zW8yM/g==', 'sec-websocket-extensions': 'permessage-deflate; client_max_window_bits' }, options: { auth: null, failOnStatusCode: true, retryOnNetworkFailure: true, retryOnStatusCodeFailure: false, method: 'GET', body: null, headers: {}, timeout: 30000 } } +1s
cypress:server:server Getting remote state: { auth: undefined, props: null, origin: 'http://localhost:19899', strategy: 'file', visiting: undefined, domainName: 'localhost', fileServer: 'http://localhost:19900' } +2ms
cypress:server:server sending request with options { auth: null, failOnStatusCode: true, retryOnNetworkFailure: true, retryOnStatusCodeFailure: false, method: 'GET', body: null, headers: { accept: 'text/html,*/*' }, timeout: 30000, gzip: false, url: 'https://test.iq.como.cloud/', onBeforeReqInit: [Function: runPhase], followRedirect: [Function: followRedirect] } +3ms
cypress:server:cookies getting:cookies { url: 'https://test.iq.como.cloud/' } +292ms
cypress:server:cookies received get:cookies [] +0ms
cypress:server:request sending request as stream { auth: null, failOnStatusCode: true, retryOnNetworkFailure: true, retryOnStatusCodeFailure: false, method: 'GET', body: null, headers: { accept: 'text/html,*/*', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/3.3.2 Chrome/61.0.3163.100 Electron/2.0.18 Safari/537.36' }, timeout: 30000, gzip: false, url: 'https://test.iq.como.cloud/', onBeforeReqInit: [Function: runPhase] } +0ms
cypress:network:agent addRequest called { isHttps: true, href: 'https://test.iq.como.cloud/' } +35s
cypress:network:connect beginning getAddress { hostname: 'test.iq.como.cloud', port: 443 } +25s
cypress:network:connect got addresses { hostname: 'test.iq.como.cloud', port: 443, addresses: [ { address: '88.207.209.182', family: 4 } ] } +523ms
cypress:network:agent got family { family: 4, href: 'https://test.iq.como.cloud/' } +718ms
cypress:server:request received status code on request { requestId: 'request1', statusCode: 200 } +2s
cypress:server:request successful response received { requestId: 'request1' } +0ms
cypress:server:server resolve:url headers received, buffering response { headers: { server: 'nginx/1.10.3 (Ubuntu)', date: 'Wed, 10 Jul 2019 08:10:09 GMT', 'content-type': 'text/html', 'content-length': '3606', connection: 'keep-alive', 'last-modified': 'Tue, 02 Jul 2019 09:10:11 GMT', etag: '"5d1b1f73-e16"', 'cache-control': 'public, max-age=315360000', 'x-content-type-options': 'nosniff', 'x-xss-protection': '1; mode=block', 'x-frame-options': 'SAMEORIGIN', 'access-control-allow-origin': 'https://www.rci.dp.como-um.com', vary: 'Origin', 'accept-ranges': 'bytes' }, statusCode: 200 } +2s
cypress:server:request setting request jar cookies [] +5ms
cypress:server:server setting details resolving url { isOkStatusCode: true, contentType: 'text/html', url: 'https://test.iq.como.cloud/', status: 200, cookies: [], statusText: 'OK', redirects: [], originalUrl: 'https://test.iq.como.cloud/' } +13ms
cypress:server:server resolve:url response ended, setting buffer { newUrl: 'https://test.iq.como.cloud/', details: { isOkStatusCode: true, contentType: 'text/html', url: 'https://test.iq.como.cloud/', status: 200, cookies: [], statusText: 'OK', redirects: [], originalUrl: 'https://test.iq.como.cloud/', isHtml: true } } +4ms
cypress:server:server Setting remoteAuth null +1ms
cypress:server:cors Parsed URL { port: '443', tld: 'cloud', domain: 'como' } +0ms
cypress:server:server Setting remoteOrigin https://test.iq.como.cloud +54ms
cypress:server:server Setting remoteHostAndPort { port: '443', tld: 'cloud', domain: 'como' } +0ms
cypress:server:server Setting remoteDocDomain como.cloud +0ms
cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'cloud', domain: 'como' }, origin: 'https://test.iq.como.cloud', strategy: 'http', visiting: false, domainName: 'como.cloud', fileServer: null } +0ms
cypress:server:socket backend:request { eventName: 'preserve:run:state', args: [ { currentId: 'r3', tests: {}, startTime: '2019-07-10T08:05:16.386Z', emissions: [Object], passed: 0, failed: 0, pending: 0, numLogs: 0, autoScrollingEnabled: true, scrollTop: 0 } ] } +2s
cypress:server:video capture stderr log { message: 'Input #0, image2pipe, from \'pipe:0\':' } +4s
cypress:server:video capture stderr log { message: ' Duration: N/A, start: 1562745888.680000, bitrate: N/A' } +0ms
cypress:server:video capture stderr log { message: ' Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1280x687 [SAR 1:1 DAR 1280:687], 25 fps, 25 tbr, 25 tbn, 25 tbc' } +62ms
cypress:server:video capture stderr log { message: 'Stream mapping:' } +32ms
cypress:server:video capture codec data: { format: 'image2pipe', audio: '', video: 'mjpeg (Baseline)', duration: 'N/A', video_details: [ 'mjpeg (Baseline)', 'yuvj420p(pc', 'bt470bg/unknown/unknown)', '1280x687 [SAR 1:1 DAR 1280:687]', '25 fps', '25 tbr', '25 tbn', '25 tbc' ] } +0ms
cypress:server:video capture stderr log { message: ' Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))' } +0ms
cypress:server:video capture stderr log { message: '[libx264 @ 0000019cff7d3b80] height not divisible by 2 (1280x687)' } +201ms
cypress:server:video capture stderr log { message: 'Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height' } +1ms
cypress:server:video capture stderr log { message: 'Conversion failed!' } +8ms
cypress:server:video capture stderr log { message: '' } +117ms
cypress:server:video capture errored: { error: 'ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\nConversion failed!\n', stdout: '', stderr: 'ffmpeg version N-92722-gf22fcd4483 Copyright (c) 2000-2018 the FFmpeg developers\n built with gcc 8.2.1 (GCC) 20181201\n configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt\n libavutil 56. 24.101 / 56. 24.101\n libavcodec 58. 42.102 / 58. 42.102\n libavformat 58. 24.101 / 58. 24.101\n libavdevice 58. 6.101 / 58. 6.101\n libavfilter 7. 46.101 / 7. 46.101\n libswscale 5. 4.100 / 5. 4.100\n libswresample 3. 4.100 / 3. 4.100\n libpostproc 55. 4.100 / 55. 4.100\n[mjpeg @ 0000019cff7dd1c0] EOI missing, emulating\nInput #0, image2pipe, from \'pipe:0\':\n Duration: N/A, start: 1562745888.680000, bitrate: N/A\n Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1280x687 [SAR 1:1 DAR 1280:687], 25 fps, 25 tbr, 25 tbn, 25 tbc\nStream mapping:\n Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))\n[libx264 @ 0000019cff7d3b80] height not divisible by 2 (1280x687)\nError initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\nConversion failed!\n' } +7ms
Warning: We failed to record the video.
This error will not alter the exit code.
Error: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
at ChildProcess.<anonymous> (C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\resources\app\packages\server\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
cypress:server:file get values from C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +0ms
cypress:server:file attempt to get lock on C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +0ms
cypress:server:server Got CONNECT request from test.iq.como.cloud:443 +887ms
cypress:https-proxy Writing browserSocket connection headers { url: 'test.iq.como.cloud:443', headLength: 0, headers: { host: 'test.iq.como.cloud:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/3.3.2 Chrome/61.0.3163.100 Electron/2.0.18 Safari/537.36' } } +27s
cypress:https-proxy Got first head bytes { url: 'test.iq.como.cloud:443', head: '\u0016\u0003\u0001\u0000�\u0001\u0000\u0000�\u0003\u0003ڝKbwɤàuaI��/��sߝ{\u001c��ߧ�e�\u00020Z\u0000\u0000\u001c���+�/�,�0̨̩�\u0013�\u0014\u0000�\u0000�\u0000/\u0000' } +4ms
cypress:server:cors Parsed URL { port: '443', tld: 'cloud', domain: 'como' } +893ms
cypress:server:server HTTPS request does match URL: https://test.iq.como.cloud:443 with props: { port: '443', tld: 'cloud', domain: 'como' } +5ms
cypress:https-proxy Not making direct connection { url: 'test.iq.como.cloud:443' } +1ms
cypress:server:file gettin lock succeeded or failed for C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +15ms
cypress:server:file read C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +0ms
cypress:server:file read succeeded or failed for C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +5ms
cypress:server:file attempt to unlock C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +0ms
cypress:server:file unlock succeeded or failed for C:\Users\ahmed.bilal\AppData\Roaming\Cypress\cy\production\cache +1ms
cypress:server:api request to url: POST https://api.cypress.io/exceptions with params: {"body":{"err":{"name":"Error","message":"ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\nConversion failed!\n","stack":"Error: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\nConversion failed!\n\n at ChildProcess.<anonymous> (<stripped-path>processor.js:182:22)\n at emitTwo (events.js:126:13)\n at ChildProcess.emit (events.js:214:7)\n at Process.ChildProcess._handle.onexit (internal<stripped-path>child_process.js:198:12)\n"},"version":"3.3.2","osName":"win32","osVersion":"10.0.17134","osCpus":[{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7457968,"nice":0,"sys":7972937,"idle":36828765,"irq":429015}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7469937,"nice":0,"sys":6903171,"idle":37886343,"irq":150750}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7586734,"nice":0,"sys":7887578,"idle":36785156,"irq":59859}},{"model":"Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz","speed":2195,"times":{"user":7366640,"nice":0,"sys":7658140,"idle":37234640,"irq":52906}}],"osMemory":{"free":1651200000,"total":8475750400}},"headers":{"x-os-name":"win32","x-cypress-version":"3.3.2"}} +36s
cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/exceptions' } +2s
cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/exceptions' } +1ms
cypress:https-proxy Making intercepted connection to 19902 +82ms
cypress:https-proxy getting proxy URL { port: 19902, serverPort: 19899, sniPort: 19902, url: 'https://localhost:19902' } +0ms
cypress:network:connect successfully connected { opts: { port: 19902, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 } +2s
cypress:https-proxy received upstreamSocket callback for request { port: 19902, hostname: 'localhost', err: undefined } +2ms
cypress:server:server Got CONNECT request from test.iq.como.cloud:443 +314ms
cypress:https-proxy Writing browserSocket connection headers { url: 'test.iq.como.cloud:443', headLength: 0, headers: { host: 'test.iq.como.cloud:443', 'proxy-connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/3.3.2 Chrome/61.0.3163.100 Electron/2.0.18 Safari/537.36' } } +231ms
cypress:https-proxy Got first head bytes { url: 'test.iq.como.cloud:443', head: '\u0016\u0003\u0001\u0000�\u0001\u0000\u0000�\u0003\u0003�&\u0000�\u0014�!���\u001bb\u0003_[J�fk���\u0012�\u00187�\'�a�\u0000\u0000\u001c���+�/�,�0̨̩�\u0013�\u0014\u0000�\u0000' } +2ms
cypress:server:cors Parsed URL { port: '443', tld: 'cloud', domain: 'como' } +318ms
cypress:server:server HTTPS request does match URL: https://test.iq.como.cloud:443 with props: { port: '443', tld: 'cloud', domain: 'como' } +5ms
cypress:https-proxy Not making direct connection { url: 'test.iq.como.cloud:443' } +3ms
cypress:https-proxy Making intercepted connection to 19902 +0ms
cypress:https-proxy getting proxy URL { port: 19902, serverPort: 19899, sniPort: 19902, url: 'https://localhost:19902' } +0ms
cypress:network:connect successfully connected { opts: { port: 19902, host: 'localhost', getDelayMsForRetry: [Function: getDelayForRetry] }, iteration: 0 } +409ms
cypress:https-proxy received upstreamSocket callback for request { port: 19902, hostname: 'localhost', err: undefined } +174ms
cypress:server:routes Serving Cypress front-end by requested URL: /__/ +33s
cypress:server:server Getting remote state: { auth: null, props: { port: '443', tld: 'cloud', domain: 'como' }, origin: 'https://test.iq.como.cloud', strategy: 'http', visiting: false, domainName: 'como.cloud', fileServer: null } +197ms
cypress:server:runner serving runner index.html with config { version: '3.3.2', platform: 'win32', arch: 'x64', projectName: 'cyptest' } +33s
cypress:server:api response 'OK' +968ms
{ Error: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
at ChildProcess.<anonymous> (C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\resources\app\packages\server\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
recordingVideoFailed: true }
Error: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
at ChildProcess.<anonymous> (C:\Users\ahmed.bilal\AppData\Local\Cypress\Cache\3.3.2\Cypress\resources\app\packages\server\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
cypress:server:browsers killing browser process +35s
C:\Program Files\nodejs\cyptest>
})
Please note that Test get executed successfully when i set "video": False in cypress.json. I am a newbie to cypress and in learning phase. :(
The text was updated successfully, but these errors were encountered:
Hi,
I am running test over CI in headless mode. The Test start and after few min end with an error .
I have tried to implement all possible solution related to this issue found over github, but still could not able to solve this :(. Following are the require detail.
Test code
I even tried to run with our without
cy.viewport()
but all in vain.Debug logs
Please note that Test get executed successfully when i set
"video": False
incypress.json
. I am a newbie to cypress and in learning phase. :(The text was updated successfully, but these errors were encountered: