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

podman images -q doesn't sort #6670

Closed
vrothberg opened this issue Jun 18, 2020 · 0 comments · Fixed by #6674
Closed

podman images -q doesn't sort #6670

vrothberg opened this issue Jun 18, 2020 · 0 comments · Fixed by #6674
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@vrothberg
Copy link
Member

I am fairly certain that this is causing the CI flakes in podman rmi. I unflaked with using --format in #6669 but the underlying problem persists. We also need to add tests to make sure that -q sorts correctly.

libpod (unflake-rmi) $ ./bin/podman images -a --sort created --format "{{.ID}}"
45f80ba3db88
a24bb4013296

libpod (unflake-rmi) $ ./bin/podman images -a --sort created -q
a24bb4013296
45f80ba3db88
@vrothberg vrothberg added kind/bug Categorizes issue or PR as related to a bug. Needed for V2 labels Jun 18, 2020
@baude baude assigned baude and jwhonce and unassigned jwhonce Jun 18, 2020
jwhonce added a commit to jwhonce/podman that referenced this issue Jun 19, 2020
* Sort images for -q option, removing duplicate id's
* Sort images for --format json

Signed-off-by: Jhon Honce <[email protected]>
@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 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants