Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors installing the SDK during builds #34015

Closed
jaredpar opened this issue Mar 24, 2020 · 76 comments
Closed

Errors installing the SDK during builds #34015

jaredpar opened this issue Mar 24, 2020 · 76 comments
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' blocking-official-build

Comments

@jaredpar
Copy link
Member

jaredpar commented Mar 24, 2020

Initial cost estimate: 1 week
Initial contacts: @trylek, @ViktorHofer

Getting an error from curl during download.

Downloading 'https://dot.net/v1/dotnet-install.sh'
Trying to run 'curl https://dot.net/v1/dotnet-install.sh -sSL --retry 10 --create-dirs -o /__w/1/s/.dotnet/dotnet-install.sh' for maximum of 5 attempts.
Ran 'curl https://dot.net/v1/dotnet-install.sh -sSL --retry 10 --create-dirs -o /__w/1/s/.dotnet/dotnet-install.sh' successfully.
dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20168.11/dotnet-sdk-5.0.100-preview.3.20168.11-linux-x64.tar.gz
curl: (56) GnuTLS recv error (-9): A TLS packet with unexpected length was received.
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20168.11/dotnet-sdk-5.0.100-preview.3.20168.11-linux-x64.tar.gz
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20168.11/dotnet-dev-ubuntu.16.04-x64.5.0.100-preview.3.20168.11.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20168.11/dotnet-dev-ubuntu.16.04-x64.5.0.100-preview.3.20168.11.tar.gz
dotnet_install: Error: Could not find/download: `.NET Core SDK` with version = 5.0.100-preview.3.20168.11
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
##[error](NETCORE_ENGINEERING_TELEMETRY=InitializeToolset) Failed to install dotnet SDK from public location (exit code '1').
/__w/1/s/eng/common/tools.sh: line 418: /__w/1/s/.dotnet/dotnet: No such file or directory
##[error](NETCORE_ENGINEERING_TELEMETRY=Build) Build failed (exit code '1').

Runfo Tracking Issue: Errors installing the SDK during builds

Definition Build Kind Job Name
runtime 980524 PR 47864 CoreCLR Product Build Linux arm64 release
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl x64 checked
runtime 980524 PR 47864 Build Linux arm64 Debug AllSubsets_Mono_LLVMJIT
runtime 980524 PR 47864 CoreCLR Product Build FreeBSD x64 release
runtime 980524 PR 47864 Mono Product Build Linux arm64 release
runtime 980524 PR 47864 Mono Android AOT offsets
runtime 980524 PR 47864 Build Linux arm64 Release AllSubsets_Mono_LLVMAOT
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl arm checked
runtime 980524 PR 47864 CoreCLR Product Build Linux x64 release
runtime 980524 PR 47864 Libraries Build Linux x64 Debug
runtime 980524 PR 47864 Build Browser wasm Release AllSubsets_Mono
runtime 980524 PR 47864 Mono Product Build Linux x64 debug
runtime 980524 PR 47864 Mono llvmaot Product Build Linux arm64 release
runtime 980524 PR 47864 Libraries Build Linux_musl x64 Debug
runtime 980524 PR 47864 Build Linux_musl x64 Release AllSubsets_Mono
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl arm64 checked
runtime 980524 PR 47864 Build Browser wasm Release AllSubsets_Mono_RuntimeTests
runtime 980524 PR 47864 CoreCLR Tools Unit Tests Linux x64 checked
runtime 980524 PR 47864 Build Android arm Release AllSubsets_Mono
runtime 980524 PR 47864 Libraries Build FreeBSD x64 Debug
runtime 980524 PR 47864 CoreCLR Product Build Linux arm checked
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl arm64 release
runtime 980524 PR 47864 Build Linux x64 Release AllSubsets_Mono_LLVMAOT
runtime 980524 PR 47864 Mono Browser AOT offsets
runtime 980524 PR 47864 Build Linux x64 Debug AllSubsets_Mono_LLVMJIT
runtime 980524 PR 47864 Build Android x86 Debug AllSubsets_Mono
runtime 980524 PR 47864 CoreCLR Product Build Linux x64 checked
runtime 980524 PR 47864 Libraries Build Linux_musl arm Release
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl x64 release
runtime 980524 PR 47864 Libraries Build Linux_musl arm64 Release
runtime 980524 PR 47864 Mono Product Build Linux arm64 debug
runtime 980524 PR 47864 CoreCLR Product Build Linux arm release
runtime 980524 PR 47864 Mono Product Build Linux x64 release
runtime 980524 PR 47864 Libraries Build Linux arm Release
runtime 980524 PR 47864 Build Android arm64 Release AllSubsets_Mono
runtime 980524 PR 47864 CoreCLR Product Build Linux_musl arm release
runtime 980524 PR 47864 Libraries Build Linux arm64 Debug
runtime 980524 PR 47864 CoreCLR Product Build Linux arm64 checked
runtime 980524 PR 47864 Mono llvmaot Product Build Linux x64 release
runtime 980524 PR 47864 CoreCLR GCC Product Build Linux x64 checked
runtime 980524 PR 47864 Build Linux arm Debug AllSubsets_Mono
runtime 980514 PR 47917 Build Linux_musl x64 Release AllSubsets_Mono
runtime 980514 PR 47917 Libraries Build Linux_musl x64 Debug
runtime 980514 PR 47917 Mono Product Build Linux x64 debug
runtime 980514 PR 47917 Build Browser wasm Release AllSubsets_Mono
runtime 980514 PR 47917 Libraries Build Linux x64 Debug
runtime 980514 PR 47917 CoreCLR Product Build Linux x64 release
runtime 980514 PR 47917 Build Linux arm64 Release AllSubsets_Mono_LLVMAOT
runtime 980514 PR 47917 Mono Product Build Linux arm64 release
runtime 980514 PR 47917 CoreCLR Product Build FreeBSD x64 release
runtime 980514 PR 47917 Build Linux arm64 Debug AllSubsets_Mono_LLVMJIT
runtime 980514 PR 47917 CoreCLR Product Build Linux arm64 release
runtime 980514 PR 47917 Build Android arm Release AllSubsets_Mono
runtime 980514 PR 47917 Libraries Build FreeBSD x64 Debug
runtime 980514 PR 47917 Libraries Build Linux arm64 Debug
runtime 980514 PR 47917 Build Linux arm Debug AllSubsets_Mono
runtime 980514 PR 47917 CoreCLR Product Build Linux_musl arm release
runtime 980514 PR 47917 Build Android arm64 Release AllSubsets_Mono
runtime 980514 PR 47917 Libraries Build Linux arm Release
runtime 980514 PR 47917 Mono Product Build Linux x64 release
runtime 980514 PR 47917 CoreCLR Product Build Linux arm release
runtime 980514 PR 47917 CoreCLR Product Build Linux_musl arm64 release
runtime 980514 PR 47917 Libraries Build Linux_musl arm64 Release
runtime 980514 PR 47917 CoreCLR Product Build Linux_musl x64 release
runtime 980514 PR 47917 Libraries Build Linux_musl arm Release
runtime 980514 PR 47917 Build Android x86 Debug AllSubsets_Mono
runtime 980514 PR 47917 Build Linux x64 Debug AllSubsets_Mono_LLVMJIT
runtime 980514 PR 47917 Build Linux x64 Release AllSubsets_Mono_LLVMAOT
runtime 980514 PR 47917 Mono Product Build Linux arm64 debug
runtime 980508 PR 47915 Build Linux_musl x64 Release AllSubsets_Mono
runtime 980508 PR 47915 Libraries Build Linux_musl x64 Debug
runtime 980508 PR 47915 Mono llvmaot Product Build Linux arm64 release
runtime 980508 PR 47915 Mono Product Build Linux x64 debug
runtime 980508 PR 47915 Build Browser wasm Release AllSubsets_Mono
runtime 980508 PR 47915 Libraries Build Linux x64 Debug
runtime 980508 PR 47915 Build Browser wasm Release AllSubsets_Mono_RuntimeTests
runtime 980508 PR 47915 Build Android arm Release AllSubsets_Mono
runtime 980508 PR 47915 CoreCLR Product Build Linux x64 release
runtime 980508 PR 47915 Build Linux arm64 Release AllSubsets_Mono_LLVMAOT
runtime 980508 PR 47915 Mono Android AOT offsets
runtime 980508 PR 47915 Mono Product Build Linux arm64 release
runtime 980508 PR 47915 CoreCLR Product Build FreeBSD x64 release
runtime 980508 PR 47915 Build Linux arm64 Debug AllSubsets_Mono_LLVMJIT
runtime 980508 PR 47915 CoreCLR Product Build Linux arm64 release
runtime 980508 PR 47915 Mono llvmaot Product Build Linux x64 release
runtime 980508 PR 47915 Libraries Build FreeBSD x64 Debug
runtime 980508 PR 47915 Build Linux x64 Release AllSubsets_Mono_LLVMAOT
runtime 980508 PR 47915 Mono Browser AOT offsets
runtime 980508 PR 47915 Build Linux x64 Debug AllSubsets_Mono_LLVMJIT
runtime 980508 PR 47915 Build Android x86 Debug AllSubsets_Mono
runtime 980508 PR 47915 Libraries Build Linux_musl arm Release
runtime 980508 PR 47915 CoreCLR Product Build Linux_musl x64 release
runtime 980508 PR 47915 Libraries Build Linux_musl arm64 Release
runtime 980508 PR 47915 Mono Product Build Linux arm64 debug
runtime 980508 PR 47915 CoreCLR Product Build Linux_musl arm64 release
runtime 980508 PR 47915 CoreCLR Product Build Linux arm release
runtime 980508 PR 47915 Mono Product Build Linux x64 release
runtime 980508 PR 47915 Libraries Build Linux arm Release
runtime 980508 PR 47915 Build Android arm64 Release AllSubsets_Mono
runtime 980508 PR 47915 CoreCLR Product Build Linux_musl arm release

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.

@jaredpar
Copy link
Member Author

Data from the CI pipelines

Build Kind Timeline Record
573152 PR #34050 Override CoreCLR from live drop
573007 PR #33749 Build
572108 PR #33459 Build
572630 PR #34071 Build
572630 PR #34071 Build product
572124 PR #33864 Build CoreCLR Runtime
572619 PR #34070 Build product
572488 Rolling Override CoreCLR from live drop
572416 PR #34059 Override Mono from live drop
572412 PR #34009 Build CoreCLR Runtime
572350 PR #32592 Build CoreCLR Runtime
572194 Rolling Build product
572061 Rolling Build CoreCLR Runtime
572112 PR #34029 Build CoreCLR Runtime

Evaluated 100 builds
Impacted 13 bulids
Impacted 14 jobs

@jaredpar jaredpar added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Mar 25, 2020
@wli3
Copy link

wli3 commented Mar 26, 2020

dotnet/sdk#11001

@am11
Copy link
Member

am11 commented Mar 26, 2020

@wli3, I think dotnet-install is working out fine for a long time and it seems like this issue is with the wrong version being picked up by these jobs. For example, it is also happening on Windows / PowerShell side:

link: https://dev.azure.com/dnceng/public/_build/results?buildId=574793&view=logs&jobId=fb000423-50a9-5897-1483-627612d50fb2&j=fb000423-50a9-5897-1483-627612d50fb2&t=0db499c2-6fe8-5392-f998-4ee23307441b

[2020/03/26 18:55:51][INFO] DotNet Install Path: 'F:\workspace\_work\1\s\Payload\performance\tools\dotnet\x64'
[2020/03/26 18:55:51][INFO] Downloading https://dot.net/v1/dotnet-install.ps1
[2020/03/26 18:55:52][INFO] $ pushd "F:\workspace\_work\1\s\Payload\performance"
[2020/03/26 18:55:52][INFO] $ powershell.exe -NoProfile -ExecutionPolicy Bypass F:\workspace\_work\1\s\Payload\performance\tools\dotnet\x64\dotnet-install.ps1 -InstallDir F:\workspace\_work\1\s\Payload\performance\tools\dotnet\x64 -Architecture x64 -Channel master
[2020/03/26 18:55:53][INFO] dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20176.3/dotnet-sdk-5.0.100-preview.3.20176.3-win-x64.zip
[2020/03/26 18:55:55][INFO] dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20176.3/dotnet-sdk-5.0.100-preview.3.20176.3-win-x64.zip
[2020/03/26 18:55:55][INFO] dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20176.3/dotnet-dev-win-x64.5.0.100-preview.3.20176.3.zip
[2020/03/26 18:55:57][INFO] dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20176.3/dotnet-dev-win-x64.5.0.100-preview.3.20176.3.zip
[2020/03/26 18:55:57][INFO] Could not find/download: ".NET Core SDK" with version = 5.0.100-preview.3.20176.3
[2020/03/26 18:55:57][INFO] Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
[2020/03/26 18:55:57][INFO] At F:\workspace\_work\1\s\Payload\performance\tools\dotnet\x64\dotnet-install.ps1:655 char:5
[2020/03/26 18:55:57][INFO] +     throw "Could not find/download: `"$assetName`" with version = $Sp ...
[2020/03/26 18:55:57][INFO] +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2020/03/26 18:55:57][INFO]     + CategoryInfo          : OperationStopped: (Could not find/...ET Core support:String) [], RuntimeException
[2020/03/26 18:55:57][INFO]     + FullyQualifiedErrorId : Could not find/download: ".NET Core SDK" with version = 5.0.100-preview.3.20176.3
[2020/03/26 18:55:57][INFO] Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
[2020/03/26 18:55:57][INFO] 

@jaredpar
Copy link
Member Author

jaredpar commented Apr 1, 2020

Data from today

Build Kind Timeline Record
583388 PR #34297 Build product
583335 PR #33553 Build CoreCLR Runtime
583335 PR #33553 Build CoreCLR Runtime
583331 Rolling Restore
583239 Rolling Restore
583233 PR #33553 Build CoreCLR Runtime
582153 Rolling Build managed test components
582358 PR #33604 Build CoreCLR Runtime
581971 PR #33108 Build CoreCLR Runtime
580817 PR #34314 Build CoreCLR Runtime
581803 Rolling Override CoreCLR from live drop
581493 PR #34125 Build product
581523 Rolling Override CoreCLR from live drop

Evaluated 100 builds
Impacted 12 bulids
Impacted 13 jobs

runfo search-timeline -d runtime -c 100 -pr -v "Failed to install dotnet" -m

@am11
Copy link
Member

am11 commented Apr 2, 2020

cc @janvorli, @safern, FWIW, I did some digging in my PRs and I thought I should share my findings:

In some cases, this error is due to wrong version being referenced, so it occurs on Linux, macOS and Windows build.

In other cases, from the top comment:

curl: (56) GnuTLS recv error (-9)

it occurs only on Linux machines, where GnuTLS (which has a bug or in other words has incompatible TLS handshake with some protocols/servers) is used as cURL backend, as opposed to OpenSSL based cURL.

Therefore, I think increasing the retries to even 100 in dotnet-install script in dotnet/sdk repo would not fix it. We can update the docker containers to use the desired cURL.

@jaredpar
Copy link
Member Author

jaredpar commented Apr 2, 2020

@am11

In some cases, this error is due to wrong version being referenced, so it occurs on Linux, macOS and Windows build.

Can you elaborate on what is the wrong version here? Not quite sure which part of the stack your referring to.

it occurs only on Linux machines, where GnuTLS (which has a bug or in other words has incompatible TLS handshake with some protocols/servers) is used as cURL backend, as opposed to OpenSSL based cURL.

Do you know which images these are that we need to look into updating?

@am11
Copy link
Member

am11 commented Apr 2, 2020

Can you elaborate on what is the wrong version here?

#34015 (comment), in this run, it failed on Linux and Windows, because that day, perf leg were failing because those were requiring the SDK version, which was really non-existing. I think it was later fixed.

Do you know which images these are that we need to look into updating?

I think it is bit more complicated as it does not always fail with the GnuTLS, but whenever it fails on Linux, as far as i can see, it is always with GnuTLS. At that time, you can quickly repro it with GnuTLS-backed curl locally, while wget and OpenSSL-backed curl will happily download the file.

Disclaimer, this information is empirical at best, so please treat it like so. However, it is maybe something to keep an eye on. :)

@jaredpar
Copy link
Member Author

jaredpar commented Apr 2, 2020

@donJoseLuis who's team is driving the fixes here as there is some more context.

Disclaimer, this information is empirical at best, so please treat it like so. However, it is maybe something to keep an eye on. :)

Understood. Appreciate the incite.

We've also frankly been scratching our heads over this one too. It actually being two issues (general flakiness that can be improved with retry and fundamental issue with some images) would explain the data I've been seeing. Specifically that the persistent failures are concentrated in dotnet/runtime where we have a higher investment in docker and lots of Linux images but that the failure does also show up in other repos in batches.

@am11
Copy link
Member

am11 commented Apr 2, 2020

To confirm or rule out GnuTLS is a rootcause:

  1. one very quick fix could be to uninstall curl from docker containers, and install wget to satisfy this control flow: https://github.com/dotnet/sdk/blob/dc4d93adbc6d8893779a6e512f79dd43fa78925b/scripts/obtain/dotnet-install.sh#L231.
  2. or ensure all container images get OpenSSL based curl in PATH.
  3. another fix could be to switch these conditions, so wget gets precedence over curl.

@safern
Copy link
Member

safern commented Apr 2, 2020

In some cases, this error is due to wrong version being referenced, so it occurs on Linux, macOS and Windows build.

This issue is where dev test builds of their official build was updating the information of the latest SDK in the specific channel, but since it was a build from a dev branch, it didn't publish any assets. I believe that is getting fixed already.

@josalem
Copy link
Contributor

josalem commented Apr 3, 2020

I believe I encountered this (or at least a similar issue) on my PR (#33307):
https://dev.azure.com/dnceng/public/_build/results?buildId=586385&view=logs&j=00c243a4-9c16-5cfb-b528-2a0497049f82&t=41fca9fd-d018-57ef-b1d8-be9a93d2d9d3&l=47

CoreCLR Pri0 Test Run Linux x64 checked

...
dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20170.6/dotnet-sdk-5.0.100-preview.3.20170.6-linux-x64.tar.gz
curl: (56) TCP connection reset by peer
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20170.6/dotnet-sdk-5.0.100-preview.3.20170.6-linux-x64.tar.gz
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20170.6/dotnet-dev-centos-x64.5.0.100-preview.3.20170.6.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.3.20170.6/dotnet-dev-centos-x64.5.0.100-preview.3.20170.6.tar.gz
dotnet_install: Error: Could not find/download: `.NET Core SDK` with version = 5.0.100-preview.3.20170.6
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Failed to install dotnet SDK from public location (exit code '1').
...

@janvorli
Copy link
Member

janvorli commented Apr 3, 2020

I have also experienced the failure with attempt to download the SDK resulting in HTTP error 404. When that happened, I've tried to open the URL in my local browser on my Windows machine and I was also getting the HTTP error 404. So this had clearly no relation to GnuTLS.

@wli3
Copy link

wli3 commented Apr 3, 2020

@donJoseLuis

@donJoseLuis
Copy link

donJoseLuis commented Apr 8, 2020

Hello @jaredpar , let us know if the situation is ameliorated, after dotnet/sdk#11001.
Heads up @bozturkMSFT

@jaredpar
Copy link
Member Author

jaredpar commented Apr 8, 2020

@donJoseLuis will do. The other TLS issues we had yesterday are muddying the data a bit. Have to probably wait another day to see if it's resolved. I will definitely be looking at the data though.

@am11
Copy link
Member

am11 commented Nov 3, 2020

Regarding the previous conversation about curl issue; if we switch the order of if/elif conditions here: https://github.com/dotnet/install-scripts/blob/ad55554a0b84244ff8c68579df8b84af30b9abfc/src/dotnet-install.sh#L711-L714 (wget-first) and these error disappear; then it would mean that all unix-y agents just need curl v7.47.0 or above. Note that the fixes that went into curl v7.47.0 applied to all TLS libraries (including libressl used by curl on macOS).

ps - dotnet-install script could anyway provide an option to select tool of choice (curl vs. wget) to avoid such code changes.

@MattGal
Copy link
Member

MattGal commented Nov 3, 2020

@eerhardt I have a few things to chat about w/ the Mac MMS folks, but 3 is really just not a lot of data, if we can get more that'd be great.

@ViktorHofer ViktorHofer changed the title Errors installing the SDK during official builds Errors installing the SDK during builds Nov 12, 2020
@ViktorHofer
Copy link
Member

Converted this issue to a live tracking one (see top post). This still happens happens, but less often.

@ViktorHofer
Copy link
Member

Happened again in this official build: https://dev.azure.com/dnceng/internal/_build/results?buildId=895670&view=results. Unsure what's the current state of this issue. Is someone actively working on a mitigation? cc @marcpopMSFT

@wli3
Copy link

wli3 commented Dec 1, 2020

@bozturkMSFT

@marcpopMSFT
Copy link
Member

@donJoseLuis @bozturkMSFT are driving improvements into the install script at the moment. We should probably retry the initial link rather than falling back to the legacy link as that never seems to work.

@wfurt
Copy link
Member

wfurt commented Dec 1, 2020

It would probably make sense to retry initial URL for network failures but not 404 and perhaps others. I'm not sure if we can get that granularity.
Is the legacy link completely broken or does it work only for certain .NET versions?
It does seems like it is always for recent .NET versions.

@eerhardt
Copy link
Member

eerhardt commented Dec 1, 2020

Is the legacy link completely broken or does it work only for certain .NET versions?

It only works for earlier versions of .NET. It is the “legacy” URL format. I think the switch happened sometime around 2.0

@wfurt
Copy link
Member

wfurt commented Dec 1, 2020

so for 3.0+ it would make sense to only try the initial url, right? e.g. never fall-back for master and 5.0

@eerhardt
Copy link
Member

eerhardt commented Dec 1, 2020

so for 3.0+ it would make sense to only try the initial url, right? e.g. never fall-back for master and 5.0

Yes, I think that would be fine. The URL naming change came in the summer of 2017 - dotnet/cli#6764. For versions above that, it doesn't make sense to try the legacy URL format.

@donJoseLuis
Copy link

Greetings @ViktorHofer.

  • The original issue tracked was root-caused to particularities in the agent running the scripts months back
  • Since then, the install-scripts have moved to repo: https://github.com/dotnet/install-scripts. Please track new problems in that repo.
  • We have also implemented a monitoring system that detects script, website and feed problems; creating an incident allowing us to jump in and fix (hopefully with negligible customer impact)
  • In this case (404 for a resource), the problem could be the script building a BAD resource URL or a valid resource unavailable in the server; https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100/dotnet-dev-ubuntu.16.04-x64.5.0.100.tar.gz
  • @ViktorHofer can you please describe the impact of the problem?
    @bozturkMSFT heads up on this.

@ViktorHofer
Copy link
Member

Thanks @donJoseLuis.

Since then, the install-scripts have moved to repo: https://github.com/dotnet/install-scripts. Please track new problems in that repo.

Should we move this issue over then?

@ViktorHofer can you please describe the impact of the problem?

The impact is failing public and internal builds which at the end of the day results in loss of productivity of the team and community. Combined with bad timing, in the worst case this could cause some of our releases to be delayed because of build failures.

@donJoseLuis
Copy link

Thanks @ViktorHofer
Let's track the problem you're facing in dotnet/install-scripts#127. The impact you described is clear: 5.0.100 in UBUNTU is blocked.

@runfoapp runfoapp bot removed this from the 6.0.0 milestone Apr 6, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' blocking-official-build
Projects
None yet
Development

No branches or pull requests