CircleCI-Public / cimg-python

The Next-Gen CircleCI Python Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/python
MIT License
33 stars 32 forks source link

3.9.15-browsers is missing xvfb #162

Closed mrdon closed 2 years ago

mrdon commented 2 years ago

It looks like a cleanup in b63a2ef7120f240c47b155459d1b20f010ad3ebf removed xvfb, which the 3.9.15-browsers image relies on.

BitesizedLion commented 2 years ago

Same for 3.8.15 with ab5a51409af3fcf2848fb3c9ddbd95b611afcacd

FelicianoTech commented 2 years ago

Investigating

FelicianoTech commented 2 years ago

Could anyone provide more info on what' you're trying to do?

What are you trying to run? What's the error message?

I'm having trouble tracking this so far, the way we produce the browser variants, nothing has changed there so this is likely a lower level change in the Python or base image that I need to find.

mrdon commented 2 years ago

The change is in the SHA I referenced. Basically, the init script for this docker image starts up Xvfb, but that commit removed xvfb, causing an error. You can see this if you simply try to docker run bash into the image.

~/dev/sleuth (master) $ docker run -it --rm cimg/python:3.9.15-browsers bash
/docker-entrypoint.sh: 2: Xvfb: not found
circleci@81b666d97772:~/project$ 
tsande01 commented 2 years ago

It seems like xvfb used to be in the list of apt deps for installing chrome, but that whole section was removed in favor of a sources.list

FelicianoTech commented 2 years ago

These images have been updated and this issue should be resolved.