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

Windows CoreFX CI Staging Commit #18388

Merged
merged 4 commits into from
Jun 21, 2018
Merged

Windows CoreFX CI Staging Commit #18388

merged 4 commits into from
Jun 21, 2018

Conversation

A-And
Copy link

@A-And A-And commented Jun 8, 2018

Connected to #18365
This updates the ci definition and adds a mock runtest switch.

@A-And
Copy link
Author

A-And commented Jun 9, 2018

@dotnet-bot test ci please

@A-And A-And requested a review from BruceForstall June 18, 2018 23:49
Copy link

@jashook jashook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, did have a few comments/questions.

netci.groovy Outdated
@@ -1741,6 +1742,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
case 'illink':
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} via ILLink", "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}\\W+${scenario}.*")
break
case 'corefx_innerloop':
if (configuration == 'Release') {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this for release? Generally we prefer checked.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think both Checked and Release are appropriate.


In reply to: 196822183 [](ancestors = 196822183)


buildCommands += "python -u %WORKSPACE%\\tests\\scripts\\run-corefx-tests.py -arch ${arch} -ci_arch ${architecture} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${fxBranch} -env_script ${envScriptPath}"
buildCommands += "python -u %WORKSPACE%\\tests\\scripts\\run-corefx-tests.py -arch ${arch} -ci_arch ${architecture} -build_type ${configuration} -fx_root ${absoluteFxRoot} -fx_branch ${fxBranch} -env_script ${envScriptPath}"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between the outerloop and innerloop jobs? Why are we opting for two different ways to run corefx tests?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CoreFx tests have a notion of innerloop and outerloop built into them as well. We should probably only run corefx's innerloop tests in coreclr's innerloop. This naming seems appropriate in case we want to add corefx outerloop jobs at some point. It's unclear right now (to me, at least).


In reply to: 196827178 [](ancestors = 196827178)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, @RussKeldorph was spot on. The CI configuration will only run innerloop (marked as such) CoreFX tests during innerloop CoreCLR jobs.

netci.groovy Outdated
@@ -2571,6 +2586,12 @@ def static shouldGenerateJob(def scenario, def isPR, def architecture, def confi
return false
}

// Run basic corefx tests only on PR-triggered jobs
// Runs only under Release - running tests under Debug is slow
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment about release vs checked

netci.groovy Outdated
if (os != 'Windows_NT'|| architecture != 'x64') {
return false
}
if(configuration != 'Release') {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment about release vs checked

@@ -2831,6 +2860,8 @@ Constants.allScenarios.each { scenario ->

// Create the new job
def newJob = job(Utilities.getFullJobName(project, jobName, isPR, folderName)) {}

// Should we add corefx_innerloop to views?
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will let @BruceForstall comment

@A-And
Copy link
Author

A-And commented Jun 21, 2018

@dotnet-bot test ci please

@A-And A-And merged commit b575607 into dotnet:master Jun 21, 2018
@A-And A-And deleted the FXCIStaging branch June 21, 2018 23:09
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Netci

* Add fake test switch

* Add branch PR trigger

* Add Checked corefx_innerloop jobs


Commit migrated from dotnet/coreclr@b575607
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants