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

varlink Commit API returns a lot of garbage output which makes it really slow #3526

Closed
KKoukiou opened this issue Jul 9, 2019 · 0 comments
Closed
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

@KKoukiou
Copy link
Contributor

KKoukiou commented Jul 9, 2019

/kind bug

Description
Commit API prints out a lot of garbage.

Steps to reproduce the issue:

  1. sudo varlink call unix:/run/podman/io.podman/io.podman.Commit '{"name": "8ff65ed72f78", "image_name": "test_image"}' --more

Describe the results you received:

There are A LOT of empty reply messages in the reply when using more which make the processing of the Commit API result unnecessary slow.

$ sudo varlink call unix:/run/podman/io.podman/io.podman.Commit '{"name": "8ff65ed72f78", "image_name": "test_image"}' --more | grep 'logs": \[\]' | wc -l
153650

Describe the results you expected:
All empty replies (153650 lines!!!) should be discarded since they are of no usefulness

Output of podman version:

$ podman --version
podman version 1.4.2
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 9, 2019
@baude baude self-assigned this Jul 9, 2019
KKoukiou added a commit to cockpit-project/cockpit that referenced this issue Jul 9, 2019
martinpitt pushed a commit to cockpit-project/cockpit that referenced this issue Jul 12, 2019
@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 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 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

No branches or pull requests

3 participants