Skip to content
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

Missing libs in most recent image #11

Closed
maxcountryman opened this issue May 29, 2024 · 6 comments
Closed

Missing libs in most recent image #11

maxcountryman opened this issue May 29, 2024 · 6 comments
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@maxcountryman
Copy link

I've recently started seeing the following errors with the latest image:

geckodriver  | *** You are running in headless mode.
geckodriver  | console.warn: services.settings: Ignoring preference override of remote settings server
geckodriver  | console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
geckodriver  | [GFX1-]: glxtest: libpci missing
geckodriver  | [GFX1-]: glxtest: libGL.so.1 missing
geckodriver  | [GFX1-]: No GPUs detected via PCI
geckodriver  |
geckodriver  | 1717000205057    Marionette      INFO    Marionette enabled
geckodriver  | 1717000205299    Marionette      INFO    Listening on port 34131
geckodriver  | Read port: 34131
geckodriver  | [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
geckodriver  | console.error: ({})
@tyranron tyranron added the bug Something isn't working label May 30, 2024
@tyranron tyranron self-assigned this May 30, 2024
@tyranron
Copy link
Member

@maxcountryman could you specify the command you're running the image with?

@maxcountryman
Copy link
Author

@tyranron docker run -it -p 4444:4444 instrumentisto/geckodriver

@tyranron
Copy link
Member

@maxcountryman anything else to reproduce the issue? I have the following:

$ docker run --rm -it -p 4444:4444 docker.io/instrumentisto/geckodriver:126.0-driver0.34.0-r0 
Unable to find image 'instrumentisto/geckodriver:126.0-driver0.34.0-r0' locally
126.0-driver0.34.0-r0: Pulling from instrumentisto/geckodriver
09f376ebb190: Already exists 
79f518476e83: Pull complete 
Digest: sha256:6e8fb1d6fdbdf30402c18df86089c901e43e0ca6b31ef58cbd9e6c1ef7fc39c8
Status: Downloaded newer image for instrumentisto/geckodriver:126.0-driver0.34.0-r0
1717088605639   geckodriver     INFO    Listening on 127.0.0.1:4444

@tyranron
Copy link
Member

@maxcountryman ok, I was able to reproduce the issue. Strangely, despite the errors written into logs they don't affect any use cases of our WebDriver usage and all our builds/tests are OK.

tyranron added a commit that referenced this issue May 30, 2024
@tyranron
Copy link
Member

@maxcountryman we install all the dependencies of firefox-esr Debian package, since Debian doesn't have a package for non-ESR Firefox, and as the versions of ESR and non-ESR may differ quite much, such problems may happen.

I've added these libs, so try out the 126.0.1-driver0.34.0-r1 image version. I've tested it in our pipelines and the error has gone.

The worst part, I don't know how to build a test to catch such regressions in the future. If you have any ideas in mind, PR is welcome.

@tyranron tyranron added the dependencies Pull requests that update a dependency file label May 30, 2024
@maxcountryman
Copy link
Author

Thanks for this. I'll give it a try shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants