From 232aabe714bfa3c8255e05d134c9ac9391222203 Mon Sep 17 00:00:00 2001 From: Juan Sebastian Hoyos Ayala Date: Fri, 11 Jun 2021 21:12:58 -0700 Subject: [PATCH 1/3] Add dependency on coreclr in monojit/monointerpreter jobs explicitly to solve pipeline issue #53842 --- eng/pipelines/common/templates/runtimes/run-test-job.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml index bdb14291eb235..a26dfd9041dd6 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -64,6 +64,8 @@ jobs: - '${{ parameters.runtimeFlavor }}_common_test_build_p1_AnyOS_AnyCPU_${{parameters.buildConfig }}' - ${{ if ne(parameters.stagedBuild, true) }}: - ${{ if or( eq(parameters.runtimeVariant, 'minijit'), eq(parameters.runtimeVariant, 'monointerpreter')) }}: + # This is needed for creating a CORE_ROOT in the current design. + - ${{ format('coreclr_{0}_product_build_{1}{2}_{3}_{4}', '', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} # minijit and mono interpreter runtimevariants do not require any special build of the runtime - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', parameters.runtimeFlavor, '', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} - ${{ if not(or(eq(parameters.runtimeVariant, 'minijit'), eq(parameters.runtimeVariant, 'monointerpreter'))) }}: From d6bc1e8d988a488d80fd81e9ed8bab28a4ce2dff Mon Sep 17 00:00:00 2001 From: Juan Sebastian Hoyos Ayala Date: Fri, 11 Jun 2021 22:00:56 -0700 Subject: [PATCH 2/3] Use Helix Pre/Post hooks to kill linkering corerun instances to work around ARM64 agent issues --- src/coreclr/scripts/superpmi.proj | 11 ++++++++++- src/libraries/sendtohelixhelp.proj | 7 ++++++- src/tests/Common/helixpublishwitharcade.proj | 18 ++++++++++++------ 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/coreclr/scripts/superpmi.proj b/src/coreclr/scripts/superpmi.proj index 05ad302eba2de..dcf1b46bc701f 100644 --- a/src/coreclr/scripts/superpmi.proj +++ b/src/coreclr/scripts/superpmi.proj @@ -85,6 +85,14 @@ 5:00 + + + + + + + + @(HelixPreCommand) + @(HelixPostCommand) - --> diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj index f447440d5d503..d47dfb5d52719 100644 --- a/src/libraries/sendtohelixhelp.proj +++ b/src/libraries/sendtohelixhelp.proj @@ -68,6 +68,11 @@ + + + + + @@ -82,7 +87,7 @@ - - + @@ -202,7 +202,7 @@ - @@ -234,7 +234,7 @@ false false false - $(RuntimeFlavorDisplayName) + $(RuntimeFlavorDisplayName) R2R R2R-CG2 $(TestRunNamePrefix)$(TargetOS) $(TargetArchitecture) $(Configuration) @ @@ -251,6 +251,7 @@ + @@ -268,6 +269,10 @@ + + + + @@ -286,6 +291,7 @@ @(HelixPreCommand) + @(HelixPostCommand) From 01c10aad837ad15903aee5eeb901f71042b96d71 Mon Sep 17 00:00:00 2001 From: Juan Hoyos Date: Sat, 12 Jun 2021 21:43:54 -0700 Subject: [PATCH 3/3] Update src/coreclr/scripts/superpmi.proj Co-authored-by: Kunal Pathak --- src/coreclr/scripts/superpmi.proj | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/coreclr/scripts/superpmi.proj b/src/coreclr/scripts/superpmi.proj index dcf1b46bc701f..963e117688f57 100644 --- a/src/coreclr/scripts/superpmi.proj +++ b/src/coreclr/scripts/superpmi.proj @@ -87,12 +87,8 @@ - - - -