-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Test Replay - Failed Capturing - `GLIBC_2.29' not found (better-sqlite3) #27902
Comments
Could you say exactly which operating system name and operating system version your CI is running under? It looks like it must be a Linux variant. In the issue form I read "N/A" under Operating System. |
@MikeMcC399 thank you for your quick response. |
"slim" is not enough to identify the operating system. It usually means that it is a minimum configuration of an operating system, however it doesn't say which one. An example of an operating system name is "Ubuntu" with version number "22.04.3 LTS" Please check that you are running one of the operating systems supported by Cypress according to the documentation listed under System requirements. Which CI system are you running on? Typical CI systems which Cypress Cloud provides templates for are shown below. CI Provider Examples gives some other CI systems which are also used with Cypress Cloud. |
There's some guidance for CentOS Linux 7 users in our docs, we've typically found that is the case when this error is encountered. https://docs.cypress.io/guides/cloud/test-replay#Troubleshooting |
Were you able to find out your exact operating system? You may be able to see it listed in the logs of a test run or by executing npx cypress info You can find an example on
|
@jennifer-shehane @MikeMcC399 |
Facing the same issue on Ubuntu 18, Cypress 13.3.0.
|
This is actually about opening Cypress #27920 |
Thank you for your response!
I also want to ask a beginner question make sure I understand correctly. Does the choice of Docker image determine the system operation? It's a bit strange. |
If you are using a Docker image then you could update to a more recent one from https://hub.docker.com/r/cypress/browsers, such as docker pull cypress/browsers:node-18.15.0-chrome-106.0.5249.61-1-ff-99.0.1-edge-114.0.1823.51-1 depending on your needs.
|
Hi, Error suddenly appeared on "nighlty" run on CircleCI
config.yml: docker:
- image: 'cypress/base:16.13.2'
steps:
- jq/install
... Attempt to upgrade to latest
|
|
Running into a similar issue on the latest node image for Debian Buster (node:20.7.0-buster)
I suppose that's because Buster ships glibc 2.28. Has Cypress dropped support for that Debian version? |
@MikeMcC399 I'm facing the same issue:
And it started happening after a couple of days after an upgrade on a nightly run. the |
@tkharuk same here, it built fine yesterday but CI broke today (with locked dependencies in yarn.lock so deps shouldn't have changed). Sounds like they are pulling down binaries dynamically? |
@BernhardPosselt same here, was working fine yesterday morning, now failing Please revert whatever change was made! |
I have to pass on answering your question as I am just a community contributor and I'm not part of the Cypress engineering team. |
I have just been looking at Ubuntu With Node.js With Node.js On Ubuntu 18.04:
so that is a problem of its own right going forward, as Node.js GitHub deprecated Ubuntu Edit: See also
Ubuntu |
Same thing happening here (Just to add votes) Running cypress on github actions is failing with version |
Same here on Amazon Linux |
I found that if you are running Ubuntu 18, it ships with an earlier version of GLIBC. If you are using Chrome browser for running your test, then By installing version 114 of Chrome, I saw the issue fixed.
Also, it seems that if you're able to upgrade Ubuntu to version 19, or 20, you should not have the issue because they updated glibc in those distibutions. |
Does Cypress download a separate Chromium instance? Because I'm installing Chromium in Debian Buster; would be kinda weird to ship a non working Chromium version through the official package manager. |
Does Cypress actually pull external dependencies? I'm asking, as similarly to ☝️ we are using docker image with cypress + chrome, pinned to a specific sha256 tag and it also stopped working recently. Last successful run was 2 days ago and we had no changes since then. |
To add, I downgraded Cypress to 12.8.0 and this issue is resolved. Going to troubleshoot a little more to see what else changed. |
Another data point:
|
There are 2 separate issues that are happening In this thread. We’d like to make sure each of you is following the proper thread to get a resolution. They are both showing VERY similar errors which makes this confusing.
Please comment and follow the correct issue based on what error is occurring. For this issue, where Test Replay is not captured, we are investigating better documentation to provide and seeing if we can provide a better error message. This is not something we can fix since it’s system dependent as noted above. We’re investigating the new issue with opening cypress. Follow in that issue for updates. #27920 |
|
The Cypress provided docker-images with Node.js 18+ are on GLIBC 2.31. You should be able to use our docker-images and not encounter this error. cypress-io/cypress-docker-images As mentioned before we're investigating possible fixes/catching/documentation for people not using our docker-images this so it doesn't require changes to get around the error. |
On Ubuntu npx cypress run --record --key <my-key> I get the warning
so Test Replay has failed, but Cypress has recorded everything else to the Cypress Cloud. Previously on Ubuntu |
At lot of other users have joined your issue! But just to get back to you as the original poster of the issue, is it now resolved for you or are you still having problems? If yes, then perhaps you could reply with your current error message and let us know which Docker image you are running in? |
In our case, we were able to upgrade to Ubuntu 20, and it resolved the issue. |
@MikeMcC399 |
The Test Replay error is still an issue, but we have a fix already that we’re working on for this issue. Will update the issue when it’s out. |
This will be fixed in the release going out today 13.3.1 |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Hi, recently I've been testing v13's Test Replay.
After the CI run, I saw the report on the dashboard, but the
Tests for review
section in the overview is empty.Checking the pipeline logs, I found the following error:
Test Replay - Failed Capturing - /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /root/.cache/Cypress/13.2.0/Cypress/resources/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node)
Is it because the image I'm using is not supported ? Thank you
Desired behavior
No response
Test code to reproduce
N/A
Cypress Version
13.2.0
Node version
v18.4.0
Operating System
N/A
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: