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] Synchronize VMR failed #4723

Closed
Winniexu01 opened this issue Nov 8, 2024 · 1 comment
Closed

[main] Synchronize VMR failed #4723

Winniexu01 opened this issue Nov 8, 2024 · 1 comment
Labels
area-build Improvements in source-build's own build process ops-monitor Issues created/handled by the source build monitor role untriaged

Comments

@Winniexu01
Copy link
Member

Failing build (internal Microsoft link)

Synchronize dotnet/dotnet (Unix) step failed with Once you make changes to the conflicting VMR patch, commit it locally and re-run this script.:

dbug: Executing command: 'git -C /mnt/vss/_work/1/vmr apply --cached --ignore-space-change --directory src/arcade /mnt/vss/_work/1/vmr/src/sdk/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch'
warn: A new branch was created for the sync and didn't get merged as the sync was interrupted. A new sync should start from main branch.
fail: Failed to synchronize repo sdk
      Failed to apply the patch 0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch to src/arcade.
      
      Exit code: 1
      Std err:
      error: patch failed: src/arcade/global.json:1
      error: src/arcade/global.json: patch does not apply
      
      
      .
dbug: Microsoft.DotNet.DarcLib.VirtualMonoRepo.PatchApplicationFailedException: Failed to apply the patch 0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch to src/arcade.
      
      Exit code: 1
      Std err:
      error: patch failed: src/arcade/global.json:1
      error: src/arcade/global.json: patch does not apply
      
      
      
         at Microsoft.DotNet.DarcLib.VirtualMonoRepo.VmrPatchHandler.ApplyPatch(VmrIngestionPatch patch, NativePath targetDirectory, Boolean removePatchAfter, Boolean reverseApply, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/VmrPatchHandler.cs:line 310
         at Microsoft.DotNet.DarcLib.VirtualMonoRepo.VmrManagerBase.ReapplyVmrPatchesAsync(IReadOnlyCollection`1 patches, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/VmrManagerBase.cs:line 190
         at Microsoft.DotNet.DarcLib.VirtualMonoRepo.VmrUpdater.UpdateRepositoryRecursively(VmrDependencyUpdate rootUpdate, IReadOnlyCollection`1 additionalRemotes, String componentTemplatePath, String tpnTemplatePath, Boolean generateCodeowners, Boolean generateCredScanSuppressions, Boolean discardPatches, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/VmrUpdater.cs:line 411
         at Microsoft.DotNet.DarcLib.VirtualMonoRepo.VmrUpdater.UpdateRepository(String mappingName, String targetRevision, String targetVersion, Boolean updateDependencies, IReadOnlyCollection`1 additionalRemotes, String componentTemplatePath, String tpnTemplatePath, Boolean generateCodeowners, Boolean generateCredScanSuppressions, Boolean discardPatches, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/DarcLib/VirtualMonoRepo/VmrUpdater.cs:line 131
         at Microsoft.DotNet.Darc.Operations.VirtualMonoRepo.UpdateOperation.ExecuteInternalAsync(String repoName, String targetRevision, IReadOnlyCollection`1 additionalRemotes, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/Darc/Operations/VirtualMonoRepo/UpdateOperation.cs:line 34
         at Microsoft.DotNet.Darc.Operations.VirtualMonoRepo.VmrOperationBase.ExecuteAsync(String repoName, String targetRevision, IReadOnlyCollection`1 additionalRemotes, CancellationToken cancellationToken) in /_/src/Microsoft.DotNet.Darc/Darc/Operations/VirtualMonoRepo/VmrOperationBase.cs:line 103
+ [[ 42 == 0 ]]
@Winniexu01 Winniexu01 added the ops-monitor Issues created/handled by the source build monitor role label Nov 8, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added area-build Improvements in source-build's own build process untriaged labels Nov 8, 2024
@mthalman
Copy link
Member

mthalman commented Nov 8, 2024

Fixed by dotnet/sdk#44756

@mthalman mthalman closed this as completed Nov 8, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in .NET Source Build Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-build Improvements in source-build's own build process 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.

2 participants