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

Quarantining BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works #37782

Closed
sebastienros opened this issue Oct 22, 2021 · 8 comments
Closed
Assignees
Labels
area-blazor Includes: Blazor, Razor Components feature-playwright 🎭 This issue is related to Playwright E2E Project Template Tests Pillar: Technical Debt Priority:0 Work that we can't release without test-failure
Milestone

Comments

@sebastienros
Copy link
Member

Failing Test(s)

  • BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works in src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplateTest.cs

Error Message

error : The file '/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/obj/project.nuget.cache' already exists.

Stacktrace

Failed BlazorTemplates.Tests.BlazorWasmTemplateTest.BlazorWasmHostedTemplate_AzureActiveDirectoryTemplate_Works(instance: TemplateInstance { Arguments = ["-ho", "-au", "SingleOrg", "--calls-graph", "--domain", ...], Name = "blazorwasmhostedaadgraph" }) [2 s]
  Error Message:
   Project new blazorwasm  -ho -au SingleOrg --calls-graph --domain my-domain --tenant-id tenantId --client-id clientId --default-scope full --app-id-uri ApiUri --api-client-id 1234123413241324 failed to create/restore. Exit code -1.
/private/tmp/helix/working/A97408FB/p/dotnet-cli/dotnet new blazorwasm  --debug:disable-sdk-templates --debug:custom-hive "/private/tmp/helix/working/A97408FB/w/9C9608B1/e/Hives/.templateEngine" -ho -au SingleOrg --calls-graph --domain my-domain --tenant-id tenantId --client-id clientId --default-scope full --app-id-uri ApiUri --api-client-id 1234123413241324 -o /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq\nStdErr: Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'
\nStdOut: The template "Blazor WebAssembly App" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/6.0-third-party-notices for details.

Processing post-creation actions...
Running 'dotnet restore' on /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/AspNet.jjso4iuzrzq.sln...
  Determining projects to restore...
  Restored /private/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Shared/AspNet.jjso4iuzrzq.Shared.csproj (in 122 ms).
  Restored /tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Shared/AspNet.jjso4iuzrzq.Shared.csproj (in 122 ms).
  Restored /private/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/AspNet.jjso4iuzrzq.Client.csproj (in 310 ms).
/private/tmp/helix/working/A97408FB/p/dotnet-cli/sdk/7.0.100-alpha.1.21518.14/NuGet.targets(130,5): error : The file '/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/Client/obj/project.nuget.cache' already exists. [/tmp/helix/working/A97408FB/w/9C9608B1/e/Templates/BaseFolder/AspNet.jjso4iuzrzq/AspNet.jjso4iuzrzq.sln]


Expected: True
Actual:   False
  Stack Trace:
     at BlazorTemplates.Tests.BlazorTemplateTest.CreateBuildPublishAsync(String projectName, String auth, String[] args, String targetFramework, Boolean serverProject, Boolean onlyCreate) in /_/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplateTest.cs:line 39

Logs


Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1436533&view=logs&j=3f6d4e0f-1b71-56b5-361e-d95b6e6da15a&t=d5bf30bc-9e5a-596c-d1c8-39e2dfa42d49

@TanayParikh
Copy link
Contributor

This is a Playright test & duplicate of a E2E test we already have as @sebastienros pointed out in the PR: #37783 (comment).

As such, I don't believe we'll need/want to tackle this in 6.0 docs & infra. cc/ @HaoK any objections?

@TanayParikh TanayParikh modified the milestones: 6.0-docs-infra, Backlog Oct 28, 2021
@ghost
Copy link

ghost commented Oct 28, 2021

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@TanayParikh
Copy link
Contributor

Tests currently skipped via #40129, will be unskipped via #38818 along with being re-enabled in helix.

@TanayParikh TanayParikh modified the milestones: Backlog, 7.0-preview5 Feb 10, 2022
@TanayParikh TanayParikh added the feature-playwright 🎭 This issue is related to Playwright E2E Project Template Tests label Feb 10, 2022
@mkArtakMSFT mkArtakMSFT modified the milestones: 7.0-preview7, 7.0-rc2 Jul 21, 2022
@mkArtakMSFT mkArtakMSFT modified the milestones: 7.0-rc2, .NET 8 Planning Sep 7, 2022
@mkArtakMSFT mkArtakMSFT modified the milestones: .NET 8 Planning, 8.0-MQ Sep 15, 2022
@TanayParikh
Copy link
Contributor

Tried out this test locally. It just times out. The original project.nuget.cache issue doesn't seem specific to this test, and could be attributed to momentary flakiness.

@mkArtakMSFT mkArtakMSFT modified the milestones: 8.0-MQ, 8.0-preview1 Jan 4, 2023
@ghost
Copy link

ghost commented Mar 1, 2023

Thanks for contacting us.

We're moving this issue to the .NET 8 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@ghost
Copy link

ghost commented Oct 6, 2023

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@ghost
Copy link

ghost commented Dec 14, 2023

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@mkArtakMSFT mkArtakMSFT added the Priority:0 Work that we can't release without label Jan 3, 2024
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-preview7, 9.0-rc1 Jul 3, 2024
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-rc1, 9.0-rc2 Aug 2, 2024
@MackinnonBuck
Copy link
Member

The Blazor WebAssembly hosted template no longer exists, and we already have auth tests for the Blazor Web template. Therefore, there's nothing for us to fix here. Closing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components feature-playwright 🎭 This issue is related to Playwright E2E Project Template Tests Pillar: Technical Debt Priority:0 Work that we can't release without test-failure
Projects
None yet
Development

No branches or pull requests

4 participants