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
A-And merged 4 commits into
dotnet:masterfrom
A-And:FXCIStaging
Jun 21, 2018
Merged

Windows CoreFX CI Staging Commit#18388
A-And merged 4 commits into
dotnet:masterfrom
A-And:FXCIStaging

Conversation

@A-And
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown

@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.

Comment thread netci.groovy Outdated
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
Copy Markdown

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.

Copy link
Copy Markdown

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)

Comment thread netci.groovy
def fxBranch = getFxBranch(branch)

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
Copy Markdown

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?

Copy link
Copy Markdown

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
Copy Markdown
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.

Comment thread netci.groovy Outdated
}

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

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

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

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

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

// Should we add corefx_innerloop to views?
Copy link
Copy Markdown

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
Copy Markdown
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