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-remote send name and tag #7220

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

baude
Copy link
Member

@baude baude commented Aug 4, 2020

when loading an image with podman-remote load, we need to send a name and a tag to the endpoint

Fixes: #7124

Signed-off-by: Brent Baude bbaude@redhat.com

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2020
@baude
Copy link
Member Author

baude commented Aug 4, 2020

@cevich i think you were looking for a failure like i am seeing?

@rhatdan
Copy link
Member

rhatdan commented Aug 5, 2020

LGTM

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.

Changes LGTM.

Before we merge: @edsantiago is there a system test we can enable for this one? I started to become pedantic for fixes without a test change.

@edsantiago
Copy link
Member

$ ack 7124 test/system/*.bats
test/system/120-load.bats
80:    skip_if_remote "FIXME: pending #7124"

@edsantiago
Copy link
Member

It's not working, though:

$ ./bin/podman-remote pull alpine
a24bb4013296f61e89ba57005a7b3e52274d8edd3ae2077d04395f806b63d83e
$ ./bin/podman-remote save a24bb401 -o /tmp/alpine.tar
 $ ./bin/podman-remote rmi a24bb401
Untagged: docker.io/library/alpine:latest
Deleted: a24bb4013296f61e89ba57005a7b3e52274d8edd3ae2077d04395f806b63d83e
$ ./bin/podman-remote load -i /tmp/alpine.tar hellothere
Error: invalid reference format
$ echo $?
125

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude

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

when loading an image with podman-remote load, we need to send a name and a tag to the endpoint

Fixes: containers#7124

Signed-off-by: Brent Baude <bbaude@redhat.com>
@edsantiago
Copy link
Member

Weird... looks like podman run -d hung:

[+0440s] not ok 50 podman pause/unpause
         # (from function `run_podman' in file test/system/helpers.bash, line 164,
         #  in test file test/system/080-pause.bats, line 12)
         #   `run_podman run -d --name $cname $IMAGE \' failed with status 124
         # # podman-remote --url unix:/tmp/podman.xV37qa rm --all --force
         # # podman-remote --url unix:/tmp/podman.xV37qa images --all --format {{.Repository}}:{{.Tag}} {{.ID}}
         # quay.io/libpod/alpine_labels:latest 4fab981df737
         # # podman-remote --url unix:/tmp/podman.xV37qa run -d --name gV2iFMgYSu quay.io/libpod/alpine_labels:latest sh -c while :;do date +%s;sleep 1;done
         # 2065d55236e4ab989ba3010c7364cd54abf4bcf72571515df661df5ba105e1af
         # timeout: sending signal TERM to command ‘/var/tmp/go/src/github.com/containers/podman/bin/podman-remote’
         # timeout: sending signal KILL to command ‘/var/tmp/go/src/github.com/containers/podman/bin/podman-remote’
         # [ rc=124 (** EXPECTED 0 **) ]
         # *** TIMED OUT ***

(full log).

I'm assuming it's a flake, and have restarted the test. I have a feeling I'll be filing an issue about this soon.

@edsantiago
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2020
@openshift-merge-robot openshift-merge-robot merged commit 0d4a269 into containers:master Aug 5, 2020
@baude baude deleted the issue7124 branch May 18, 2022 15:19
@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

podman-remote: load: loses tag
6 participants