Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Improve Linux arm32/arm64 corefx test runs.
Browse files Browse the repository at this point in the history
Add proper parallelism.

Prevent per-test output during parallel runs from interleaving
by saving output per process and displaying it after the
process has completed.

Improve summary test/failure output at end of log.

Change Linux arm32/arm64 corefx jobs to run tests in parallel.

Change Linux/arm64 corefx scheduled jobs to be daily, not weekly,
since they are very fast when run in parallel (<20 minutes).
  • Loading branch information
BruceForstall committed Sep 22, 2018
1 parent a08d45d commit 07b8ea2
Show file tree
Hide file tree
Showing 2 changed files with 317 additions and 198 deletions.
6 changes: 2 additions & 4 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1586,10 +1586,8 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
break
}
if (jobRequiresLimitedHardware(architecture, os)) {
if ((architecture == 'arm64') && (os == 'Ubuntu16.04') && !isCoreFxScenario(scenario)) {
if ((architecture == 'arm64') && (os == 'Ubuntu16.04')) {
// These jobs are very fast on Linux/arm64 hardware, so run them daily.
// TODO: When the corefx jobs are made to run in parallel, run those
// jobs daily as well.
addPeriodicTriggerHelper(job, '@daily')
}
else {
Expand Down Expand Up @@ -3452,7 +3450,7 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi

if (doCoreFxTesting) {
shell("""\
\${WORKSPACE}/tests/scripts/run-corefx-tests.sh --sequential --test-exclude-file \${WORKSPACE}/tests/${architecture}/corefx_linux_test_exclusions.txt --runtime \${WORKSPACE}/${workspaceRelativeFxRootLinux}/bin/testhost/netcoreapp-Linux-Release-${architecture} --arch ${architecture} --corefx-tests \${WORKSPACE}/${workspaceRelativeFxRootLinux}/bin --configurationGroup Release""")
\${WORKSPACE}/tests/scripts/run-corefx-tests.sh --test-exclude-file \${WORKSPACE}/tests/${architecture}/corefx_linux_test_exclusions.txt --runtime \${WORKSPACE}/${workspaceRelativeFxRootLinux}/bin/testhost/netcoreapp-Linux-Release-${architecture} --arch ${architecture} --corefx-tests \${WORKSPACE}/${workspaceRelativeFxRootLinux}/bin --configurationGroup Release""")
}
else {
def runScript = "${dockerCmd}./tests/runtest.sh"
Expand Down
Loading

0 comments on commit 07b8ea2

Please sign in to comment.