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

Refresh test workflow and associated config, accept podmain test failure for now #485

Merged
merged 3 commits into from
May 31, 2023

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented May 31, 2023

This PR updates the very old test workflow and associated configuration, allowing all tests besides one tracked by #484 to pass successfully. Pinning sqlalchemy to version 1 was a key thing done but there was several smaller things that needed to be done. I've made a few comments about those changes below.

@minrk
Copy link
Member

minrk commented May 31, 2023

Last attempt at the podman tests was #470

d.services.list throws TypeError instead of APIError with podman
@consideRatio
Copy link
Member Author

consideRatio commented May 31, 2023

It seems it comes down to this:

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")

This in turn comes down to this:

https://github.com/containers/podman/blob/main/troubleshooting.md#26-running-containers-with-resource-limits-fails-with-a-permissions-error

@consideRatio consideRatio force-pushed the pr/fix-tests branch 2 times, most recently from dcfbce3 to ed12313 Compare May 31, 2023 11:20
@consideRatio consideRatio marked this pull request as ready for review May 31, 2023 11:21
@consideRatio consideRatio changed the title draft: attempting to fix tests Refresh test workflow and associated config, accept podmain test failure for now May 31, 2023
.github/workflows/test.yaml Show resolved Hide resolved
.github/workflows/test.yaml Show resolved Hide resolved
.github/workflows/test.yaml Show resolved Hide resolved
.github/workflows/test.yaml Show resolved Hide resolved
@consideRatio consideRatio requested a review from minrk May 31, 2023 11:28
@consideRatio consideRatio merged commit 3544040 into jupyterhub:main May 31, 2023
@consideRatio consideRatio self-assigned this Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants