Skip to content
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

fix podman system connection - tcp flake #16929

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

vrothberg
Copy link
Member

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: #16916
Signed-off-by: Valentin Rothberg [email protected]

Does this PR introduce a user-facing change?

None

@containers/podman-maintainers PTAL

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none labels Dec 23, 2022
@vrothberg vrothberg marked this pull request as ready for review December 23, 2022 09:46
@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Dec 23, 2022
@rhatdan
Copy link
Member

rhatdan commented Dec 23, 2022

LGTM

@vrothberg
Copy link
Member Author

vrothberg commented Dec 23, 2022

Failed tests (1):

  • 337 podman system connection - tcp

🤣

@rhatdan
Copy link
Member

rhatdan commented Dec 23, 2022

I guess if this fails over 10 seconds, we might be looking at a different problem.

@vrothberg
Copy link
Member Author

I guess if this fails over 10 seconds, we might be looking at a different problem.

I copy-pasted the loop but should have altered the break-condition. Will update.

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]>
@vrothberg
Copy link
Member Author

@containers/podman-maintainers PTAL

Copy link
Member

@edsantiago edsantiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one change request.

For extra credit: if you copypasted this loop from elsewhere, and that elsewhere also has an unquoted question mark, could you also fix that one? I see two instances in 255-auto-update, but those can't possibly be the ones you copied, so I'll take care of fixing those. TIA.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 2, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago, vrothberg

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:
  • OWNERS [edsantiago,vrothberg]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@edsantiago
Copy link
Member

/lgtm

Changed my mind. I'll fix the questionmark in #16972 instead, so we can get this merged

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 2, 2023
@openshift-merge-robot openshift-merge-robot merged commit ecbb52c into containers:main Jan 2, 2023
@vrothberg vrothberg deleted the fix-16916 branch January 3, 2023 09:19
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

system test flake -- tcp connection test
4 participants