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

exit code improvements #14874

Merged
merged 3 commits into from
Jul 11, 2022
Merged

exit code improvements #14874

merged 3 commits into from
Jul 11, 2022

Conversation

vrothberg
Copy link
Member

Please refer to the individual commits for change descriptions. I am fairly confident it'll fix #14859 but lets see what CI (and long-term flakes) tell.

@mheon PTAL

No release notes needed as it's fixing unreleased issue.

None

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2022
libpod/container_api.go Outdated Show resolved Hide resolved
@TomSweeneyRedHat
Copy link
Member

All kinds of test unhappiness @vrothberg

A copy-paste error led to use `alpine` instead.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Make sure to return/exit with 0 when waiting for a container that never
ran.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
While for some call paths we may be doing this redundantly we need to
make sure the exit code is always read at this point.

[NO NEW TESTS NEEDED] as I do not manage to reproduce the issue which
is very likely caused by a code path not writing the exit code when
running concurrently.

Fixes: containers#14859
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
@vrothberg
Copy link
Member Author

@rhatdan @Luap99 @mheon PTAL

@rhatdan
Copy link
Member

rhatdan commented Jul 11, 2022

LGTM

@mheon
Copy link
Member

mheon commented Jul 11, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2022
@openshift-ci openshift-ci bot merged commit ea2c31c into containers:main Jul 11, 2022
@vrothberg vrothberg deleted the fix-14859 branch July 11, 2022 13:36
@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 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 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.

podman-remote wait: Error getting exit code from DB: no such exit code
4 participants