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

CanInstallRemoteNuGetPackage_LatestVariations failed in CI #28802

Closed
tmat opened this issue Oct 28, 2022 · 4 comments
Closed

CanInstallRemoteNuGetPackage_LatestVariations failed in CI #28802

tmat opened this issue Oct 28, 2022 · 4 comments
Labels
Area-dotnet new the item is related to dotnet new command Area-Infrastructure untriaged Request triage from a team member

Comments

@tmat
Copy link
Member

tmat commented Oct 28, 2022

https://dev.azure.com/dnceng-public/public/_build/results?buildId=65642&view=ms.vss-test-web.build-test-results-tab&runId=1338148&resultId=100064&paneView=debug

Assert.Equal() Failure\n                                   ↓ (pos 100)\nExpected: ···ojectTemplates.5.0\n\nSuccess: Microsoft.DotNet.Common.ProjectT···\nActual:   ···ojectTemplates.5.0\n\nRetrying 'FindPackagesByIdAsync' for sour···\n                                   ↑ (pos 100)
Stack trace
   at Microsoft.DotNet.Cli.New.IntegrationTests.DotnetNewInstallTests.CanInstallRemoteNuGetPackage_LatestVariations(String commandName) in /Users/runner/work/1/s/src/Tests/dotnet-new.Tests/DotnetNewInstallTests.cs:line 87
   at InvokeStub_DotnetNewInstallTests.CanInstallRemoteNuGetPackage_LatestVariations(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
@marcpopMSFT
Copy link
Member

@dotnet/templating-engine-maintainers to take a look.

@vlada-shubina
Copy link
Member

@GangWang01 could you please take a look? thank you

@vlada-shubina vlada-shubina added the Area-dotnet new the item is related to dotnet new command label Nov 14, 2022
@GangWang01
Copy link
Member

GangWang01 commented Nov 16, 2022

From the directory path the test failed on macOS in CI. Retrying 'FindPackagesByIdAsync' for sour··· told Nuget failed to get the package somehow during template installation. Probably it's the same problem as described in #28801 (comment). In CI on macOS Nuget hit the connection issue randomly.

@vlada-shubina
Copy link
Member

vlada-shubina commented Nov 28, 2022

We decided not to take any action on that. These are random connectivity issues in the images. Any operation interacting with NuGet.org, Azure resources etc. may be affected. Setting up retries on all the tests that may touch external resources are not reasonable, and may not help.

Closing for now, we might want to reopen if the issue will reappear.
Also we drastically decreased number of tests thanks to snapshot testing now, so issues hopefully are less likely.

@vlada-shubina vlada-shubina closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-dotnet new the item is related to dotnet new command Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

4 participants