Skip to content

Commit

Permalink
Add outerloop-jitstressregs, outerloop-jitstress2-jitstressregs, oute…
Browse files Browse the repository at this point in the history
…rloop-gcstress0x3-gcstress0xc TestGroups (dotnet/coreclr#23047)

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 dotnet/coreclr@41df61c
  • Loading branch information
echesakov authored Mar 8, 2019
1 parent 37b7d87 commit 07c8afd
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
6 changes: 6 additions & 0 deletions eng/pipelines/coreclr/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')) }}:
Expand Down
35 changes: 32 additions & 3 deletions eng/test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 07c8afd

Please sign in to comment.