From 638bcfd76f75d7308083c76cc93d5a8529daabce Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Thu, 8 Aug 2024 15:58:12 -0700 Subject: [PATCH 1/2] Mitigate the outerloop Crossgen2 failures by enabling tiered compilation in those tests. --- eng/pipelines/common/templates/runtimes/run-test-job.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml index 1b1bf6a04815dd..44ba4420998196 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -331,7 +331,9 @@ jobs: msbuildParallelism: '/maxcpucount:55' ${{ if in(parameters.testGroup, 'innerloop', 'outerloop') }}: - ${{ if eq(parameters.runtimeFlavor, 'mono') }}: + ${{ if or(eq(parameters.runtimeFlavor, 'mono'), + and(eq(parameters.testGroup, 'outerloop'), + eq(parameters.readyToRun, true))) }}: # tiered compilation isn't done on mono yet scenarios: - normal From 834eabdefc0963c52c5a42b6ab285fe203b48723 Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Thu, 8 Aug 2024 16:17:17 -0700 Subject: [PATCH 2/2] Trying one line to see if it likes it this way... --- eng/pipelines/common/templates/runtimes/run-test-job.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml index 44ba4420998196..8a6ae2c7ae4f8f 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -331,9 +331,7 @@ jobs: msbuildParallelism: '/maxcpucount:55' ${{ if in(parameters.testGroup, 'innerloop', 'outerloop') }}: - ${{ if or(eq(parameters.runtimeFlavor, 'mono'), - and(eq(parameters.testGroup, 'outerloop'), - eq(parameters.readyToRun, true))) }}: + ${{ if or(eq(parameters.runtimeFlavor, 'mono'), and(eq(parameters.testGroup, 'outerloop'), eq(parameters.readyToRun, true))) }}: # tiered compilation isn't done on mono yet scenarios: - normal