From 93eafe70b437ffe8a00fc6f18c67459e26b09b18 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Fri, 26 Jun 2020 16:26:54 -0700 Subject: [PATCH] Run full matrix on quarantined pipeline (#23377) * Run full matrix on quarantined pipeline but only 2x a day * Add helix arm queues * Change test run time * Update quarantined-tests.yml --- .azure/pipelines/quarantined-tests.yml | 41 +++++++++++++++++++------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index b26f0194ca..6f9aa3ab89 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -1,13 +1,10 @@ -# We want to run quarantined tests on master as well as on PRs -trigger: - batch: true - branches: - include: - - master +# We only want to run quarantined tests on master +pr: none +trigger: none schedules: -- cron: "0 */4 * * *" - displayName: Every 4 hours test run +- cron: "0 18 * * *" + displayName: Run tests once a day at 11 PM branches: include: - master @@ -28,7 +25,7 @@ jobs: jobName: Helix_quarantined_x64 jobDisplayName: 'Tests: Helix' agentOs: Windows - timeoutInMinutes: 180 + timeoutInMinutes: 480 steps: # Build the shared framework - script: ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log @@ -36,7 +33,7 @@ jobs: - script: ./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj displayName: Restore interop projects - script: ./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildJava -noBuildNative - -projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true + -projects eng\helix\helix.proj /p:IsHelixDaily=true /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log displayName: Run build.cmd helix target continueOnError: true @@ -48,6 +45,30 @@ jobs: path: artifacts/log/ publishOnError: true +# Helix ARM64 +- template: jobs/default-build.yml + parameters: + jobName: Helix_quarantined_arm64 + jobDisplayName: "Tests: Helix ARM64" + agentOs: Linux + timeoutInMinutes: 480 + steps: + - script: ./restore.sh -ci -nobl + displayName: Restore + - script: ./build.sh --ci --nobl --noBuildRepoTasks --arch arm64 -test --no-build-nodejs --all --projects + $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:RunQuarantinedTests=true + /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log + displayName: Run build.sh helix arm64 target + env: + HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues + SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops + installNodeJs: false + artifacts: + - name: Helix_arm64_logs + path: artifacts/log/ + publishOnError: true + includeForks: true + - template: jobs/default-build.yml parameters: jobName: Windows_Quarantined_x64