cypress: Test Replay - Failed Capturing - `GLIBC_2.29' not found (better-sqlite3)
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
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 1
- Comments: 35 (18 by maintainers)
Facing the same issue on Ubuntu 18, Cypress 13.3.0.
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.
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)addon-native.nodeat the end of the error message.Opening Cypress... DevTools listening on ws://127.0.0.1:42471/devtools/browser/31a66146-18bd-478a-b7cc-acbae92826e7 /lib64/libm.so.6: version 'GLIBC_2.29' not found (required by /home/jenkins/.cache/Cypress/13.3.0/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node) Error: /lib64/libm.so.6: version 'GLIBC_2.29' not found (required by /home/jenkins/.cache/Cypress/13.3.0/Cypress/resources/app/packages/server/lib/modes/addon/addon-native.node).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. https://github.com/cypress-io/cypress/issues/27920
@tkharuk
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.
Hi, last week we’ve upgraded a couple of our project to Cypress v13, and it worked great for a couple of days!
Error suddenly appeared on “nighlty” run on CircleCI
config.yml:
Attempt to upgrade to latest
cypress/basecypress/base:20.6.1andcypress/base:18and faced new issuecoming from
jqorbImmediate actions?
As test checks are mandatory to merge PR, this now blocks multiple teams.
@MikeMcC399 @jennifer-shehane what would you suggest to do? rollback to Cypress v12 as an immediate action?
Is there anything on your side that can be done? (pipeline stopped working without our changes in codebase/infra)
P.S. Maybe documentation should be more demanding and show the significance of upgrading the infrastructure, which can be breaking:
We’ve followed
unlike in migration to v12 it doesn’t mention any node or any other infrastructural changes required.
In a more detailed instruction it did mention:
Maybe we misunderstood the “may” part and that it will stop working after 1 week
@MikeMcC399 I’m sorry, I’ve been a bit busy lately. I’ll try to use the image provided by Cypress and get back to here as soon as possible after testing.
In our case, we were able to upgrade to Ubuntu 20, and it resolved the issue.
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.
@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?
@aNyMoRe0505
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
depending on your needs.
10.13. There is an open issue https://github.com/cypress-io/cypress-documentation/issues/5444 about which operating systems and versions are supported which is waiting for a response.