You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@donJoseLuis should @jaredpar or @VictorHofer make this into another "live" issue❔ I'm not offering their services 😺 but do miss the information about recent events of this type.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-sdk-5.0.100-linux-x64.tar.gz
curl: (18) transfer closed with 117694364 bytes remaining to read
BTW, we fixed the log messages to avoid this confusion with legacy links' errors recently. So, as soon as changes for issue #11 are deployed, there should be less confusion about the actual error.
We have a monitoring system which triggers script runs for both PowerShell and SH, and when these runs fail, an incident is created. We immediately address such cases so far proactively without customer impact. We are simply not observing these intermittent failures.
In this case, the socket was closed during the download, "curl: (18) transfer closed with 117694364 bytes remaining to read". This issue derived from dotnet/runtime#34015, whose root-cause was "problems in a custom CURL used by the run-time team's build agents". That particular ticket had been reopened twice prior to this latest case.
The scripts are doing the right thing & we confirmed the feed system had the proper bits available. Thus, the likely suspects remain (1) custom CURL & (2) intermittent network issues. However, our monitoring is not encountering these networking hiccups.
One way to root-cause would be to collect a network trace once the problem occurs on these agents and trying a standard CURL.
We'll think about how to wisely improve resiliency to handle such external factors in SH particularly. We maybe able to detect specific failure reasons when sockets are closed & retry in some cases.
In hopes of improving the resiliency against such issues, we are adding retry logic into dotnet-install.sh script.
Please track the related issue here #95.
Activity
dougbu commentedon Jan 20, 2021
@donJoseLuis should @jaredpar or @VictorHofer make this into another "live" issue❔ I'm not offering their services 😺 but do miss the information about recent events of this type.
ViktorHofer commentedon Jan 20, 2021
I don't know a Victor so I don't feel obliged ;)
dougbu commentedon Jan 20, 2021
Apogees for my spelling 😃
AR-May commentedon Jan 20, 2021
Error 404 for the legacy link https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-dev-ubuntu.16.04-x64.5.0.100.tar.gz is expectable, as they should be valid only for old versions of SDK. The actual error was
That seems to be a temporary problem with either the storage or the network. Anyway, the install script for SDK version 5.0.100 works well and the resource https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-sdk-5.0.100-linux-x64.tar.gz is now available. So, the bug is not reproducible anymore.
AR-May commentedon Jan 20, 2021
BTW, we fixed the log messages to avoid this confusion with legacy links' errors recently. So, as soon as changes for issue #11 are deployed, there should be less confusion about the actual error.
donJoseLuis commentedon Jan 20, 2021
@AR-May thank you.
@ViktorHofer greetings. The root-cause appears to be a temporary network glitch. Can you please confirm the impact is gone?
donJoseLuis commentedon Jan 21, 2021
We have a monitoring system which triggers script runs for both PowerShell and SH, and when these runs fail, an incident is created. We immediately address such cases so far proactively without customer impact. We are simply not observing these intermittent failures.
In this case, the socket was closed during the download, "curl: (18) transfer closed with 117694364 bytes remaining to read". This issue derived from dotnet/runtime#34015, whose root-cause was "problems in a custom CURL used by the run-time team's build agents". That particular ticket had been reopened twice prior to this latest case.
The scripts are doing the right thing & we confirmed the feed system had the proper bits available. Thus, the likely suspects remain (1) custom CURL & (2) intermittent network issues. However, our monitoring is not encountering these networking hiccups.
One way to root-cause would be to collect a network trace once the problem occurs on these agents and trying a standard CURL.
We'll think about how to wisely improve resiliency to handle such external factors in SH particularly. We maybe able to detect specific failure reasons when sockets are closed & retry in some cases.
dougbu commentedon Jan 22, 2021
@donJoseLuis was your monitoring system triggered for the failures discussed recently in the ASP.NET Core Build Teams channel❔
Here's some of the conversation:
dougbu commentedon Jan 22, 2021
/fyi @halter73
bekir-ozturk commentedon Jan 27, 2021
In hopes of improving the resiliency against such issues, we are adding retry logic into dotnet-install.sh script.
Please track the related issue here #95.
bekir-ozturk commentedon Feb 5, 2021
Hi @dougbu,
Now that the retry functionality is in place, can you observe for a bit and see if it had a positive effect on mitigating the issues?
dougbu commentedon Feb 5, 2021
@bozturkMSFT yes, we're watching. /cc @dotnet/aspnet-build
@captainsafia please mention need to report$download_error_msg", "Attempt #$ ((attempts+1)) will start in $((attempts*10)) seconds.", or the errors listed above in your handoff.
curlfailures here and occasional need to check for Helix logging that matches "Download attempt #$attempts has failed: $http_coderunfoor https://runfo.azurewebsites.net/ can help here.bekir-ozturk commentedon Feb 23, 2021
@dougbu Any updates? Let me know if we can close this issue.
dougbu commentedon Feb 23, 2021
@bozturkMSFT, @JunTaoLuo updated our Helix setup to retry the downloads but, last I heard, not much more information was visible.
@JunTaoLuo please link a few builds here that needed retries…
bekir-ozturk commentedon Mar 8, 2021
Closing this. Let me know if the issue persists and there is something we can do on the install-scripts side.