-
Notifications
You must be signed in to change notification settings - Fork 347
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
CI: Sporadic failures in example-firefox #659
Comments
Related issuesCypress v9v9 (9.6.1) errors sometimes with the following. See 6185401336 for log.
The issue is reproducible locally with Cypress 9.6.1 under Ubuntu 20.04 with The problem is still reproducible with Cypress 9.7.0 under Ubuntu 20.04 Edit: @nagash77 wrote in cypress-io/cypress#23215 (comment) "we currently do not backport fixes to older versions of Cypress." so there is no basis to believe that this issue would be reopened and resolved. Therefore the assumption has to be that the test will never work reliably. Cypress v10v10 (10.0.0) errors sometimes with the following. See 6056300428 for log.
I could not reproduce this issue locally with Cypress 10.0.0 under Ubuntu 20.04 with |
SuggestionSummaryDisable Firefox v9 test. Leave Firefox v10 test enabled. DetailsSince the Firefox issue cypress-io/cypress#23215 on Cypress v9 is reproducible on a local system, even with the latest Cypress 9.7.0 of the 9.x series together with the latest Ubuntu LTS (22.04) and Node.js 18 LTS, there is little hope that it can run reliably under GHA. I assume also that there will not be a Cypress 9.x fix found and released. So I suggest to disable the v9 example-firefox test, for instance by adding I also looked at the possibility of using The Firefox test using Cypress 10.0.0 runs locally with no issue. It seems that connection problems in the Firefox test under v9 may have been affecting the following Firefox test under v10. I was not able to get the v10 Firefox test to fail running under GitHub actions if the v9 test is disabled. It does however sometimes output "Still waiting to connect to Firefox, retrying in 1 second" up to 5 times. This is not improved by using Cypress 12.0.2 instead of Cypress 10.0.0. |
|
I got today's new release of Firefox 108 and tried on Windows 11, with Cypress 9.7.0 (without GHA). If I start a separate instance of Firefox then execute This is an interoperability problem between Cypress 9.7.0 and Firefox 108. I can't say which side of the two connection partners is at fault, but it certainly isn't github-action, since I'm able to reproduce the issue without it. The test script is: /// <reference types="Cypress" />
it('works', () => {
cy.visit('https://example.cypress.io')
}) |
Thanks to @jaffrepaul and @nagash77 for supporting the resolution of this issue! |
Describe the bug
.github/workflows/example-firefox.yml often fails.
Typically the failure logs show:
Possibly also
Bug history
View workflow logs via https://github.com/cypress-io/github-action/actions/workflows/example-firefox.yml?query=branch%3Amaster
version
The workflow has been failing on merges into the
master
branch since November 22, 2022. Problems with merges into other branches have been going on for much longer. Due to log retention policies only recent detailed logs going back 90 days are available. Job 5079650276 from September 26, 2022 is the earliest concrete evidence of the exact same failure with Firefox 104.Steps to reproduce the issue
Open a pull request to trigger a run of .github/workflows/example-firefox.yml
View the results on https://github.com/cypress-io/github-action/actions/workflows/example-firefox.yml
Expected behavior
All sub-tests of .github/workflows/example-firefox.yml should run reliably and succeed.
Comments
I could not find a reason for the unreliable results of .github/workflows/example-firefox.yml so far.
It would be possible to stop the following errors being reported:
firefox
job for v9 (correct the directory)however this does not make the action more reliable.
The text was updated successfully, but these errors were encountered: