runtime: Unable to get dotnet SDK to build tip....
./build-test.sh buildtestwrappersonly arm
__DistroRid: linux-arm
__RuntimeId: linux-arm
Creating test wrappers...
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.5.20228.8/dotnet-sdk-5.0.100-preview.5.20228.8-linux-x64.tar.gz
curl: (18) transfer closed with 86430780 bytes remaining to read
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.5.20228.8/dotnet-sdk-5.0.100-preview.5.20228.8-linux-x64.tar.gz
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/5.0.100-preview.5.20228.8/dotnet-dev-ubuntu.16.04-x64.5.0.100-preview.5.20228.8.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.5.20228.8/dotnet-dev-ubuntu.16.04-x64.5.0.100-preview.5.20228.8.tar.gz
dotnet_install: Error: Could not find/download: `.NET Core SDK` with version = 5.0.100-preview.5.20228.8
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').
Could not execute because the application was not found or a compatible .NET Core SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET Core program:
The application 'msbuild' does not exist.
* You intended to execute a .NET Core SDK command:
A compatible installed .NET Core SDK for global.json version [5.0.100-preview.5.20228.8] from [/home/stmaclea/git/runtime/global.json] was not found.
Install the [5.0.100-preview.5.20228.8] .NET Core SDK or update [/home/stmaclea/git/runtime/global.json] with an installed .NET Core SDK:
5.0.100-preview.4.20202.8 [/home/stmaclea/git/runtime/.dotnet/sdk]
Error: XUnit wrapper build failed. Refer to the build log files for details (above)
/cc @ViktorHofer @safern
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (21 by maintainers)
Updated the top post. It was clearly trying to download. It sat there for minutes.
The global.json says you need a 5.0.100-preview.5 SDK, does getting a latest one help at all (outside of the automation)?
System wide dotnet
In the runtime directory