Add outerloop-jitstressregs, outerloop-jitstress2-jitstressregs, outerloop-gcstress0x...
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Fri, 8 Mar 2019 17:56:20 +0000 (09:56 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2019 17:56:20 +0000 (09:56 -0800)
The following build definitions

* coreclr-ci
* coreclr-outerloop
* coreclr-outerloop-jitminopts-jitstress1-jitstress2
* coreclr-outerloop-jitstressregs
* coreclr-outerloop-jitstress2-jitstressregs
* coreclr-outerloop-gcstress0x3-gcstress0xc

can be triggered from pull requests via /azp run x command.

Commit migrated from https://github.com/dotnet/coreclr/commit/41df61c0f570d94b962430e38b2c24181972b998

eng/pipelines/coreclr/azure-pipelines.yml
eng/test-job.yml

index 6fcc202..03fa821 100644 (file)
@@ -149,6 +149,12 @@ jobs:
           testGroup: outerloop
         ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitminopts-jitstress1-jitstress2') }}:
           testGroup: outerloop-jitminopts-jitstress1-jitstress2
+        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstressregs') }}:
+          testGroup: outerloop-jitstressregs
+        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-jitstress2-jitstressregs') }}:
+          testGroup: outerloop-jitstress2-jitstressregs
+        ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
+          testGroup: outerloop-gcstress0x3-gcstress0xc
 
 # CI
 - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
index 56cc438..11294ec 100644 (file)
@@ -91,7 +91,7 @@ jobs:
       timeoutInMinutes: 240
     ${{ if eq(parameters.testGroup, 'outerloop') }}:
       timeoutInMinutes: 360
-    ${{ if eq(parameters.testGroup, 'outerloop-jitminopts-jitstress1-jitstress2') }}:
+    ${{ if in(parameters.testGroup, 'outerloop-jitminopts-jitstress1-jitstress2', 'outerloop-jitstressregs', 'outerloop-jitstress2-jitstressregs', 'outerloop-gcstress0x3-gcstress0xc') }}:
       timeoutInMinutes: 480
 
     steps:
@@ -168,8 +168,7 @@ jobs:
         ${{ if eq(parameters.testGroup, 'outerloop') }}:
           timeoutPerTestCollectionInMinutes: 60
           timeoutPerTestInMinutes: 10
-        ${{ if eq(parameters.testGroup, 'outerloop-jitminopts-jitstress1-jitstress2') }}:
-          # TODO: Adjust this number as soon as we have more data on how long it takes to run these jobs in Helix.
+        ${{ if in(parameters.testGroup, 'outerloop-jitminopts-jitstress1-jitstress2', 'outerloop-jitstressregs', 'outerloop-jitstress2-jitstressregs', 'outerloop-gcstress0x3-gcstress0xc') }}:
           timeoutPerTestCollectionInMinutes: 120
           timeoutPerTestInMinutes: 30
 
@@ -195,6 +194,36 @@ jobs:
             - jitstress1_tiered
             - jitstress2
             - jitstress2_tiered
+        ${{ if eq(parameters.testGroup, 'outerloop-jitstressregs') }}:
+          scenarios:
+            asString: 'jitstressregs1,jitstressregs2,jitstressregs3,jitstressregs4,jitstressregs8,jitstressregs0x10,jitstressregs0x80,jitstressregs0x1000'
+            asArray:
+            - jitstressregs1
+            - jitstressregs2
+            - jitstressregs3
+            - jitstressregs4
+            - jitstressregs8
+            - jitstressregs0x10
+            - jitstressregs0x80
+            - jitstressregs0x1000
+        ${{ if eq(parameters.testGroup, 'outerloop-jitstress2-jitstressregs') }}:
+          scenarios:
+            asString: 'jitstress2_jitstressregs1,jitstress2_jitstressregs2,jitstress2_jitstressregs3,jitstress2_jitstressregs4,jitstress2_jitstressregs8,jitstress2_jitstressregs0x10,jitstress2_jitstressregs0x80,jitstress2_jitstressregs0x1000'
+            asArray:
+            - jitstress2_jitstressregs1
+            - jitstress2_jitstressregs2
+            - jitstress2_jitstressregs3
+            - jitstress2_jitstressregs4
+            - jitstress2_jitstressregs8
+            - jitstress2_jitstressregs0x10
+            - jitstress2_jitstressregs0x80
+            - jitstress2_jitstressregs0x1000
+        ${{ if eq(parameters.testGroup, 'outerloop-gcstress0x3-gcstress0xc') }}:
+          scenarios:
+            asString: 'gcstress0x3,gcstress0xc'
+            asArray:
+            - gcstress0x3
+            - gcstress0xc
 
     # Publish Logs
     - task: PublishPipelineArtifact@0