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

Fix download-artifact@v4 error #7396

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jarrodmillman
Copy link
Contributor

Description

In https://github.com/scikit-image/scikit-image/actions/runs/8677013598/job/23792109693 all the uploads seemed to work fine. For example, call-workflow-build-wheels / Build python cp310-* x86_64 wheels on ubuntu-latest

Run actions/upload-artifact@v4
  with:
    name: skimage-wheels-ubuntu-latest-x86_64-0
    path: ./dist/*.whl
    if-no-files-found: warn
    compression-level: 6
    overwrite: false
  env:
    CIBW_BUILD_VERBOSITY: 2
    CIBW_TEST_REQUIRES: -r requirements/default.txt -r requirements/test.txt
    CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1
    CIBW_BUILD_FRONTEND: 
    CIBW_TEST_COMMAND: pytest --pyargs skimage
    pythonLocation: /opt/hostedtoolcache/Python/3.12.2/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 8388608
Uploaded bytes 14599789
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 1332b6872a06b227d2b9e88692879d50f62440761123238d2f9ec4fa77e1d7f2
Finalizing artifact upload
Artifact skimage-wheels-ubuntu-latest-x86_64-0.zip successfully finalized. Artifact ID 1411579588
Artifact skimage-wheels-ubuntu-latest-x86_64-0 has been successfully uploaded! Final size is 14599789 bytes. Artifact ID is 1411579588
Artifact download URL: https://github.com/scikit-image/scikit-image/actions/runs/8677013598/artifacts/1411579588

But the downloader failed with

Run actions/download-artifact@v4
  with:
    name: skimage-wheels-*
    path: ./dist
    merge-multiple: true
    repository: scikit-image/scikit-image
    run-id: 8677013598
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.12.2/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.2/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib
Downloading single artifact
Error: Unable to download artifact(s): Artifact not found for name: skimage-wheels-*
        Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
        For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md

2024-04-13T18:52:38,501500433-07:00

@jarrodmillman jarrodmillman added the 🔧 type: Maintenance Refactoring and maintenance of internals label Apr 14, 2024
@jarrodmillman jarrodmillman marked this pull request as draft April 14, 2024 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 type: Maintenance Refactoring and maintenance of internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant