julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

set retry limit #170

Closed IanButterworth closed 10 months ago

IanButterworth commented 11 months ago

If you give the version 1.9-nightly this action hangs indefinitely.

##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/364c19a7-e87b-4032-96dd-6392988b11de
##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
...
IanButterworth commented 11 months ago

Actually the current number of retries before timeout is already only 11.

Perhaps the issue here is more that it's silent while retrying.

2023-11-08T16:11:42.4473688Z ##[debug]Starting: Run julia-actions/setup-julia@v1
2023-11-08T16:11:42.4507122Z ##[debug]Loading inputs
2023-11-08T16:11:42.4508625Z ##[debug]Evaluating: env.JULIA_VERSION
2023-11-08T16:11:42.4509190Z ##[debug]Evaluating Index:
2023-11-08T16:11:42.4509632Z ##[debug]..Evaluating env:
2023-11-08T16:11:42.4510096Z ##[debug]..=> Object
2023-11-08T16:11:42.4510519Z ##[debug]..Evaluating String:
2023-11-08T16:11:42.4510989Z ##[debug]..=> 'JULIA_VERSION'
2023-11-08T16:11:42.4514636Z ##[debug]=> '1.9-nightly'
2023-11-08T16:11:42.4515116Z ##[debug]Result: '1.9-nightly'
2023-11-08T16:11:42.4517390Z ##[debug]Evaluating: runner.arch
2023-11-08T16:11:42.4517931Z ##[debug]Evaluating Index:
2023-11-08T16:11:42.4518380Z ##[debug]..Evaluating runner:
2023-11-08T16:11:42.4518856Z ##[debug]..=> Object
2023-11-08T16:11:42.4519274Z ##[debug]..Evaluating String:
2023-11-08T16:11:42.4519718Z ##[debug]..=> 'arch'
2023-11-08T16:11:42.4520275Z ##[debug]=> 'X64'
2023-11-08T16:11:42.4520663Z ##[debug]Result: 'X64'
2023-11-08T16:11:42.4522878Z ##[debug]Loading env
2023-11-08T16:11:42.4529780Z ##[group]Run julia-actions/setup-julia@v1
2023-11-08T16:11:42.4530284Z with:
2023-11-08T16:11:42.4530599Z   version: 1.9-nightly
2023-11-08T16:11:42.4531031Z   include-all-prereleases: false
2023-11-08T16:11:42.4531488Z   arch: X64
2023-11-08T16:11:42.4531834Z   show-versioninfo: false
2023-11-08T16:11:42.4532231Z env:
2023-11-08T16:11:42.4532545Z   JULIA_VERSION: 1.9-nightly
2023-11-08T16:11:42.4537267Z ##[endgroup]
2023-11-08T16:11:42.5199046Z ##[debug]platform: linux
2023-11-08T16:11:42.5384509Z ##[debug]Downloading https://julialang-s3.julialang.org/bin/versions.json
2023-11-08T16:11:42.5386367Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/8aa826c1-f51a-47f9-a571-2b191b75da63
2023-11-08T16:11:42.6469899Z ##[debug]Runner IP address: 204.8.154.213
2023-11-08T16:11:42.7275335Z ##[debug]download complete
2023-11-08T16:11:42.7367925Z ##[debug]selected Julia version: x64/1.9-nightly
2023-11-08T16:11:42.7385911Z ##[debug]isExplicit: 
2023-11-08T16:11:42.7387573Z ##[debug]explicit? false
2023-11-08T16:11:42.7394758Z ##[debug]isExplicit: 1.7.3
2023-11-08T16:11:42.7396666Z ##[debug]explicit? true
2023-11-08T16:11:42.7398516Z ##[debug]isExplicit: 1.8.2
2023-11-08T16:11:42.7400405Z ##[debug]explicit? true
2023-11-08T16:11:42.7402244Z ##[debug]isExplicit: 1.8.3
2023-11-08T16:11:42.7404091Z ##[debug]explicit? true
2023-11-08T16:11:42.7405978Z ##[debug]isExplicit: 1.8.4
2023-11-08T16:11:42.7407848Z ##[debug]explicit? true
2023-11-08T16:11:42.7409417Z ##[debug]isExplicit: 1.8.5
2023-11-08T16:11:42.7411108Z ##[debug]explicit? true
2023-11-08T16:11:42.7412913Z ##[debug]isExplicit: 1.9.0
2023-11-08T16:11:42.7414892Z ##[debug]explicit? true
2023-11-08T16:11:42.7416949Z ##[debug]isExplicit: 1.9.0-rc3
2023-11-08T16:11:42.7419337Z ##[debug]explicit? true
2023-11-08T16:11:42.7421722Z ##[debug]isExplicit: 1.9.1
2023-11-08T16:11:42.7424117Z ##[debug]explicit? true
2023-11-08T16:11:42.7426465Z ##[debug]isExplicit: 1.9.2
2023-11-08T16:11:42.7429309Z ##[debug]explicit? true
2023-11-08T16:11:42.7434455Z ##[debug]evaluating 9 versions
2023-11-08T16:11:42.7471827Z ##[debug]match not found
2023-11-08T16:11:42.7473715Z ##[debug]could not find Julia x64/1.9-nightly in cache
2023-11-08T16:11:42.7480769Z ##[debug]downloading Julia from https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:11:42.7485986Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:11:42.7488066Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/d74b544b-d272-43fa-8b08-e24712296978
2023-11-08T16:11:42.7780160Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:11:42.7785667Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:11:44.0849172Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:11:44.0851323Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/4e0fd8be-8aa0-4da1-be77-4fb82e920021
2023-11-08T16:11:44.0978181Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:11:44.0982173Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:11:46.6097974Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:11:46.6109011Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/62ba3026-05c6-43c4-bafd-57b2e06c605a
2023-11-08T16:11:46.6348278Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:11:46.6366707Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:11:51.2201311Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:11:51.2217794Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/0a9e6a4f-b2b8-4804-bb8d-c1083124d68b
2023-11-08T16:11:51.2391341Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:11:51.2406809Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:12:06.7380497Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:12:06.7401610Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/892a5ebf-ef4c-4169-b189-a5c0235630b4
2023-11-08T16:12:06.7712134Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:12:06.7735636Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:12:31.2942681Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:12:31.2949911Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/4bee5a6e-9200-4cc8-93f0-f2b934e4dfaa
2023-11-08T16:12:31.3833426Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:12:31.3852464Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:13:08.8887683Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:13:08.8892969Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/1343eaca-c0bb-43bb-be22-e91f310dd1f8
2023-11-08T16:13:08.9398224Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:13:08.9426147Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:14:21.3567870Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:14:21.3571239Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/d171ea2b-4c7c-4b3f-b273-e9c28b4e105e
2023-11-08T16:14:21.4111688Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:14:21.4131808Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:18:24.4140171Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:18:24.4157179Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/364c19a7-e87b-4032-96dd-6392988b11de
2023-11-08T16:18:24.4794533Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:18:24.4820958Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:24:51.1659507Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:24:51.1680686Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/bd9ac944-7a37-4226-b64e-7336d7a2ad27
2023-11-08T16:24:51.2853623Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:24:51.2890925Z ##[debug]Download of https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz failed, trying again. Error: Error: Unexpected HTTP response: 404
2023-11-08T16:36:16.5161121Z ##[debug]Downloading https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz
2023-11-08T16:36:16.5168965Z ##[debug]Destination /home/pointcheck/actions-runner/_work/_temp/46966cd3-bfbb-4a29-a774-789be0d9da2a
2023-11-08T16:36:16.8441672Z ##[debug]Failed to download from "https://julialangnightlies-s3.julialang.org/bin/linux/x64/1.9/julia-latest-linux64.tar.gz". Code(404) Message(Not Found)
2023-11-08T16:36:16.8526636Z ##[error]Unexpected HTTP response: 404
2023-11-08T16:36:16.8552063Z ##[debug]Node Action run completed with exit code 1
2023-11-08T16:36:16.8560941Z ##[debug]Set output julia-version = 1.9-nightly
2023-11-08T16:36:16.8565532Z ##[debug]Finishing: Run julia-actions/setup-julia@v1
2023-11-08T16:36:16.8600679Z ##[debug]Evaluating condition for step: 'Install custom registries and update'
2023-11-08T16:36:16.8603780Z ##[debug]Evaluating: success()
2023-11-08T16:36:16.8604684Z ##[debug]Evaluating success:
2023-11-08T16:36:16.8605607Z ##[debug]=> false
2023-11-08T16:36:16.8606476Z ##[debug]Result: false
IanButterworth commented 10 months ago

I've made the retry debug messages infos to make the user aware something's up before the action times out