cirruslabs / cirrus-ci-agent

Agent to execute Cirrus CI tasks
Mozilla Public License 2.0
13 stars 6 forks source link

Retry clones on "timed out" #286

Closed fkorotkov closed 1 year ago

fkorotkov commented 1 year ago

It seems we were only checking error message for "timeout" and forgot "timed out".

real-or-random commented 1 year ago

I'm not sure if that will help. The two examples I mentioned in https://github.com/cirruslabs/cirrus-ci-docs/issues/1160 do not contain "timed out" as far as I can see.

fkorotkov commented 1 year ago

It was hidden by this if-statement:

https://github.com/cirruslabs/cirrus-ci-agent/blob/503e9678572cf8167988c91f160e11ff575a6ca0/internal/executor/executor.go#L710-L712