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

Failure to download and install DVC #66

Open
BotScutters opened this issue Nov 20, 2024 · 2 comments
Open

Failure to download and install DVC #66

BotScutters opened this issue Nov 20, 2024 · 2 comments

Comments

@BotScutters
Copy link

This seems to be a recurrence of the issue that was discussed in #59.

With a configuration like:

on: 
  workflow_dispatch: {}
  pull_request: {}
jobs:
  pr:
    runs-on: ubuntu-20.04
    steps:
      - uses: iterative/setup-dvc@v1

We've been intermittently getting the following error:

Run iterative/setup-dvc@v1
  with:
    version: latest
  env:
    SEMVER_SUFFIX: pr
    SSH_AUTH_SOCK: /tmp/ssh-i8XfxLMrNycQ/agent.132198
    SSH_AGENT_PID: 132199
    AWS_DEFAULT_REGION: us-east-2
    AWS_REGION: us-east-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    pythonLocation: /opt/hostedtoolcache/Python/3.10.15/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.15/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.15/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.15/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.15/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.15/x64/lib
Installing DVC from: https://dvc.org/download/linux-deb/dvc-undefined
DVC Download Failed, trying from GitHub Releases
Installing DVC from: https://github.com/iterative/dvc/releases/download/undefined/dvc_undefined_amd64.deb
Error: Not Found

As mentioned above, this issue is strangely intermittent. My team has seen it happen on 3 different occasions in the past 2 weeks, and each time the process starts to work again (eventually) after retrying, though yesterday I had to retry the job 5 times before it eventually worked. The inconsistency here makes it particularly hard to reliably reproduce, but suggests there may be some reliability issues with the endpoint being used to fetch the version.

@BotScutters
Copy link
Author

Bumping this issue--3 months later and it's still occurring. Since my last comment, we've switched to using v2, i.e.

      - uses: iterative/setup-dvc@v2

but we're still getting this error when the action runs:

Run iterative/setup-dvc@v2
  with:
    version: latest
  env:
    REPO_NAME: my-cool-repo
    SSH_AUTH_SOCK: ***
    SSH_AGENT_PID: 1307
    AWS_DEFAULT_REGION: us-east-2
    AWS_REGION: us-east-2
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_SESSION_TOKEN: ***
    pythonLocation: ***
    PKG_CONFIG_PATH: ***
    Python_ROOT_DIR: ***
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.14/x64
    Python3_ROOT_DIR: ***
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.14/x64/lib
Installing DVC from: https://dvc.org/download/linux-deb/dvc-undefined
DVC Download Failed, trying from GitHub Releases
Installing DVC from: https://github.com/iterative/dvc/releases/download/undefined/dvc_undefined_amd64.deb
Error: Not Found

As with before, this error seems to be intermittent and will eventually fix itself after enough retries--but currently I'm on my fifth retry and it just keeps failing.

@vt-max
Copy link

vt-max commented Feb 19, 2025

Yes, indeed, I would just like to add that we are observing similar behavior with similar intermittent failures. A typical re-run resolves the problem, but the intermittent aspect can be frustrating at times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants