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.

Cannot find unclaimed instance for spec

See original GitHub issue

Current behavior:

I got this on the CL. Run do NOT get recorded This run will not be recorded. On the dashboard the run will be labeled as timeout.

screenshot-dashboard cypress io-2020 08 11-15_37_47

Screenshot (43)

Warning: We encountered an error talking to our servers.

This error will not alter the exit code.

StatusCodeError: 400

{
  "message": "Cannot find unclaimed instance for spec: cypress\\integration\\dev-tests\\tests_writing_off.spec.js"
}

Desired behavior:

The run to get recorded

Test code to reproduce

cypress run --record thrugth npm run β€˜custom script’. With any sets of tests.

Versions

Version 4.12.1 Windows 10 Electron 80

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jennifer-shehanecommented, Aug 21, 2020

Our engineering team has released a fix for this issue - of seeing the Cannot find unclaimed instance for spec error when running in Windows OS’s. This fix should be immediate and not require a new version of Cypress.

Please comment here or open a new issue if you continue to see this issue on any new runs that are recorded to the Dashboard.

1reaction
abhijaykumarcommented, Aug 21, 2020

I’m still facing this issue in the latest version of cypress (5.0.0) on Windows. Here is the full log with debug enabled if it helps:

2020-08-21T07:43:14.970Z cypress:server:run formatting Node version. { version: '12.14.1', path: undefined }
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Cypress:    5.0.0                                                                              β”‚
  β”‚ Browser:    Chrome 84 (headless)                                                               β”‚
  β”‚ Specs:      1 found (my-app\my_tests.spec.js)                                   β”‚
  β”‚ Searched:   cypress\integration\my-app\my_tests.spec.js                         β”‚
  β”‚ Params:     Tag: false, Group: false, Parallel: false                                          β”‚
  β”‚ Run URL:    https://dashboard.cypress.io/projects/td8e9s/runs/11                               β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

2020-08-21T07:43:14.970Z cypress:server:record before spec run { spec: { name: 'my-app\\my_tests.spec.js', relative: 'cypress\\integration\\my-app\\my_tests.spec.js', absolute: 'C:/JenkinsHome/workspace/PolicyCenter10Jenkins_master/cypress/integration/my-app/my_tests.spec.js', specType: 'integration' } }
2020-08-21T07:43:14.985Z cypress:server:api request to url: POST https://api.cypress.io/runs/9583660c-c890-44d4-8fa8-26c68c5335ce/instances with params: {"body":{"spec":"cypress\\integration\\my-app\\my_tests.spec.js","groupId":"win32-Chrome-84-93c69e07ce","machineId":"c224efa7-9b3a-4ddf-8c61-11f89e38f2fb","platform":{"osCpus":[{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":5851593,"nice":0,"sys":2067515,"idle":3769855093,"irq":149953}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":8712859,"nice":0,"sys":1822750,"idle":3767238375,"irq":14343}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":9124109,"nice":0,"sys":2004375,"idle":3766645500,"irq":13875}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":7558437,"nice":0,"sys":1720734,"idle":3768494812,"irq":13156}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":6291125,"nice":0,"sys":1436562,"idle":3770046296,"irq":9562}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":6841437,"nice":0,"sys":2701609,"idle":3768230937,"irq":14765}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":6250609,"nice":0,"sys":1780515,"idle":3769742843,"irq":11375}},{"model":"Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz","speed":2300,"times":{"user":5728078,"nice":0,"sys":1528203,"idle":3770517687,"irq":13453}}],"osName":"win32","osMemory":{"free":19789500416,"total":34359328768},"osVersion":"6.3.9600","browserName":"Chrome","browserVersion":"84.0.4147.135"}},"headers":{"x-route-version":"5","x-os-name":"win32","x-cypress-version":"5.0.0"}} and token: undefined
2020-08-21T07:43:14.985Z cypress:network:agent addRequest called { isHttps: true, href: 'https://api.cypress.io/runs/9583660c-c890-44d4-8fa8-26c68c5335ce/instances' }
2020-08-21T07:43:14.985Z cypress:network:agent got family { family: 4, href: 'https://api.cypress.io/runs/9583660c-c890-44d4-8fa8-26c68c5335ce/instances' }
2020-08-21T07:43:15.079Z cypress:server:record failed creating instance { stack: 'StatusCodeError: 400 - {"message":"Cannot find unclaimed instance for spec: cypress\\\\integration\\\\my-app\\\\my_tests.spec.js"}\n' + '    at new StatusCodeError (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\request-promise-core\\lib\\errors.js:32:15)\n' + '    at Request.plumbing.callback (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\request-promise-core\\lib\\plumbing.js:104:33)\n' + '    at Request.RP$callback [as _callback] (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n' + '    at Request.self.callback (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\@cypress\\request\\request.js:185:22)\n' + '    at Request.emit (events.js:223:5)\n' + '    at Request.<anonymous> (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\@cypress\\request\\request.js:1156:10)\n' + '    at Request.emit (events.js:223:5)\n' + '    at IncomingMessage.<anonymous> (C:\\Users\\Administrator\\AppData\\Local\\Cypress\\Cache\\5.0.0\\Cypress\\resources\\app\\packages\\server\\node_modules\\@cypress\\request\\request.js:1078:12)\n' + '    at Object.onceWrapper (events.js:312:28)\n' + '    at IncomingMessage.emit (events.js:228:7)\n' + '    at endReadableNT (_stream_readable.js:1185:12)\n' + '    at processTicksAndRejections (internal/process/task_queues.js:81:21)\n' }
Warning: We encountered an error talking to our servers.

This run will not be recorded.

This error will not alter the exit code.

StatusCodeError: 400

{
  "message": "Cannot find unclaimed instance for spec: cypress\\integration\\my-app\\my_tests.spec.js"
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Find Unclaimed Property and Money - The Military Wallet
Billions of dollars of money & property sit unclaimed in state vaults. Find out how to search these reserves for free to find...
Read more >
Missing / No Known Heirs General Information
Attention: Special Projects Unit ... If estates monies with missing or no known heirs remain unclaimed within one year of ... Unclaimed Property...
Read more >
California unclaimed property: How to search for ... - KCRA
Do you have unclaimed money in California? Check to see if you're owed money or valuables and learn how to claim it with...
Read more >
How to Claim Your Unclaimed Money - Credit Karma
In some cases, if you're owed more than $1,000 and can't file online, you may need to print the claim form and get...
Read more >
1 in 10 Americans has missing money, here's how to claim yours
One in 10 Americans has unclaimed money, from missing bank accounts and paychecks, or money they never knew they had.
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