From f7711a49b39930aa84e2545619cb951a3596deef Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Thu, 28 Oct 2021 00:01:41 +0000 Subject: [PATCH 1/4] Fixes https://github.com/dotnet/aspnetcore/issues/37443 --- .azure/pipelines/ci.yml | 7 +++---- .azure/pipelines/components-e2e-tests.yml | 2 ++ .../Microsoft.AspNetCore.Components.E2ETests.csproj | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index eed289bad011..bd175b72af32 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -647,7 +647,6 @@ stages: cancelTimeoutInMinutes: 30 buildArgs: -all -pack -test -binaryLog /p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false - /p:SkipComponentsE2ETests=true $(_InternalRuntimeDownloadArgs) beforeBuild: - powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1" @@ -669,7 +668,7 @@ stages: agentOs: macOS timeoutInMinutes: 240 isAzDOTestingJob: true - buildArgs: --all --test --binaryLog "/p:RunTemplateTests=false /p:SkipComponentsE2ETests=true /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs) + buildArgs: --all --test --binaryLog "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs) beforeBuild: - bash: "./eng/scripts/install-nginx-mac.sh" displayName: Installing Nginx @@ -690,7 +689,7 @@ stages: agentOs: Linux isAzDOTestingJob: true useHostedUbuntu: false - buildArgs: --all --test --binaryLog "/p:RunTemplateTests=false /p:SkipComponentsE2ETests=true /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs) + buildArgs: --all --test --binaryLog "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs) beforeBuild: - bash: "./eng/scripts/install-nginx-linux.sh" displayName: Installing Nginx @@ -722,7 +721,7 @@ stages: /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs) displayName: Restore interop projects - script: ./eng/build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildNative -projects eng\helix\helix.proj - /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:SkipComponentsE2ETests=true + /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs) displayName: Run build.cmd helix target env: diff --git a/.azure/pipelines/components-e2e-tests.yml b/.azure/pipelines/components-e2e-tests.yml index df738ee94327..bef9dd6537a6 100644 --- a/.azure/pipelines/components-e2e-tests.yml +++ b/.azure/pipelines/components-e2e-tests.yml @@ -21,6 +21,8 @@ pr: variables: - name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE value: true +- name: EXECUTE_COMPONENTS_E2E_TESTS + value: true - name: _TeamName value: AspNetCore diff --git a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj index f297cbf97ce0..665c82f2e246 100644 --- a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj +++ b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj @@ -14,8 +14,8 @@ true false - - true + + true From 8daf8a105058a005715d03ce9d45962ad4928c6c Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Thu, 28 Oct 2021 03:44:21 +0000 Subject: [PATCH 2/4] CI -> ContinuousIntegrationBuild --- .../E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj index 665c82f2e246..4ddc803b9814 100644 --- a/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj +++ b/src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj @@ -15,7 +15,7 @@ false - true + true From e162edbee568ed673b96785a9e81d4ba10a49cd5 Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Thu, 28 Oct 2021 21:13:32 +0000 Subject: [PATCH 3/4] Skip E2EMigration Tests in CI --- ...Microsoft.AspNetCore.Components.Migration.E2ETests.csproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj b/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj index 8d5ec2e57df6..50794808f69f 100644 --- a/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj +++ b/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj @@ -11,7 +11,10 @@ true true - + + + true + false From 08cff89d4b064cf2ddbfc71314215b396a30b543 Mon Sep 17 00:00:00 2001 From: Tanay Parikh Date: Fri, 29 Oct 2021 06:00:52 +0000 Subject: [PATCH 4/4] Exclude Migration Tests from Helix --- .../Microsoft.AspNetCore.Components.Migration.E2ETests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj b/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj index 50794808f69f..196f702be28f 100644 --- a/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj +++ b/src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj @@ -14,6 +14,7 @@ true + false false