-
Notifications
You must be signed in to change notification settings - Fork 72
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
RHOAIENG-18459: chore(tests/containers): handle multiple podman machines and improve debugging output when podman machine is not found #869
Conversation
…n podman machine is not found
…machine inspect calls, by giving it all machine names at once
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/override ci/prow/images
n/a
@jiridanek: Overrode contexts on behalf of jiridanek: 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. |
/lgtm given my current configuration:
Attempting to run the command
|
@@ -89,6 +89,7 @@ def test_ipv6_only(self, image: str, test_frame): | |||
host = "localhost" | |||
port = podman_machine_utils.find_free_port() | |||
socket_path = os.path.realpath(docker_utils.get_socket_path(client.client)) | |||
logging.debug(f"{socket_path=}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious - are we keeping this on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, otherwise the exception after podman machine
was not found (that may be printed later) is meaningless. This writes down the socket it was looking for.
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jiridanek 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 |
@jiridanek: Overrode contexts on behalf of jiridanek: 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. |
Followup on
Description
Thanks @andyatmiami for help figuring this out.
podman machine inspect
replies with a json list, but it's always a json list of one element!podman machine list
does give all machines, but it does not have access to their socket paths.How Has This Been Tested?
Merge criteria: