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

Podman tests fails in CI due to restricted permissions in podman service started by non-root user #484

Open
consideRatio opened this issue May 31, 2023 · 1 comment

Comments

@consideRatio
Copy link
Member

consideRatio commented May 31, 2023

The podman test failure remains after #485 that solved some other failures, but is tolerated with continue-on-error: true on the step running podman tests.

The failure is that the podman system service that starts containers, and is started by the non-root user, doesn't have sufficient cgroup permissions to constrain CPU usage etc in the started containers I think. This is described in podman's troubleshooting docs.

docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.40/containers/65b02b7e1a0aa53a877e961e1f65b3af4be0c89c20fe4d9bc4d2bc619f816002/start: Internal Server Error ("the requested cgroup controller `cpu` is not available: OCI runtime error")
@welcome

This comment was marked as resolved.

@consideRatio consideRatio changed the title ci: test system failing Podman tests fails in CI due to restricted permissions in podman service started by non-root user May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant