-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
chromium uses 100% cpu in dev container and tests timeout #3781
Comments
This may be a duplicate of #3066. Can you check? |
That looks like something else. In my case it is chromium using up cpu, not a nicegui app. Basically, I'm trying to setup the devcontainer environment to make changes to nicegui code. But when I try any of the nicegui tests they just fail as above. |
FWIW I'm running Windows 11. I tried both using a WSL2 remote container on local Debian (WSL), as well as a remote SSH on a Debian server. Both result in chromium using 100% cpu and timing out the test. Are you using Debian for the container or something else? I can't tell from the screenshot. Also your process listing shows chrome, whereas mine shows chromium. Not sure if that is relevant. |
I just tried with container on Ubuntu-24.04 WSL2. Similarly fails, and also shows chromium vs chrome. |
I have started our devcontainer specified in https://github.com/zauberzeug/nicegui/blob/main/.devcontainer/devcontainer.json which is Debian based. Are you not using this configuration? |
Yes. I'm referring to the docker host, i.e. the host that creates and runs the devcontainer. At least on Windows, there are a couple of possibilities:
Some of these can be a specific Linux distribution. But it really should not matter, I'm just curious. It sounds like on Mac it is just the docker daemon on Mac. Is there any Windows developer of NiceGUI that can confirm it works (i.e. not a Mac user)? I will try to create a video showing the issue. |
Here is a video showing what I did: https://youtu.be/rG2LzK5Qf1A?si=YDSZs8ftGLT4kd_C In this one I'm just using Docker Desktop with WSL2. I cancelled the tests after 10 minutes. The chromium process stays running at 100% cpu and needs to be killed. |
I am currently on a Mac using colima and emulating an AMD64 architecture and encountering the same issue. |
Description
I'm trying out the dev container and just running a test (e.g. test_tabs.py). From what I can tell, the chromium process just go to 100% cpu, and after some minutes the test times out.
top output during test run:
Any idea what is wrong here or how to debug?
The text was updated successfully, but these errors were encountered: