ChrisCarini / intellij-platform-plugin-verifier-action

GitHub Action for executing the intellij-plugin-verifier
Apache License 2.0
27 stars 9 forks source link

Handle failed curl call more cleanly #68

Open ChrisCarini opened 4 months ago

ChrisCarini commented 4 months ago

Suggestion

Add re-tries here.

Details

🔗 Link: https://github.com/ChrisCarini/automatic-github-issue-navigation-configuration-jetbrains-plugin/actions/runs/8054135464/job/21998040588?pr=253

Error:

Run ChrisCarini/intellij-platform-plugin-verifier-action@latest
/usr/bin/docker run --name fd90fdd7acb2a7558f4ccaaf4fbb3[10](https://github.com/ChrisCarini/automatic-github-issue-navigation-configuration-jetbrains-plugin/actions/runs/8054135464/job/21998040588?pr=253#step:8:11)4cd754f_d8e014 --label fd90fd --workdir /github/workspace --rm -e "JAVA_HOME" -e "JAVA_HOME_17_X64" -e "INPUT_IDE-VERSIONS" -e "INPUT_VERIFIER-VERSION" -e "INPUT_PLUGIN-LOCATION" -e "INPUT_FAILURE-LEVELS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_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_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -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 "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_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/automatic-github-issue-navigation-configuration-jetbrains-plugin/automatic-github-issue-navigation-configuration-jetbrains-plugin":"/github/workspace" fd90fd:d7acb2a7558f4ccaaf4fbb3104cd754f  "LATEST" "build/distributions/*.zip" "build/intellij-platform-plugin-verifier-action-ide-versions-file.txt" "COMPATIBILITY_PROBLEMS INVALID_PLUGIN"
Initializing...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed

    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100   7[14](https://github.com/ChrisCarini/automatic-github-issue-navigation-configuration-jetbrains-plugin/actions/runs/8054135464/job/21998040588?pr=253#step:8:15)  100   714    0     0  23219      0 --:--:-- --:--:-- --:--:-- 23800
  jq: error (at <stdin>:1): Cannot iterate over null (null)
  Error: =======================================================
  Error: ===-------------------------------------------------===
  Error: === An unexpected error occurred. Status code [5].
  Error: ===
  Error: === Please consider opening a bug for the developer:
  Error: ===    - Bug URL: https://github.com/ChrisCarini/intellij-platform-plugin-verifier-action/issues/new
  Error: ===    - Status Code: 5
  Error: ===-------------------------------------------------===
  Error: =======================================================
ChrisCarini commented 4 weeks ago

Taking a stab at this in https://github.com/ChrisCarini/intellij-platform-plugin-verifier-action/tree/ChrisCarini/curl_with_retry