Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

All builds started failing with 'Failed to generate URL to download artifact' error #57

Open
domeq opened this issue Feb 17, 2021 · 2 comments

Comments

@domeq
Copy link

domeq commented Feb 17, 2021

Hi 👋🏻
Your action has been working just fine for me until recently when all my builds started failing with the following error:
'Failed to generate URL to download artifact'

Sample output:

Run bradennapier/eslint-plus-action@v3.4.2
/usr/bin/docker run --name e42019a0de2f8143f597669eb9a8a5506a_e228bc --label 5588e4 --workdir /github/workspace --rm -e INPUT_ISSUESUMMARYONLYONEVENT -e INPUT_NPMINSTALL -e INPUT_GITHUB-TOKEN -e INPUT_REPORTWARNINGS -e INPUT_REPORTWARNINGSASERRORS -e INPUT_REPORTIGNOREDFILES -e INPUT_REPORTSUGGESTIONS -e INPUT_ISSUESUMMARY -e INPUT_ISSUESUMMARYTYPE -e INPUT_ISSUESUMMARYMETHOD -e INPUT_EXTENSIONS -e INPUT_INCLUDEGLOB -e INPUT_IGNOREGLOB -e INPUT_CONFIGFILE -e INPUT_RULEPATHS -e INPUT_ERRORONUNMATCHEDPATTERN -e INPUT_USEESLINTRC -e INPUT_USEESLINTIGNORE -e INPUT_FIX -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/middy-caching-headers/middy-caching-headers":"/github/workspace" 5588e4:2019a0de2f8143f597669eb9a8a5506a  "***" "false"
ENTRY
[pushd] [/github/workspace] -> [/action]
Yarn Action Install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 19.33s.
[popd] [/action] -> [/github/workspace]
Execute From Directory: /github/workspace
Error: HttpError: Failed to generate URL to download artifact
Error: Failed to generate URL to download artifact

Any idea what the issue might be? I've been running the action at 3.4.2 all along and it only started failing recently 🤷🏻

@davidlday
Copy link

Same problem here. Only one of my repos is experiencing this, though. My other three that use this action are all working fine.

@davidlday
Copy link

Solution was given in #45. I was able to purge old artifacts using a temporary workflow, then rerun my checks successfully. See: https://github.com/prosegrinder/annotatedtext-rehype/blob/master/.github/workflows/remove-old-artifacts.yml

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

No branches or pull requests

2 participants