Skip to content

Conversation

@Luap99
Copy link
Member

@Luap99 Luap99 commented Apr 24, 2025

This looks like debug leftover, in any case this is not an error so simply remove the line.

Fixes #25965

Does this PR introduce a user-facing change?

Fixed a bug where podman-remote start --attach would print a bogus error when the container was created with --rm.

This looks like debug leftover, in any case this is not an error so
simply remove the line.

Fixes containers#25965

Signed-off-by: Paul Holzinger <[email protected]>
@openshift-ci openshift-ci bot added release-note approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 24, 2025
@benoitf

This comment was marked as off-topic.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 24, 2025
@Luap99
Copy link
Member Author

Luap99 commented Apr 24, 2025

/hold

Please don't add "/lgtm" right away, we generally require two reviews from maintainers first.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 24, 2025
@Luap99 Luap99 removed lgtm Indicates that a PR is ready to be merged. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Apr 24, 2025
@benoitf

This comment was marked as outdated.

Copy link
Member

@Honny1 Honny1 left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you. I think --rm doesn't work for podman create, but that's not the subject of this PR.
/approve

@benoitf
Copy link
Contributor

benoitf commented Apr 24, 2025

can it be cherry-picked to 5.5 branch once approved/merged ? thanks

@Luap99
Copy link
Member Author

Luap99 commented Apr 24, 2025

@benoitf Please do not rerun blindly tests, the log clearly shows my new tests failing which means (looking at the high number of failures) it is flaky and thus this cannot be merged like this.

Like podman run --rm, start --attach must also ensure the contianer is
removed before it exist. Otherwise there is a race where the container
still exist after the command exits, because removal would only happen
by the cleanup process in the background.

Signed-off-by: Paul Holzinger <[email protected]>
Copy link
Member

@Honny1 Honny1 left a comment

Choose a reason for hiding this comment

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

Nice fix of tests. I think test: Podman logs [It] since time 2017-08-07: journald is flaky.

@Luap99
Copy link
Member Author

Luap99 commented Apr 24, 2025

I think test: Podman logs [It] since time 2017-08-07: journald is flaky.

Yes, every podman logs test is flaky in some way. journald is just super unreliable, #24220

@Honny1 Honny1 self-requested a review April 24, 2025 15:12
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Honny1, Luap99

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

@baude baude added the 5.5 label Apr 24, 2025
@baude
Copy link
Member

baude commented Apr 24, 2025

/cherry-pick v5.5
/lgtm

@openshift-cherrypick-robot
Copy link
Collaborator

@baude: once the present PR merges, I will cherry-pick it on top of v5.5 in a new PR and assign it to you.

In response to this:

/cherry-pick v5.5
/lgtm

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.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 24, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit c28fd3c into containers:main Apr 24, 2025
73 checks passed
@openshift-cherrypick-robot
Copy link
Collaborator

@baude: new pull request created: #25976

In response to this:

/cherry-pick v5.5
/lgtm

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.

@Luap99 Luap99 deleted the start-rm branch April 24, 2025 19:03
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jul 24, 2025
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jul 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

5.5 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

podman start + AutoRemove flag

5 participants