crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.26k stars 242 forks source link

[QE] Review Mirror Image to Openshift on Linux Scneario #4276

Open adrianriobo opened 4 months ago

adrianriobo commented 4 months ago

When running this scenario we are hitting randomly errors:

<testcase name="Pull image locally, push to registry, deploy" status="failed" time="46.714723707">
<failure message="Step pulling image "registry.access.redhat.com/ubi8/httpd-24:latest", logging in, and pushing local image to internal registry succeeds: error running /home/cloud-user/.crc/bin/podman/podman-remote pull registry.access.redhat.com/ubi8/httpd-24:latest: Command stdout: stderr: Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 192.168.130.11:22: i/o timeout error: exit status 125"/>
<error message="Step executing "oc apply -f hello.yaml" succeeds" type="skipped"/>

Tracking the code this is coming from run podman pull... and it is using https://github.com/crc-org/crc/blob/56367f124bb192ca1aeae8c52356ff8dafb58890/test/extended/crc/cmd/cmd.go#L209

These bits of code were used to test Podman preset, and reused here.

Review the usage of podman-remote in this scneario