From: Bruce Forstall Date: Thu, 18 Apr 2019 22:45:05 +0000 (-0700) Subject: Reduce the number of Linux arm32 periodic jobs triggered X-Git-Tag: accepted/tizen/unified/20190813.215958~46^2~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d4fccb658f5765f6ab3c691736d06fcb672cc5c;p=platform%2Fupstream%2Fcoreclr.git Reduce the number of Linux arm32 periodic jobs triggered Only the corefx jobs are left. The rest should be done in AzDO, and scheduling both AzDO and Jenkins is causing too much work for the few machines we have. --- diff --git a/netci.groovy b/netci.groovy index 4a765c8..22ee7ff 100755 --- a/netci.groovy +++ b/netci.groovy @@ -1267,8 +1267,14 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def // Check scenario. switch (scenario) { case 'crossgen_comparison': - if (isFlowJob && ((os == 'Ubuntu' && architecture == 'arm') || (os == 'Ubuntu16.04' && architecture == 'arm64')) && (configuration == 'Checked' || configuration == 'Release')) { - addPeriodicTriggerHelper(job, '@daily') + if (isFlowJob && (configuration == 'Checked' || configuration == 'Release')) { + if (os == 'Ubuntu' && architecture == 'arm') { + // Not enough Linux/arm32 hardware for this. + // addPeriodicTriggerHelper(job, '@daily') + } + if (os == 'Ubuntu16.04' && architecture == 'arm64') { + addPeriodicTriggerHelper(job, '@daily') + } } break @@ -1316,7 +1322,9 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def if (isFlowJob) { // Currently no push triggers, with limited arm Linux hardware. // TODO: If we have enough machine capacity, add some arm Linux push triggers. - addPeriodicTriggerHelper(job, '@daily') + + // Duplicated by AzDO + // addPeriodicTriggerHelper(job, '@daily') } } break @@ -1353,7 +1361,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def // arm r2r jobs should only run weekly. else if (architecture == 'arm') { if (isFlowJob) { - addPeriodicTriggerHelper(job, '@weekly') + // Linux arm32 done in AzDO + if (os == 'Windows_NT') { + addPeriodicTriggerHelper(job, '@weekly') + } } } // arm64 r2r jobs should only run weekly. @@ -1402,7 +1413,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def } else if (architecture == 'arm') { if (isFlowJob) { - addPeriodicTriggerHelper(job, '@weekly') + // Linux arm32 duplicated by AzDO + if (os == 'Windows_NT') { + addPeriodicTriggerHelper(job, '@weekly') + } } } else if (architecture == 'arm64') { @@ -1512,6 +1526,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def if (os in bidailyCrossList) { break } + if ((os == 'Ubuntu') && (architecture == 'arm') && !isCoreFxScenario(scenario)) { + // Linux arm32 duplicated by AzDO + break + } // ARM corefx testing uses non-flow jobs to provide the configuration-specific // build for the flow job. We don't need cron jobs for these. Note that the // Windows ARM jobs depend on a Windows "build only" job that exits the trigger @@ -1546,6 +1564,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def if (os in bidailyCrossList) { break } + if ((os == 'Ubuntu') && (architecture == 'arm')) { + // Linux arm32 duplicated by AzDO + break + } addPeriodicTriggerHelper(job, '@weekly') break case 'gcstress0xc': @@ -1565,6 +1587,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def if (os in bidailyCrossList) { break } + if ((os == 'Ubuntu') && (architecture == 'arm')) { + // Linux arm32 duplicated by AzDO + break + } addPeriodicTriggerHelper(job, '@weekly') break