Skip to content

push with multiple tags failed with TTY #1208

Closed

Description

@qweeah

What happened in your environment?

Got below error when pushing and tagging a manifest with oras push from a terminal

$ oras push localhost:7000/test:v1,v2
Uploading empty artifact
✓ Exists    application/vnd.oci.empty.v1+json                                                                         2/2  B 100.00%     0s 
  └─ sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
✓ Uploaded  application/vnd.oci.image.manifest.v1+json                                                            535/535  B 100.00%     0s
  └─ sha256:ccf0a406902c9820f6db75612fd2a9ed5ec928f971256d2e8091c1e7bb35ba0f
Pushed [registry] localhost:7000/test:v1
Error: failed to push content: progress output manager has already been stopped

What did you expect to happen?

Tagging should be successful.

How can we reproduce it?

Use oras push to push with multiple tags

What is the version of your ORAS CLI?

a377128

What is your OS environment?

Ubuntu 20.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Dec 22, 2023
  2. added this to the v1.2.0 milestone on Dec 22, 2023
  3. removed
    triage
    on Dec 26, 2023
  4. FeynmanZhou commented on Jan 16, 2024

    @FeynmanZhou
    Member

    I will verify whether this issue is resolved or not.

  5. FeynmanZhou commented on Mar 12, 2024

    @FeynmanZhou
    Member

    Verified this issue has been fixed in ORAS v1.2.0-beta.1. Now we could close it. Thanks @qweeah

    oras push localhost:5000/oras-demo:70,71
    ✓ Exists    application/vnd.oci.empty.v1+json                                                      2/2  B 100.00%     0s
      └─ sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
    ✓ Uploaded  application/vnd.oci.image.manifest.v1+json                                         535/535  B 100.00%     0s
      └─ sha256:5cc80103e9f4f8c25d789ee27a4eba5e9b5505a660fe1949ea8e96bc66f98ae9
    Pushed [registry] localhost:5000/oras-demo:70
    Tagged 71
    Digest: sha256:5cc80103e9f4f8c25d789ee27a4eba5e9b5505a660fe1949ea8e96bc66f98ae9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions