Code Monkey home page Code Monkey logo

Comments (3)

MeStrak avatar MeStrak commented on August 12, 2024

Ok so I managed to get that dependency and some others using Centos rpm packages, but now I have something else:

./Xvfb: /lib64/libc.so.6: version GLIBC_2.27' not found (required by /var/task/libsystemd.so.0) ./Xvfb: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /var/task/libmount.so.1)
./Xvfb: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /var/task/libblkid.so.1) ./Xvfb: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /var/task/libuuid.so.1)

from cypress-lambda.

MeStrak avatar MeStrak commented on August 12, 2024

Right, sorry for the quite frequent updates, it's just incase anyone is looking at this and is confused (like me)!

My issue was that the centos dependencies were the wrong version. I managed to get the right ones and now I'm on to a different error, actually fixed by Stuart in the original blog post:

XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Will keep looking later, I guess some of my changes reverted the fux from @stuartsan.

from cypress-lambda.

MeStrak avatar MeStrak commented on August 12, 2024

So everything seems ok, the Xvfb patch has been applied, but I still get an error. The full log is below (from DEBUG=xvfb /app/node_modules/.bin/cypress run)

  xvfb lock filename /tmp/.X99-lock +0ms
  xvfb lock filename /tmp/.X99-lock +1ms
  xvfb setting DISPLAY :99 +0ms
  xvfb all Xvfb arguments [ ':99' ] +2ms
  xvfb checking if started by looking for the lock file /tmp/.X99-lock +7ms
  xvfb checking if started by looking for the lock file /tmp/.X99-lock +17ms
  xvfb lock file /tmp/.X99-lock found after 10 ms +1ms
  xvfb xvfb closed with error code 1 +11ms
  xvfb after receiving signal null +0ms
  xvfb and stderr output +0ms
  xvfb XKB: Failed to compile keymap
  xvfb Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
  xvfb (EE) 
  xvfb Fatal server error:
  xvfb (EE) Failed to activate virtual core keyboard: 2(EE) 
  xvfb  +0ms
  xvfb XVFB spawn failed +0ms
  xvfb Error: XKB: Failed to compile keymap
  xvfb Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
  xvfb (EE) 
  xvfb Fatal server error:
  xvfb (EE) Failed to activate virtual core keyboard: 2(EE) 
  xvfb 
  xvfb     at ChildProcess.<anonymous> (/app/node_modules/@cypress/xvfb/index.js:189:23)
  xvfb     at ChildProcess.emit (events.js:310:20)
  xvfb     at maybeClose (internal/child_process.js:1021:16)
  xvfb     at Socket.<anonymous> (internal/child_process.js:443:11)
  xvfb     at Socket.emit (events.js:310:20)
  xvfb     at Pipe.<anonymous> (net.js:672:12) +1ms
  xvfb restoring process.env.DISPLAY variable +44ms
  xvfb lock filename /tmp/.X99-lock +0ms
  xvfb lock file /tmp/.X99-lock +0ms
  xvfb lock file /tmp/.X99-lock not found when stopping +1ms

I really can't figure out why though, doesn't seem to be a permissions issue, and I don't know how to get any more detailed logs.

@stuartsan any ideas? Have you looked at an upgrade to the new lambda environment?

from cypress-lambda.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.