Skip to content

VMR Build Tagging is Failing #4713

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

Closed
ellahathaway opened this issue Oct 31, 2024 · 6 comments · Fixed by dotnet/arcade-services#4120
Closed

VMR Build Tagging is Failing #4713

ellahathaway opened this issue Oct 31, 2024 · 6 comments · Fixed by dotnet/arcade-services#4120
Assignees
Labels
ops-monitor Issues created/handled by the source build monitor role untriaged

Comments

@ellahathaway
Copy link
Member

Example pipeline run (internal Microsoft link)

This is the commit that caused the failure: dotnet/sdk@b66c800

@ellahathaway ellahathaway added the ops-monitor Issues created/handled by the source build monitor role label Oct 31, 2024
@ellahathaway
Copy link
Member Author

This is the error I get when I try to run the darc command locally:

/dotnet/src/sdk# ../../.dotnet/dotnet darc vmr get-version --vmr /dotnet sdk
Unhandled exception encountered
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.DotNet.DarcLib.VirtualMonoRepo.IVmrDependencyTracker' while attempting to activate 'Microsoft.DotNet.Darc.Operations.VirtualMonoRepo.GetRepoVersionOperation'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance[T](IServiceProvider provider, Object[] parameters)
   at Microsoft.DotNet.Darc.Options.CommandLineOptions`1.GetOperation(ServiceProvider sp) in /_/src/Microsoft.DotNet.Darc/Darc/Options/CommandLineOptions.cs:line 25
   at Microsoft.DotNet.Darc.Program.RunOperation(CommandLineOptions opts, ServiceProvider sp) in /_/src/Microsoft.DotNet.Darc/Darc/Program.cs:line 68

@premun - I believe that you merged dotnet/sdk#44554 which updated darc in sdk. Can you please TAL? Thanks.

@premun
Copy link
Member

premun commented Nov 1, 2024

Will do! Sorry about this, I guess the DI test is not working 100%

@Winniexu01
Copy link
Member

Hi , this issue reoccurred with the same error, so I reopened it, example pipeline run (internal Microsoft link)

@premun @marcpopMSFT , this issue caused by dotnet/sdk#44625, could you please TAL? Thanks.

@Winniexu01 Winniexu01 reopened this Nov 5, 2024
@premun
Copy link
Member

premun commented Nov 5, 2024

Yeah, it's because we reverted an update but then it got merged again here which I didn't notice: dotnet/sdk#44625

I will open a manual PR to bump to the correct version

@premun
Copy link
Member

premun commented Nov 5, 2024

Fix is here: dotnet/sdk#44632

@premun
Copy link
Member

premun commented Nov 5, 2024

@premun premun closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops-monitor Issues created/handled by the source build monitor role untriaged
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants