hpi-swa / smalltalkCI

Framework for testing Smalltalk projects with GitHub Actions, GitLab CI, Travis CI, AppVeyor, and others.
MIT License
94 stars 68 forks source link

[Bug] Error when load in new image on Windows: curl failed to download get.pharo.org/64/vm110 #617

Closed labordep closed 8 months ago

labordep commented 8 months ago

Hi,

Since a lot of days we have one error before launch tests on Windows.

image

This error appears at the first launch of the Job, if I restart manually the job it's ok (sometimes).

The error is : curl failed to download get.pharo.org/64/vm110 to '/c/Users/runneradmin/.smalltalkCI/_cache/vms/Pharo64-11/zeroconfig'. You can see the problem here : https://github.com/OpenSmock/GeoView/actions/runs/7118087629/job/19380226905

This is for Pharo 11 or Pharo 12 on Windows.

Thanks.

labordep commented 8 months ago

Similar problem on MacOS (I think):

image

When restarting this is ok!

fniephaus commented 8 months ago

I'm not sure what is going on, especially on Windows. Are there any known connectivity issues? @estebanlm @theseion?

labordep commented 8 months ago

We have these issues across several of our GitHub projects, all quite diverse. Curious that no one else has reported this problem.

For examples: https://github.com/plantec/Toplo/actions/runs/7147253815/job/19466439389 https://github.com/OpenSmock/Molecule/actions/runs/7151366799/job/19475629372 https://github.com/OpenSmock/Pyramid/actions/runs/6920390669/job/18824841350 etc.

May be we are using CI not correctly?

fniephaus commented 8 months ago

The exit code always seems to be 56 and comes from curl. According to the docs, it means:

Failure in receiving network data. Receiving data over the network is a crucial part of most curl operations and when curl gets an error from the lowest networking layers that the receiving of data failed, this exit status gets returned. To pinpoint why this happens, some serious digging is usually required. Start with enabling verbose mode, do tracing and if possible check the network traffic with a tool like Wireshark or similar.

So this indeed sounds like the Pharo servers are having some issues.

theseion commented 8 months ago

Nothing we can do really... The only option I see is to add some fallback logic.

fniephaus commented 8 months ago

I guess the best we can do is retry the download, which I have just enabled with https://github.com/hpi-swa/smalltalkCI/commit/3f608f002763495be31a10f7563060668ba045a6.

labordep commented 8 months ago

Thanks, we haven't seen this problem since your update 👍

fniephaus commented 8 months ago

Perfect, thanks for the update!