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: List container with volume filter #16934

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

SamirPS
Copy link
Contributor

@SamirPS SamirPS commented Dec 23, 2022

Modify the condition in line 149 in order to list container by mounting point.

Closes #16019

Signed-off-by: SamirPS [email protected]

Does this PR introduce a user-facing change?

This PR only permit to fix the issue #16019

Fix: List container with volume filter

@openshift-ci openshift-ci bot added the do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None label Dec 23, 2022
@SamirPS SamirPS force-pushed the fix-volume branch 4 times, most recently from bf1d449 to 4bab7bc Compare December 23, 2022 19:00
@openshift-ci openshift-ci bot assigned Luap99 and unassigned Luap99 Dec 23, 2022
@openshift-ci openshift-ci bot added release-note and removed do-not-merge/release-note-label-needed Enforce release-note requirement, even if just None labels Dec 23, 2022
@mheon
Copy link
Member

mheon commented Dec 23, 2022

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 23, 2022
@mheon
Copy link
Member

mheon commented Dec 23, 2022

Should a test be added?

@SamirPS
Copy link
Contributor Author

SamirPS commented Dec 23, 2022

@Luap99 Should a test be added?

@rhatdan
Copy link
Member

rhatdan commented Dec 26, 2022

@SamirPS Please add a test.

@SamirPS
Copy link
Contributor Author

SamirPS commented Dec 26, 2022

@rhatdan Please tell me to what file I should add the test.

@rhatdan
Copy link
Member

rhatdan commented Dec 29, 2022

I would look at test/system/160-volumes.bats.

@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label Dec 29, 2022
@github-actions github-actions bot removed the kind/api-change Change to remote API; merits scrutiny label Dec 29, 2022
@github-actions github-actions bot added kind/api-change Change to remote API; merits scrutiny and removed kind/api-change Change to remote API; merits scrutiny labels Dec 29, 2022
@SamirPS
Copy link
Contributor Author

SamirPS commented Dec 29, 2022

@rhatdan @mheon The test added is good or not?

@TomSweeneyRedHat
Copy link
Member

LGTM
one of the tests was not happy, I've restarted as I suspect it to be a flake.

@SamirPS
Copy link
Contributor Author

SamirPS commented Dec 29, 2022

Okay, thanks for the information waiting for the merge then.

@rhatdan
Copy link
Member

rhatdan commented Jan 3, 2023

/lgtm
/hold

@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 Jan 3, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2023
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2023
@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label Jan 3, 2023
@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

Oops i thinks i have wrongly done my squash

@github-actions github-actions bot removed the kind/api-change Change to remote API; merits scrutiny label Jan 3, 2023
@SamirPS SamirPS requested review from vrothberg and removed request for edsantiago January 3, 2023 14:45
@vrothberg
Copy link
Member

Oops i thinks i have wrongly done my squash

Yes, there's still a merge commit.

@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

Yeah but when i squash this commit I have modified file :45

@vrothberg
Copy link
Member

vrothberg commented Jan 3, 2023

Yeah but when i squash this commit I have modified file :45

Try git pull --rebase $REMOTE/main. That should get rid of the merge commit.

Modify the condition in line 149 in order to list container by mounting
point.
Closes containers#16019

Signed-off-by: SamirPS <[email protected]>
@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

@vrothberg Thanks for the command, it's good now?

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold

Yes, there merge commit is gone now. Thank you!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2023
@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

Thanks you for the command! waiting for the test now

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago, mheon, SamirPS

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

@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

@vrothberg @edsantiago @rhatdan Can I remove the SLASHhold or not ? I because the int remote fedora-27 failed because of the network test.

@edsantiago
Copy link
Member

DO NOT REMOVE IT.

@edsantiago
Copy link
Member

I'm sorry I wasn't clear. This is the rule: you can remove the hold only when tests go green. You cannot ever ever remove it otherwise.

The failure is a flake, it is rerunning. Once it goes green, I or someone else will remove the hold. Since it seems I can't explain properly, and there's a possibility of confusion, please do not touch anything for now. Thank you.

@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

Okay sorry, i understand now

@edsantiago
Copy link
Member

No problem. It's complicated and unintuitive. If you look at CI right now or in the next few minutes, you'll see that the flaking test has passed, but there are still a bunch more tests running. That's because CI is a cascade: certain tests will only run if their precursors pass. Here's a visualization. So now we still have another hour or so to wait to see if CI goes green.

Anyhow, the critical thing to remember is: CI must be green in order to merge.

@SamirPS
Copy link
Contributor Author

SamirPS commented Jan 3, 2023

All green right now

@edsantiago
Copy link
Member

Indeed!

/hold cancel

Thank you @SamirPS !

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 3, 2023
@openshift-merge-robot openshift-merge-robot merged commit 28d04bc into containers:main Jan 3, 2023
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ps command to list container with volume filter does not work
8 participants