-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
system test flake -- tcp connection test #16916
Comments
@cdoern, I suspect that Waiting for the port to be available does not imply that the WDYT? |
I think the service supports sd_notify, we could also attempt to implement something with that and have a read on leaked socket. But I guess that would hang. |
Right. It must run in parallel, so there's always some race waiting for it to be ready. |
I opened #16929 to address the flake as it is hitting hard the moment. |
The test was only waiting for the port to be ready but that doesn't imply the server being ready to serve requests. Hence, add a loop waiting for the `info` call to succeed. Fixes: containers#16916 Signed-off-by: Valentin Rothberg <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I thought this test was failing on my SSH PR due to my changes but now I am seeing it in 2 PRs of very different styles.
The podman system connection tcp test flakes:
https://github.com/containers/podman/pull/16601/checks?check_run_id=10234988773
https://cirrus-ci.com/task/4577298783928320
the output is
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: Get "http://d/v4.4.0/libpod/_ping": dial tcp [::1]:63371: connect: connection refused
or something like this with different ports. Could be something that changed recently in system connection add.
I have only seen it in aarch system tests and fedora 37 root system tests.
The text was updated successfully, but these errors were encountered: