Skip to content

github: Setup tests for both rootful and rootless modes #1261

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

p12tic
Copy link
Collaborator

@p12tic p12tic commented Jul 4, 2025

Currently tests are only executed in rootful mode. This commit sets up a new user in the container for rootless tests as well.

@p12tic p12tic force-pushed the github-root-rootless branch 6 times, most recently from 0f15ce0 to a901ad2 Compare July 4, 2025 15:00
Currently tests are only executed in rootful mode. This commit sets up a
new user in the container for rootless tests as well.

Signed-off-by: Povilas Kanapickas <[email protected]>
@p12tic p12tic force-pushed the github-root-rootless branch from a901ad2 to dd15424 Compare July 4, 2025 15:21
@p12tic
Copy link
Collaborator Author

p12tic commented Jul 4, 2025

Running rootless on bookworm locally tells me:

Error: unable to start container d90ce391f1318dfce16717a40f80322d76520043b3d8ebbf5513e0709be87524: setting up Pasta: pasta failed with exit code 1:
[sh2] | No external routable interface for IPv6
[sh2] | Couldn't open network namespace /run/user/1000/containers/networks/rootless-netns/rootless-netns

Which probably means there's too old pasta installed (containers/podman#22015).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant