-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload CI Result Error: "Cannot complete same instance multiple times" #2469
Comments
Hi, can you include the arguments you used to run cypress? So, flags after This should not happen though. |
@jennifer-shehane > cypress run "--env" "ipList=[\"167.114.174.45\"]" "--record" "--key" "b34e1f4f-b684-4def-92e8-fac7fb98e8c4"
It looks like this is your first time using Cypress: 3.1.0
[02:07:35] Verifying Cypress can run /root/.cache/Cypress/3.1.0/Cypress [started]
[02:07:37] Verifying Cypress can run /root/.cache/Cypress/3.1.0/Cypress [completed]
Opening Cypress...
================================================================================
(Run Starting) |
@HeyDaniyar Are you still encountering this error? I ran a run with the same flag arguments and I do not think that is the problem. Can you share anything more about your Jenkin's setup? |
Hello @jennifer-shehane stage('Testing Install and Run') {
when {
equals expected: "master", actual: env.BRANCH_NAME
}
steps{
script{
docker.image('cypress/base:8').inside('--ipc=host -u root'){
sh("npm install")
sh("npx cypress run --record --key ${usage_key} || true")
}
}
}
post {
failure {
script {
overview.add "Error: Testing Stage"
}
}
}
} |
@jennifer-shehane
because previously I fixed an issue with docker crashes per instructions from here: It fixed the crash itself but the issue of this kind ("Cannot complete same instance multiple times") started to reproduce. As a result, test execution is completed but takes to long: 5h against 31min. |
We've made many improvements to our processes handling recording that should resolve most cases of this error. Please comment in this issue if you see an occurrence of this error in the future and we will reopen the issue. |
Seems like I'm seeing the same error now |
Reopening. We've had a couple of users report this same error again when attempting to record CI results. The API team is investigating. |
Been seeing a similar issue with our environment as well today 😞 |
We released a fix for one of the edge cases that would trigger this. It went out July 24, so hopefully it addressed your issues @sergeyKhristenko and @andy-lindberg! If you continue seeing this failure, would you mind to share your CI logs? Closing this issue pending additional reports. |
HI @trydionel, this issue persists in Cypress 3.6.1
Looks like Windows 10 path issue discussed elsewhere, but the fault appears to lie within Cypress on Windows. Cypress is converting our spec path : We're running:
which expands to:
|
@mhudson We are unaware of an issue involving the Windows path causing this error. We have a lot of Windows users, so if it were the path alone, we would likely have seen it by now. Likely there is something else more specific involved causing this error for your project. Can you email us the |
Our team is currently working to deploy a fix that should address both @mhudson and @sorokosergey errors seeing the "Cannot complete same instance multiple times". I will close this issue as soon as that fix is released. |
Closing as resolved. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Current behavior:
Our
Jenkins CI
job's result cannot not be uploaded to Cypress CI Dashboard.Cypress Dashboard:
Desired behavior:
Normally, the triggered jenkin's job would upload its result to CI dashboard before. But after the CI dashboard uploaded, we cannot make this happened with the
Cannot complete same instance multiple times
error.Versions
Cypress 3.1.0
The text was updated successfully, but these errors were encountered: