Skip to content

Template engine tests hitting known parallelism issue in GetVisualStudioInstances #44878

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

Open
marcpopMSFT opened this issue Nov 14, 2024 · 2 comments

Comments

@marcpopMSFT
Copy link
Member

marcpopMSFT commented Nov 14, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=869444
Build error leg or test failing: Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewInstantiateTests.CanInstantiateTemplate_WithConditions_BasedOnFileName
Pull request: #44859

Error Message

{
  "ErrorMessage": "57005",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=869444
Error message validated: [57005]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/14/2024 7:41:30 PM UTC

Report

Build Definition Step Name Console log Pull Request
1040827 dotnet/sdk Build Log #48931
1041222 dotnet/sdk 🟣 Run TestBuild Tests Log #48913
1040903 dotnet/sdk 🟣 Run FullFramework Tests Log #48640
1040824 dotnet/sdk Build Log #48930
1040820 dotnet/sdk Build Log #48929
1040802 dotnet/sdk Build Log #48926
1040579 dotnet/sdk 🟣 Build Log #48909
1040553 dotnet/sdk 🟣 Build Log #48443
1040365 dotnet/sdk 🟣 Run FullFramework Tests Log #48913
2707961 dotnet-sdk Run FullFramework Tests Log #49771
2707959 dotnet-sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #49875
1039789 dotnet/sdk 🟣 Build Log #46218
1039539 dotnet/sdk 🟣 Build Log #48905
1039309 dotnet/sdk 🟣 Run FullFramework Tests Log #48837
1036817 dotnet/sdk Build Log
1035329 dotnet/sdk Build Log #48736
2704517 dotnet-sdk Build Log #49425
2704493 dotnet-sdk Build Log #49875
2704415 dotnet-sdk Build Log
2703567 dotnet-sdk Build Log #49772
2702677 dotnet-sdk Build Log #49772
2702676 dotnet-sdk Build (centosStream9) Log #49770
1033734 dotnet/sdk 🟣 Build Log #48815
2700176 dotnet-sdk Run AoT Tests in Helix Log #49426
2698793 dotnet-sdk Checkout dotnet-sdk@refs/pull/49638/merge to s Log #49638
2698631 dotnet-sdk Build Log #49423
1030202 dotnet/sdk Build Log #48719
1029568 dotnet/sdk 🟣 Build Log #48719
2697901 dotnet-sdk Build (ubuntu2204DebPkg) Log #49422
1028671 dotnet/sdk 🟣 Build Log #48752
1026349 dotnet/sdk 🟣 Run TestBuild Tests Log #48622
1024988 dotnet/sdk Build Log #48682
1022816 dotnet/sdk Build Log #48622
1021899 dotnet/sdk Build Log #47913
1020818 dotnet/sdk 🟣 Build Log #48583
1020797 dotnet/sdk 🟣 Build Log #48028
1020389 dotnet/sdk 🟣 Run TestBuild Tests Log #48575
1020238 dotnet/sdk Build Log #48436
2690017 dotnet-sdk Build Log
2689318 dotnet-sdk Build Log
2689420 dotnet-sdk Run Tests in Helix Log #49278
2689267 dotnet-sdk Build Log #49268
2689226 dotnet-sdk Build Log
2689019 dotnet-sdk Build Log #49250
1017877 dotnet/sdk Synchronize dotnet/dotnet (Unix) Log #48505
1017863 dotnet/sdk Build Log #48453
1017832 dotnet/sdk Build Log #48501
2688169 dotnet-sdk Run AoT Tests Log #49223
1017407 dotnet/sdk Build Log #48489
1017388 dotnet/sdk Build Log #48477
1016953 dotnet/sdk Build Log #48477
Build Definition Test Pull Request
2705215 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49771
1034179 dotnet/sdk Microsoft.NET.Sdk.Razor.Tests.dll.9.WorkItemExecution #48819
1027165 dotnet/sdk Microsoft.NET.Sdk.BlazorWebAssembly.Tests.dll.1.WorkItemExecution #48709

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 20 54
@BrennanConroy
Copy link
Member

Template engine tests hitting known parallelism issue in GetVisualStudioInstances

Is there an issue describing the problem? Are there people working on fixing it? We're hitting this in the aspnetcore repo a lot and as far as I'm aware we don't do anything with UWP which is how the sdk resolved the problem.

@baronfel
Copy link
Member

baronfel commented Nov 18, 2024

@jaredpar sent a PR here with a short-term workaround that we're working to merge: #44930

The 'true' fix is coming in a future VS release, there was some unintended concurrent access to a critical section that wasn't locked.

@marcpopMSFT marcpopMSFT added this to the 10.0.1xx milestone Dec 18, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged Request triage from a team member label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants