-
Notifications
You must be signed in to change notification settings - Fork 75
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
NO-JIRA: chore(tests) Update readme for tests execution + some test fixes for linux env #863
Conversation
/override ci/prow/images |
@jstourac: Overrode contexts on behalf of jstourac: ci/prow/images In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Added some more steps to configure the environment to make tests work on local machine.
There is necessary to use "z" option when mounting files into the container otherwise SELinux will not allow container to read the mounted file. Also, I've adjusted the UIDs used in the tests so that they are lower than 65k because otherwise it's not possible to run these with a root-less podman/docker.
/override ci/prow/images |
@jstourac: Overrode contexts on behalf of jstourac: ci/prow/images In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Everything looks good on my end, adding logs in case of comparison. /lgtm
|
/lgtm |
This may go in later, or maybe never, but these two commands may be useful for macOS If you messed with SELinux in your env before
Check that the podman cli is fine with the socket you are using, it's better for diagnosing problems than just running testcontainers.
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jstourac The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I'll keep this up to you as a MacOS user. I'm gonna merge this one now. 🙂 Thank you all for your review! |
Small changes for the tests execution readme and some fixes for tests execution on a Linux machine.
This is waiting once
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE
#861is merged first.
Description
@jiridanek says: The "random" uid changes are because rootless podman can only handle UIDs from$0$ to $2^{16} - 1$ inside the container. There's a trick in podman that maps the in-container UIDs to host system's UIDs, and there is only so much UIDs that can be mapped.
How Has This Been Tested?
Merge criteria: