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

Revert runtime update due to build breakage #44741

Closed
wants to merge 1 commit into from

Conversation

SteveSandersonMS
Copy link
Member

Since #44726 was merged, all official main builds have consistently failed with:

/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: The "RestoreTask" task failed unexpectedly. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) The "RestoreTask" task failed unexpectedly. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at NuGet.Common.Migrations.MigrationRunner.Run() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at NuGet.Common.Migrations.MigrationRunner.Run() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at NuGet.Build.Tasks.RestoreTask.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at NuGet.Build.Tasks.RestoreTask.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]

This might be related to dotnet/arcade#10885, but whether or not it is, we need the builds to go back to passing without waiting for that to be fixed.

…ild 20221024.5 (#44726)" due to build breakage

This reverts commit 9f12dc6.
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Oct 26, 2022
@MattGal
Copy link
Member

MattGal commented Oct 26, 2022

@SteveSandersonMS , @brunolins16 was looking at this in this teams thread; the workaround seems to have helped?
("The workaround is running dotnet nuget --info as the first NuGet command on the machine.")

@brunolins16
Copy link
Member

@SteveSandersonMS , @brunolins16 was looking at this in this teams thread; the workaround seems to have helped? ("The workaround is running dotnet nuget --info as the first NuGet command on the machine.")

I added the workaround for failing steps in the Linux build #44734 and it was showing no issues.

@brunolins16
Copy link
Member

Since #44726 was merged, all official main builds have consistently failed with:

/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: The "RestoreTask" task failed unexpectedly. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) The "RestoreTask" task failed unexpectedly. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex. [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at NuGet.Common.Migrations.MigrationRunner.Run() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at NuGet.Common.Migrations.MigrationRunner.Run() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at NuGet.Build.Tasks.RestoreTask.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at NuGet.Build.Tasks.RestoreTask.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]
/mnt/vss/_work/1/s/.dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj] [/mnt/vss/_work/1/s/.packages/microsoft.dotnet.arcade.sdk/8.0.0-beta.22520.1/tools/Tools.proj]
##[error].dotnet/sdk/8.0.100-alpha.1.22524.1/NuGet.targets(132,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/tmp/6566fc12-85fc-4228-abe0-bcf60ad2065d/restore.csproj]

This might be related to dotnet/arcade#10885, but whether or not it is, we need the builds to go back to passing without waiting for that to be fixed.

@SteveSandersonMS can you share the build link that causes this error because looking at the latest pipelines runs everything looks green.

@SteveSandersonMS
Copy link
Member Author

@brunolins16 Public builds have been passing, but the internal official builds have been failing since that change: https://dev.azure.com/dnceng/internal/_build?definitionId=21

@brunolins16
Copy link
Member

@brunolins16 Public builds have been passing, but the internal official builds have been failing since that change: https://dev.azure.com/dnceng/internal/_build?definitionId=21

@SteveSandersonMS maybe it is related to the SDK update, since this build https://dev.azure.com/dnceng/internal/_build/results?buildId=2029740&view=results (that is the first failure) also includes my PR and the one before did not.

@brunolins16
Copy link
Member

brunolins16 commented Oct 26, 2022

@brunolins16 Public builds have been passing, but the internal official builds have been failing since that change: https://dev.azure.com/dnceng/internal/_build?definitionId=21

@SteveSandersonMS maybe it is related to the SDK update, since this build https://dev.azure.com/dnceng/internal/_build/results?buildId=2029740&view=results (that is the first failure) also includes my PR and the one before did not.

Oh wait! My fix is working but what is failing is Build: Linux ARM64 that did not apply the workaround to Build RPM installer step.

@brunolins16
Copy link
Member

@SteveSandersonMS I think this PR would help with this issue #44745

@brunolins16
Copy link
Member

@SteveSandersonMS the latest internal build succeeded, after my changes https://dev.azure.com/dnceng/internal/_build/results?buildId=2030322&view=results

@SteveSandersonMS
Copy link
Member Author

Excellent - thanks for persisting with this right to a successful conclusion, @brunolins16!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants