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

Runtime Tests Linux_musl arm fails with "The "FindDotNetCliPackage" task failed unexpectedly." #44541

Closed
sandreenko opened this issue Nov 11, 2020 · 14 comments
Labels
arch-arm32 area-Infrastructure-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-linux Linux OS (any supported distro)

Comments

@sandreenko
Copy link
Contributor

sandreenko commented Nov 11, 2020

Full log:

  Starting Azure Pipelines Test Run CoreCLR Linux arm Checked no_tiered_compilation @ (Alpine.312.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm32v7-20200908125213-5bece88
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018: The "FindDotNetCliPackage" task failed unexpectedly. [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018: System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018:    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018:    at Microsoft.DotNet.Helix.Sdk.FindDotNetCliPackage.ExecuteAsync() in /_/src/Microsoft.DotNet.Helix/Sdk/FindDotNetCliPackage.cs:line 61 [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018:    at Microsoft.DotNet.Helix.Sdk.FindDotNetCliPackage.Execute() in /_/src/Microsoft.DotNet.Helix/Sdk/FindDotNetCliPackage.cs:line 45 [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
/__w/1/s/.packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/__w/1/s/src/tests/Common/helixpublishwitharcade.proj]
##[error].packages/microsoft.dotnet.helix.sdk/6.0.0-beta.20560.1/tools/dotnet-cli/DotNetCli.targets(5,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Helix) The "FindDotNetCliPackage" task failed unexpectedly.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Microsoft.DotNet.Helix.Sdk.FindDotNetCliPackage.ExecuteAsync() in /_/src/Microsoft.DotNet.Helix/Sdk/FindDotNetCliPackage.cs:line 61
   at Microsoft.DotNet.Helix.Sdk.FindDotNetCliPackage.Execute() in /_/src/Microsoft.DotNet.Helix/Sdk/FindDotNetCliPackage.cs:line 45
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()

An example:
https://dev.azure.com/dnceng/public/_build/results?buildId=882549&view=logs&j=22eeac8c-742e-5aad-c88c-3907a882a5f0&t=8e36944f-99e4-5f3f-4391-f6a5a224ec79

It looks like the last item that blocks at least some green runs after we disabled individual failing tests, should we disable the job?

Link #702

Runfo Tracking Issue: Linux Musl ARM Outerloop can't find dotnet cli package

Definition Build Kind Job Name

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0
@sandreenko sandreenko added arch-arm32 area-Infrastructure-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-linux-musl Linux distributions using musl library. labels Nov 11, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Nov 11, 2020
@sandreenko sandreenko added this to the 6.0.0 milestone Nov 11, 2020
@sandreenko
Copy link
Contributor Author

PTAL @tommcdon @trylek @dotnet/runtime-infrastructure

@hoyosjs
Copy link
Member

hoyosjs commented Nov 11, 2020

Turning this into a tracking issue. It seems to only affect linux-musl-arm outerloop pipelines, but there's 106 hits over 7 days, so it seems somewhat deterministic.

@trylek
Copy link
Member

trylek commented Nov 11, 2020

Hmm, that's weird. @janvorli, it looks like we're actually running the linux_musl arm tests in outerloop runs only, not in PR / CI runs. Did you try to run the outerloop pipeline when introducing the leg i.o.w. do we know if this ever worked?

@safern
Copy link
Member

safern commented Nov 11, 2020

It seems like it is trying to download it from: https://dotnetcli.azureedge.net/dotnet/Runtime/5.0.0-rc.2.20475.5/dotnet-runtime-5.0.0-rc.2.20475.5-linux-musl-arm.tar.gz

I wonder if we shipped a runtime for linux-musl-arm for that version of the runtime.

@janvorli
Copy link
Member

We are running the libraries linux_musl_arm tests in the CI. I can see the leg in the recent CIs. It seems that run is executed only if coreclr was changed.

@janvorli
Copy link
Member

@safern
Copy link
Member

safern commented Nov 11, 2020

This works: https://dotnetcli.azureedge.net/dotnet/Runtime/5.0.0/dotnet-runtime-5.0.0-linux-musl-arm.tar.gz

It seems like we're using the BundledNetCoreAppVersion which is defined by the sdk used to build... in this case 5.0.0-rc.2.*

I suggest changing this:

<DotNetCliVersion>$(BundledNETCoreAppPackageVersion)</DotNetCliVersion>
to 5.0.0 in the meantime until we update our SDK to use 5.0.0 in our global.json

@safern
Copy link
Member

safern commented Nov 11, 2020

Btw, @janvorli, it seems like Alpine ARM is not included in the release notes for 5.0.0: https://github.com/dotnet/core/blob/master/release-notes/5.0/5.0.0/5.0.0.md#net-500---november-10-2020

@trylek
Copy link
Member

trylek commented Nov 11, 2020

@janvorli - I believe the log you mention corresponds to a "libraries" Linux_musl arm run, the run that's failing in the outerloop pipeline is a "coreclr" Linux_musl arm run; these two still use somewhat separate scripts and so the properties are likely forked, i.o.w. we should probably do what Santi suggests for the time being.

@janvorli
Copy link
Member

That's what I said - we are running only the libraries tests in the CI.

@trylek
Copy link
Member

trylek commented Nov 11, 2020

I see, sorry about missing that bit in your previous response.

@janvorli
Copy link
Member

it seems like Alpine ARM is not included in the release notes for 5.0.0:

It is intentional, I have found only last week that the aspnetcore packages are not built for 5.0. I have thought I've seen 5.0-RC2 ones being produced after I've merged in my change to aspnetcore, but I've obviously made a mistake and seen something else. So we will fix that for 5.0.1.

@safern
Copy link
Member

safern commented Nov 11, 2020

Sounds good. Didn't know if it was intentional or missed. Thanks for the update.

@jkotas jkotas added os-linux Linux OS (any supported distro) and removed os-linux-musl Linux distributions using musl library. labels Nov 19, 2020
@ViktorHofer
Copy link
Member

Closing as not observable anymore.

@ViktorHofer ViktorHofer removed the untriaged New issue has not been triaged by the area owner label Feb 23, 2021
@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
arch-arm32 area-Infrastructure-coreclr blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

8 participants