Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cypress 9.1 seems to not be reporting to dashboard #19087

Closed
Jacek-fstack opened this issue Nov 24, 2021 · 22 comments · Fixed by #19239
Closed

Cypress 9.1 seems to not be reporting to dashboard #19087

Jacek-fstack opened this issue Nov 24, 2021 · 22 comments · Fixed by #19239
Assignees

Comments

@Jacek-fstack
Copy link

Jacek-fstack commented Nov 24, 2021

Current behavior

I'm not sure if I'm the only one with the issue, but 9.0 works fine, but 9.1 does not report to dashboard (batch build@codebuild if that matters) and throws

The run started, but never completed. This can happen when the run is canceled from CI or when Cypress crashes during running tests.

Check your Awscodebuild logs for more information. Archive this run to remove it from the runs list and analytics.

Desired behavior

No response

Test code to reproduce

Run batch build @ 9.1 on Codebuild

Cypress Version

9.1

Other

No response

@allie-VT
Copy link

I am experiencing this issue with Cypress 9.1 as well. My tests complete in Buildkite and I can see the results in the console there, but the Cypress dashboard continues to say 'In Progress' until it eventually just times out.

@Adhersan11
Copy link

Experiencing exact same behavior in Jenkins starting from Cypress 9.1.0. The tests are completed in the Job Console but never moved from 'In Progress' in the Dashboard.

@zaq42
Copy link

zaq42 commented Nov 25, 2021

Confirming the same behaviour. Running cypress locally with --record. After upgrading to 9.1.0, runs completed locally, but dashboard timed out (eventually) with the message quoted in the OP.

Rolled back to Cypress 9.0.0 and it worked as expected.

(FYI, Bitbucket integration is enabled)

@SanderMeesterIndepender

Same issue here. Using AzureDevops with a windows agent. 9.0.0 works fine, 9.1.0 does no longer report to the dashboard (no errors whatsoever in the console log)

@sharpar
Copy link

sharpar commented Nov 25, 2021

Experiencing the same issue. Test results are not reported when running locally or with GitHub integration. The runs exist but all of them timeout. Dropping to v9.0.0 fixed the issue.

@viktorgogulenko
Copy link

Great that I've found this ticket as I was trying to understand why our builds on dashboard started to timeout with still running tests, but logs clearly showing that tests were actually executed. And also with version 9.1.0.

@Jacek-fstack
Copy link
Author

Any response from devs?

@GazzaHazza
Copy link

I have downgraded to v9.0.0 and still just hangs. A fix or some kind of idea when a fix is going in would be great.

@mncharlton
Copy link
Contributor

Same issue here with 9.1.0 not reporting into the dashboard, downgrading to 9.0.0 seems to have fixed it.

@dmitry
Copy link

dmitry commented Nov 30, 2021

@jennifer-shehane can you please check this issue, as a paid customer I cannot use dashboard at the moment because of the 9.1.0 has a problem, and it's a bit challenging to make a revert to the previous version, plus everytime I push the changes it adds test results to the billing without actually showing the results.

@lounsbrough
Copy link

Same issue for us, downgrading to 9.0.0 resolves the issue.

@chrisbreiding
Copy link
Contributor

The Cypress team is currently investigating this issue.

@jennifer-shehane
Copy link
Member

There is a fix that was deployed to the Dashboard that should fix runs being recorded going forward, even when using Cypress 9.1.0.

We're investigating the 9.1.0 release to further isolate how this was introduced.

Please notify us of any further issues with test recordings and 9.1.0 in this thread.

@zaq42
Copy link

zaq42 commented Dec 1, 2021

Thanks for the update.

I've tried again on 9.1.0 and it behaves properly.

@tkharuk
Copy link

tkharuk commented Dec 1, 2021

Problem remains for me on Dashboard.

Screenshot 2021-12-01 at 10 38 17 AM

npx cypress version
Cypress package version: 9.1.0
Cypress binary version: 9.1.0
Electron version: 15.2.0
Bundled Node version: 16.5.0

CircleCI (maybe this is the issue?)

cypress/base:12

Not sure whether relevant or not:

[244:1201/081204.273686:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

@jennifer-shehane
Copy link
Member

@tkharuk This does not look related to the original issue logged.

@tkharuk
Copy link

tkharuk commented Dec 1, 2021

@jennifer-shehane you are right. In a rush I've read title only 😞

@viktorgogulenko
Copy link

viktorgogulenko commented Dec 3, 2021

Seems now we have the same issue also with v9.0 as well (we downgraded from 9.1 to resolve a problem). Was something changed from dashboard side? Or we need to upgrade to 9.1 now?

@chrisbreiding
Copy link
Contributor

builds on dashboard started to timeout with still running tests

@viktorgogulenko Sounds like a different issue. This issue involves the test runs finishing in CI but reporting as having hung in the Dashboard.

@viktorgogulenko
Copy link

@chrisbreiding so what I've seen is that our bamboo jobs (CI) were successfully finishing, but dashboard was showing that few tests are still running. After some time dashboard was going to the timeout state. As FYI - our CI is checking dashboard using dashboard REST API and from that side it's giving 'success' response, but dashboard is still showing that something is happening on it. That was happening with 9.1 and we downgraded it to 9.0 - issue was gone, but today one of our builds again became green while dashboard was still showing that some test is running and seems after one our dashboard shown this test run as timeout happened.

@cypress-bot cypress-bot bot removed the stage: needs review The PR code is done & tested, needs review label Dec 3, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 3, 2021

The code for this is done in cypress-io/cypress#19239, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 4, 2021

Released in 9.1.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.1.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Dec 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.