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

Artifact Name for Dockerbuild causes issues when download all artifacts for a workflow run #1255

Closed
1 of 3 tasks
rplankenhorn opened this issue Nov 12, 2024 · 1 comment
Closed
1 of 3 tasks
Labels
kind/duplicate This issue or pull request already exists

Comments

@rplankenhorn
Copy link

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

See docker/actions-toolkit#490

Expected behaviour

Artifacts uploaded as part of the workflow run should use a name that doesn't cause issues when trying to download all artifacts.

Actual behaviour

Artifacts fail to download and the workflow fails.

Repository URL

No response

Workflow run URL

No response

YAML workflow

test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Download All Artifacts
        uses: actions/download-artifact@v4
        with:
          path: ./artifacts
          merge-multiple: true

Workflow logs

(node:14488) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Artifact download completed successfully.
Artifact download completed successfully.
Artifact download completed successfully.
Artifact download completed successfully.
Artifact download completed successfully.
Artifact download completed successfully.
Artifact download completed successfully.
/Users/runner/work/_actions/actions/download-artifact/v4/dist/index.js:2[47](https://github.com/cvent-internal/falcon/actions/runs/11786964965/job/32832426738#step:9:48)8
            throw new Error(`Unable to download and extract artifact: ${error.message}`);
                  ^

Error: Unable to download and extract artifact: Artifact download failed after 5 retries.
    at /Users/runner/work/_actions/actions/download-artifact/v4/dist/index.js:2478:19
    at Generator.throw (<anonymous>)
    at rejected (/Users/runner/work/_actions/actions/download-artifact/v4/dist/index.js:2320:65)

Node.js v20.13.1

BuildKit logs


Additional info

No response

@crazy-max
Copy link
Member

Seems a duplicate of #1167

See also actions/download-artifact#328 (comment)

@crazy-max crazy-max added kind/duplicate This issue or pull request already exists and removed status/triage labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants