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

Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase #3705

Merged
merged 1 commit into from
Mar 15, 2016
Merged

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Mar 14, 2016

This enables Checked x64 Pri0 r2r build & test jobs to be run on Windows, OSX, Ubuntu, and CentOS, per-commit. It also allows the same for pri1, by using a trigger phrase. The phrases are listed below:

x64 architectures:

"@dotnet-bot test {os} {configuration} {scenario} please"

Where:
os can be 'Windows_NT', 'OSX', 'Ubuntu', or 'CentOS7.1'
configuration can be 'Checked' or 'Release'
scenario can be 'r2r' (runs pri0 r2r tests) or 'pri1r2r' (runs pri1)

x86 architectures:

"@dotnet-bot test {os} x86 {configuration} {scenario} please"

with the same options as above.

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 14, 2016

@gkhanna79 @mmitche PTAL

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 14, 2016

@dotnet-bot test CI please

if (doCrossgen) {
assert (os == 'Windows_NT' || os in Constants.crosslist)
//Add push triggers for all Checked x64 pri0 crossgen builds
if (configuration == 'Checked' && architecture == 'x64' && scenario == 'default') {
Copy link
Member

Choose a reason for hiding this comment

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

For X64, we should do this for Checked and Release. I noticed that we have Windows x86 CI jobs as well. Can we please enable for them too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, can do.

@mmitche
Copy link
Member

mmitche commented Mar 14, 2016

@wtgodbe Seeing some abnormal slowdowns right now so it may take a bit. I may need to take the CI server down and do some investigation later.

@mmitche
Copy link
Member

mmitche commented Mar 14, 2016

It may be better to do this as two new scenarios (pri1crossgen) and pri0crossgen, rather than adding more flags that change behavior.

if (doCrossgen) {
assert (os == 'Windows_NT' || os in Constants.crosslist)
// Add trigger phrase for Checked x64 pri1 Crossgen builds
if (configuration == 'Checked' && architecture == 'x64' && scenario == 'pri1') {
Copy link
Member

Choose a reason for hiding this comment

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

See above for the "Checked" condition.

Also, is Pri1 run enabled for per commit or would need to be invoked via phrase?

Copy link
Member Author

Choose a reason for hiding this comment

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

Checked and Release, got it. No problem.

For Pri1, it would be invoked via phrase - "test {os} pri1 r2r please.", where os can be Ubuntu, OSX, Windows_NT, or CentOS7.1

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 15, 2016

@dotnet-bot test CI please

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 15, 2016

@mmitche PTAL (refactored according to your suggestion)

@mmitche
Copy link
Member

mmitche commented Mar 15, 2016

I ended up restarting it, so give it a few minutes to warm up.

From: William Godbe [mailto:notifications@github.com]
Sent: Monday, March 14, 2016 5:12 PM
To: dotnet/coreclr coreclr@noreply.github.com
Cc: Matt Mitchell mmitche@microsoft.com
Subject: Re: [coreclr] Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase (#3705)

@dotnet-bothttps://github.com/dotnet-bot test CI please


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3705 (comment)

break
case 'pri1r2r':
//pri1 r2r gets a push trigger for checked/release
if (architecture == 'x64' || architecture == 'x86') {
Copy link
Member

Choose a reason for hiding this comment

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

We should only check for x86 for Windows only, for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

@gkhanna79 so you only want per-commit jobs for x86, not x64?

Copy link
Member

Choose a reason for hiding this comment

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

We want for both. I was simply saying that for x86, per-commit should only happen for Windows OS and not any other OS.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I see. I'll make the change.

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 15, 2016

@gkhanna79 I changed x86 per-commit jobs to Windows-only, and switched "skiptestbuild" to "skiptests". Anything else?

@gkhanna79
Copy link
Member

LGTM

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 15, 2016

@dotnet-bot test CI please

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 15, 2016

CI is green, merging.

wtgodbe added a commit that referenced this pull request Mar 15, 2016
Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase
@wtgodbe wtgodbe merged commit e90350c into dotnet:master Mar 15, 2016
@wtgodbe wtgodbe deleted the r2r branch March 15, 2016 20:14
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase

Commit migrated from dotnet/coreclr@e90350c
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.

5 participants