summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-03-27 19:22:38 (GMT)
committerBruce Forstall <brucefo@microsoft.com>2018-03-28 20:42:36 (GMT)
commitb9ecdcd30d5679056dcd1d74045d3b10c253e02d (patch)
tree71fb5f661a1e4bb30cdc202af9fa5995e01e7ecb /netci.groovy
parenta79ca6566567188a408cfcf4859286fc87e5c449 (diff)
downloadcoreclr-b9ecdcd30d5679056dcd1d74045d3b10c253e02d.zip
coreclr-b9ecdcd30d5679056dcd1d74045d3b10c253e02d.tar.gz
coreclr-b9ecdcd30d5679056dcd1d74045d3b10c253e02d.tar.bz2
Enable Linux arm32 GCStress jobs
Non-PR jobs (cron and push) are disabled for now.
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy40
1 files changed, 25 insertions, 15 deletions
diff --git a/netci.groovy b/netci.groovy
index 120efb6..2984308 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -331,7 +331,6 @@ class Constants {
'gcstress0xc'
]
- // Note: no GCStress-related scenario is enabled currently.
def static validLinuxArmScenarios = [
'innerloop',
'normal',
@@ -348,7 +347,7 @@ class Constants {
'r2r_jitstressregs0x1000',
'r2r_jitminopts',
'r2r_jitforcerelocs',
- // 'r2r_gcstress15',
+ 'r2r_gcstress15',
'minopts',
'forcerelocs',
'jitstress1',
@@ -369,17 +368,17 @@ class Constants {
'jitstress2_jitstressregs0x10',
'jitstress2_jitstressregs0x80',
'jitstress2_jitstressregs0x1000',
- 'tailcallstress'
- // 'gcstress0x3',
- // 'gcstress0xc',
- // 'zapdisable',
- // 'heapverify1',
- // 'gcstress0xc_zapdisable',
- // 'gcstress0xc_zapdisable_jitstress2',
- // 'gcstress0xc_zapdisable_heapverify1',
- // 'gcstress0xc_jitstress1',
- // 'gcstress0xc_jitstress2',
- // 'gcstress0xc_minopts_heapverify1'
+ 'tailcallstress',
+ 'gcstress0x3',
+ 'gcstress0xc',
+ 'zapdisable',
+ 'heapverify1',
+ 'gcstress0xc_zapdisable',
+ 'gcstress0xc_zapdisable_jitstress2',
+ 'gcstress0xc_zapdisable_heapverify1',
+ 'gcstress0xc_jitstress1',
+ 'gcstress0xc_jitstress2',
+ 'gcstress0xc_minopts_heapverify1'
]
def static configurationList = ['Debug', 'Checked', 'Release']
@@ -1084,6 +1083,12 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
}
}
+ if ((architecture == 'arm') && (os != 'Windows_NT') && isGCStressRelatedTesting(scenario)) {
+ // Non-Windows Arm GCStress jobs currently don't get cron or push triggers (until they are functional).
+ // See https://github.com/dotnet/coreclr/issues/17241.
+ return
+ }
+
// Check scenario.
switch (scenario) {
case 'innerloop':
@@ -3151,9 +3156,14 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
testOpts += " --test-env=${scriptFileName}"
}
- // TODO: how to handle GCStress-related testing for Ubuntu/arm?
+ // setup-stress-dependencies.sh, invoked by runtest.sh to download the coredistools package, depends on the "dotnet"
+ // tool downloaded by the "init-tools.sh" script. However, it only invokes setup-stress-dependencies.sh for x64. The
+ // coredistools package is used by GCStress on x86 and x64 to disassemble code to determine instruction boundaries.
+ // On arm/arm64, it is not required as determining instruction boundaries is trivial.
if (isGCStressRelatedTesting(scenario)) {
- shell('./init-tools.sh')
+ if (architecture == 'x64') {
+ shell('./init-tools.sh')
+ }
}
def runScript = ""