Closed LeandroTorresSicilia closed 9 months ago
Having the exact same issue. It was running fine yesterday. With no changes at all to the setup, today it is having this problem. I tried orb version 3.2.0 and 3.1.4, same result
I experience the same issue yesterday with chrome 120
https://github.com/CircleCI-Public/browser-tools-orb/releases/tag/v1.4.6 solves a related issue, so I would suggest that https://github.com/cypress-io/circleci-orb/blob/0aa1d98771c497bc17d5be3def522a2ab5f88013/src/%40orb.yml#L10-L13 be updated to the latest version (1.4.6
) and tested.
Although it probably will not solve this issue, if there is a remaining problem, it can then be reported as an issue to https://github.com/CircleCI-Public/browser-tools-orb/issues for investigation.
@LeandroTorresSicilia
According to https://googlechromelabs.github.io/chrome-for-testing/latest-versions-per-milestone.json I would expect that ChromeDriver for version 120
would be installed:
"120": {
"milestone": "120",
"version": "120.0.6099.71",
"revision": "1217362"
},
but it seems like it is trying to install ChromeDriver for version 119
instead:
"119": {
"milestone": "119",
"version": "119.0.6045.105",
"revision": "1204232"
},
Created PR #447 to fix this
For the time being I was able to workaround this issue by changing my executor and setting install-browsers
to false
:
jobs:
e2e-tests:
docker:
- image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
resource_class: large
steps:
# Configuration omitted for brevity...
- cypress/install:
install-browsers: false
My project happens to be using Node 16, but other docker images are available: https://hub.docker.com/r/cypress/browsers
This is happening for me to, relevant convo https://github.com/CircleCI-Public/browser-tools-orb/issues/75#issuecomment-1854845485
@jennifer-shehane
Can I check with you if there will be a new release of CircleCI?
The current release is v3.2.0 from Sep 26, 2023.
PR https://github.com/cypress-io/circleci-orb/pull/449#issuecomment-1857184233 fixes the issue here, however the fix has not been released, so the fix is not effective so far. It affects CircleCI workflows like cypress-io/cypress-example-kitchensink > .circleci/config.yml which for instance use install-browsers: true
in their workflow. The cypress-example-kitchensink
workflow has been failing with the error reported here (see below for details). This relates to the (currently) latest Google Chrome stable channel update from Dec 12, 2023.
The above PR would need to be released and as far as I understand it, this would be done by following the steps in CONTRIBUTING > Releasing and those steps would need to be carried out by somebody from the Cypress.io team with corresponding access privileges to CircleCI.
Error log from cypress-example-kitchensink
Chrome version major is 120
Installed version of Google Chrome is 120.0.6099.109
404
Matching Chrome Driver Version 404'd, falling back to first matching major version.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 789 100 789 0 0 11843 0 --:--:-- --:--:-- --:--:-- 11954
New ChromeDriver version to be installed: 1204232
1204232 will be installed
curl: (22) The requested URL returned error: 404
Exited with code exit status 22
@MikeMcC399 Looking into this now
@jennifer-shehane Thank you! Given that this is a recurring issue (not releasing the latest merge), could we find a way to address this through automation?
Happened here as well https://github.com/cypress-io/circleci-orb/issues/441
The release is out for 3.2.1: https://circleci.com/developer/orbs/orb/cypress-io/cypress
@sedghi It is super annoying. We'd be open to suggestions on how to better automate this, but we don't have time to dedicate to this atm.
This has fixed the Chromedriver error I was seeing on one of our projects, so seems to be fixed
Previously failing workflow now successfully shows:
Chrome version major is 120
Installed version of Google Chrome is 120.0.6099.109
404
Matching Chrome Driver Version 404'd, falling back to first matching major version.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 790 100 790 0 0 12261 0 --:--:-- --:--:-- --:--:-- 12343
New ChromeDriver version to be installed: 120.0.6099.109
120.0.6099.109 will be installed
^@^@ChromeDriver 120.0.6099.109 (3419140ab665596f21b385ce136419fde0924272-refs/branch-heads/6099@{#1483}) has been installed to /usr/local/bin/chromedriver
Please update to cypress' 3.3.1 orb to get this fix: https://github.com/cypress-io/circleci-orb/releases/tag/v3.3.1
The orb does not work as expected
circle.yml
file if possible or at least the relevant portionorbs: node: circleci/node@5.1.0 cypress: cypress-io/cypress@3.2.0
jobs: lint_and_test: docker:
run: yarn test-ci
deploy: docker:
workflows: test_and_deploy: jobs: