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

Template Engine Tests Fail on NET 10 for Listing Templates #45283

Closed
nagilson opened this issue Dec 3, 2024 · 4 comments
Closed

Template Engine Tests Fail on NET 10 for Listing Templates #45283

nagilson opened this issue Dec 3, 2024 · 4 comments

Comments

@nagilson
Copy link
Member

nagilson commented Dec 3, 2024

Build Information

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

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "dotnet-new.IntegrationTests_net10.0",
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=885075
Error message validated: [dotnet-new.IntegrationTests_net10.0]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 12/3/2024 6:59:01 PM UTC

Report

Build Definition Step Name Console log Pull Request
885881 dotnet/sdk Run TemplateEngine Tests Log #45273
885849 dotnet/sdk Run TemplateEngine Tests Log #45295
885846 dotnet/sdk Run TemplateEngine Tests Log #45269
885810 dotnet/sdk Run TemplateEngine Tests Log #45294
885795 dotnet/sdk Run TemplateEngine Tests Log #45295
885777 dotnet/sdk Run TemplateEngine Tests Log #45280
885773 dotnet/sdk Run TemplateEngine Tests Log #45297
885755 dotnet/sdk Run TemplateEngine Tests Log #45296
885367 dotnet/sdk Run TemplateEngine Tests Log #45270
885364 dotnet/sdk Run TemplateEngine Tests Log #45271
885667 dotnet/sdk Run TemplateEngine Tests Log #45269
885361 dotnet/sdk Run TemplateEngine Tests Log #45273
885075 dotnet/sdk Run TemplateEngine Tests Log #45275
885590 dotnet/sdk Run TemplateEngine Tests Log #45294
885096 dotnet/sdk Run TemplateEngine Tests Log #45280
885701 dotnet/sdk Run TemplateEngine Tests Log #45295
885655 dotnet/sdk Run TemplateEngine Tests Log #44570
885601 dotnet/sdk Run TemplateEngine Tests Log #45282
885499 dotnet/sdk Run TemplateEngine Tests Log #45290
885429 dotnet/sdk Run TemplateEngine Tests Log #44855
885353 dotnet/sdk Run TemplateEngine Tests Log #45287
885339 dotnet/sdk Run TemplateEngine Tests Log #45269
885306 dotnet/sdk Run TemplateEngine Tests Log #45285
885243 dotnet/sdk Run TemplateEngine Tests Log #44977
885208 dotnet/sdk Run TemplateEngine Tests Log #44570

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
22 25 25
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Dec 3, 2024
@nagilson
Copy link
Member Author

nagilson commented Dec 3, 2024

Image

It looks like Class, Record, Enum, Struct, etc may be new templates added in net 10 that need to be added to the test logic.

@nagilson
Copy link
Member Author

nagilson commented Dec 3, 2024

#29655 Ok that was added in 7.0.200.

@nagilson
Copy link
Member Author

nagilson commented Dec 3, 2024

Ok so this uses 'Verify' which I dont see elsewhere in the SDK

What this does is store a txt snapshot of the last test result. I dont know why but the last test result didnt have the templates added in 7.0.200 for net 10, maybe they were not updated and it got temporarily removed -- @dotnet/templating-engine-maintainers if this is unexpected please let me know.

I guess I will update main snapshot txt files to the new thing since this is blocking all of main

@nagilson
Copy link
Member Author

nagilson commented Dec 4, 2024

Resolved.

@nagilson nagilson closed this as completed Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant