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

[main] Update dependencies from dotnet/runtime #45042

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Nov 22, 2024

This pull request updates the following dependencies

From https://github.com/dotnet/runtime

  • Subscription: cedddd63-79f5-4e7e-6d46-08dc434c4948
  • Build: 20241126.2
  • Date Produced: November 26, 2024 1:08:08 PM UTC
  • Commit: 0170d78578a04206542f32e4db3eaa88a5384973
  • Branch: refs/heads/main

…1122.1

Microsoft.SourceBuild.Intermediate.runtime.linux-x64 , Microsoft.Bcl.AsyncInterfaces , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.NET.HostModel , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.SystemEvents , System.CodeDom , System.Composition.AttributedModel , System.Composition.Convention , System.Composition.Hosting , System.Composition.Runtime , System.Composition.TypedParts , System.Configuration.ConfigurationManager , System.Formats.Asn1 , System.IO.Hashing , System.Reflection.MetadataLoadContext , System.Resources.Extensions , System.Security.Cryptography.Pkcs , System.Security.Cryptography.ProtectedData , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encoding.CodePages , System.Text.Json , System.Windows.Extensions , VS.Redist.Common.NetCore.SharedFramework.x64.10.0 , VS.Redist.Common.NetCore.TargetingPack.x64.10.0
 From Version 10.0.0-alpha.1.24570.9 -> To Version 10.0.0-alpha.1.24572.1
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-CodeFlow untriaged Request triage from a team member labels Nov 22, 2024
Copy link
Contributor Author

Notification for subscribed users from https://github.com/dotnet/runtime:

@dotnet/dnr-codeflow

Action requested: Please take a look at this failing automated dependency-flow pull request's checks; failures may be related to changes which originated in your repo.

  • This pull request contains changes from your source repo (https://github.com/dotnet/runtime) and seems to have failed checks in this PR. Please take a peek at the failures and comment if they seem relevant to your changes.
  • If you're being tagged in this comment it is due to an entry in the related Maestro Subscription of the Build Asset Registry. If you feel this entry has added your GitHub login or your GitHub team in error, please update the subscription to reflect this.
  • For more details, please read the Arcade Darc documentation

@jeffschwMSFT
Copy link
Member

rerunning leg due to download failure

Download from all targets failed. List of attempted targets: file:///vmr/artifacts/assets/Release/Runtime/10.0.0-alpha.1.24572.1/dotnet-runtime-10.0.0-alpha.1.24572.1-centos.9-x64.tar.gz
 [Check failure on line 565 in /vmr/src/aspnetcore/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj](https://github.com/dotnet/sdk/pull/45042/files#annotation_28951359868)

@jeffschwMSFT
Copy link
Member

@agocke can you take a look? there is a durable download failure

@agocke
Copy link
Member

agocke commented Nov 22, 2024

Looking

@agocke
Copy link
Member

agocke commented Nov 22, 2024

Hmm, this is the VMR so I'm not precisely sure I know what's going on. But I think the "download" here is supposed to be pulling the runtime pack from a local directory -- presumably because the ASP build is assuming that the runtime pack has already been built as part of the VMR. But it doesn't seem like that file is available.

@ViktorHofer Does this problem look familiar to you? Am I right in describing what's going on?

…1122.8

Microsoft.SourceBuild.Intermediate.runtime.linux-x64 , Microsoft.Bcl.AsyncInterfaces , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.NET.HostModel , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.SystemEvents , System.CodeDom , System.Composition.AttributedModel , System.Composition.Convention , System.Composition.Hosting , System.Composition.Runtime , System.Composition.TypedParts , System.Configuration.ConfigurationManager , System.Formats.Asn1 , System.IO.Hashing , System.Reflection.MetadataLoadContext , System.Resources.Extensions , System.Security.Cryptography.Pkcs , System.Security.Cryptography.ProtectedData , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encoding.CodePages , System.Text.Json , System.Windows.Extensions , VS.Redist.Common.NetCore.SharedFramework.x64.10.0 , VS.Redist.Common.NetCore.TargetingPack.x64.10.0
 From Version 10.0.0-alpha.1.24570.9 -> To Version 10.0.0-alpha.1.24572.8
@ViktorHofer
Copy link
Member

@carlossanlop can you please take a look at the source-build failures? Those are related to the use of the new maintenance-packages in this repo.

@ViktorHofer
Copy link
Member

@jeffschwMSFT @agocke which failure?

…1125.1

Microsoft.SourceBuild.Intermediate.runtime.linux-x64 , Microsoft.Bcl.AsyncInterfaces , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.NET.HostModel , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.SystemEvents , System.CodeDom , System.Composition.AttributedModel , System.Composition.Convention , System.Composition.Hosting , System.Composition.Runtime , System.Composition.TypedParts , System.Configuration.ConfigurationManager , System.Formats.Asn1 , System.IO.Hashing , System.Reflection.MetadataLoadContext , System.Resources.Extensions , System.Security.Cryptography.Pkcs , System.Security.Cryptography.ProtectedData , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encoding.CodePages , System.Text.Json , System.Windows.Extensions , VS.Redist.Common.NetCore.SharedFramework.x64.10.0 , VS.Redist.Common.NetCore.TargetingPack.x64.10.0
 From Version 10.0.0-alpha.1.24570.9 -> To Version 10.0.0-alpha.1.24575.1
@jeffschwMSFT
Copy link
Member

ha, now it is a different failure.

/vmr/src/roslyn/src/NuGet/Microsoft.CodeAnalysis.Package/Microsoft.CodeAnalysis.Package.csproj(0,0): error NU1605: (NETCORE_ENGINEERING_TELEMETRY=Restore) Warning As Error: Detected package downgrade: System.Buffers from 4.6.0 to 4.5.1. Reference the package directly from the project to select a different version. 
 Microsoft.CodeAnalysis -> System.IO.Pipelines 10.0.0-alpha.1.24575.1 -> System.Buffers (>= 4.6.0) 
 Microsoft.CodeAnalysis -> System.Memory 4.5.5 -> System.Buffers (>= 4.5.1)

who is the right person to look at this?

@ViktorHofer
Copy link
Member

cc @carlossanlop @ericstj

@carlossanlop
Copy link
Member

Microsoft.CodeAnalysis -> System.IO.Pipelines 10.0.0-alpha.1.24575.1 -> System.Buffers (>= 4.6.0)
Microsoft.CodeAnalysis -> System.Memory 4.5.5 -> System.Buffers (>= 4.5.1)

We have the latest versions consumed by buffers, so I suppose we have to make CodeAnalysis consume the latest version as well. I see the error says it's coming from /vmr/src/roslyn/src/NuGet/Microsoft.CodeAnalysis.Package/Microsoft.CodeAnalysis.Package.csproj. Do I need to bump the version here under that folder or in the roslyn repo directly? My hunch says roslyn directly, then flow it here. I'll try that first.

@carlossanlop
Copy link
Member

I just got told to use a patch here. I'll do that first.

@carlossanlop
Copy link
Member

Roslyn is also blocked when the dependencies are updated, and can only be unblocked after merging dotnet/msbuild#11038

@ViktorHofer gave me the suggestion of only updating the runtime dependencies when not in source-build. I'll prepare a runtime patch for that.

@carlossanlop carlossanlop requested review from a team as code owners November 26, 2024 01:04
@ViktorHofer
Copy link
Member

The other way around, only in source-build update the packages. And I meant in roslyn, not runtime.

@carlossanlop
Copy link
Member

The other way around, only in source-build update the packages. And I meant in roslyn, not runtime.

But this all started because we updated the deps in runtime, which caused a problem in roslyn, which we tried to fix by updating the deps too, but we can't because we need the msbuild deps to flow first, and that isn't happening any time soon.

What am I missing? How would we fix this in roslyn if roslyn is blocked by msbuild?

@ViktorHofer
Copy link
Member

ViktorHofer commented Nov 26, 2024

I tried to explain that in yesterday's stand-up. Source-build uses live dependencies. Roslyn's build is only failing when building from source as the msft build doesn't use the latest runtime packages yet. For a quick workaround, the package version update in roslyn can be conditioned on when building from source.

…1126.2

Microsoft.SourceBuild.Intermediate.runtime.linux-x64 , Microsoft.Bcl.AsyncInterfaces , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.Logging , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Console , Microsoft.NET.HostModel , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Host.win-x64 , Microsoft.NETCore.App.Ref , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.SystemEvents , System.CodeDom , System.Composition.AttributedModel , System.Composition.Convention , System.Composition.Hosting , System.Composition.Runtime , System.Composition.TypedParts , System.Configuration.ConfigurationManager , System.Formats.Asn1 , System.IO.Hashing , System.Reflection.MetadataLoadContext , System.Resources.Extensions , System.Security.Cryptography.Pkcs , System.Security.Cryptography.ProtectedData , System.Security.Cryptography.Xml , System.Security.Permissions , System.ServiceProcess.ServiceController , System.Text.Encoding.CodePages , System.Text.Json , System.Windows.Extensions , VS.Redist.Common.NetCore.SharedFramework.x64.10.0 , VS.Redist.Common.NetCore.TargetingPack.x64.10.0
 From Version 10.0.0-alpha.1.24570.9 -> To Version 10.0.0-alpha.1.24576.2

Roslyn cannot immediately get these same dependencies updated because msbuild will fail to find them.

MSBuild needs to get these package versions updated before all other repos.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the patch guidelines, please add a Backport:<issue/PR> line to track the work that will remove this patch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created #45155 to track this.

@carlossanlop
Copy link
Member

The conditions in the patch are wrong. Fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CodeFlow untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants