Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an MSVC builder and rename the old one as GNU, but do not gate. #491

Merged
merged 1 commit into from Dec 22, 2016

Conversation

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Sep 27, 2016

This does a few things:

  1. Adds a servo-windows2 buildbot
  2. Adds a -msvc version of our build rules
  3. Renames the default windows build to -gnu

r? @aneeshusa or @edunham


This change is Reviewable

DynamicServoBuilder("windows-dev", WINDOWS_SLAVES, envs.build_windows),
DynamicServoBuilder("windows-nightly", WINDOWS_SLAVES, envs.build_windows),
DynamicServoBuilder("windows-dev-gnu", WINDOWS_SLAVES, envs.build_windows_gnu),
DynamicServoBuilder("windows-dev-msvc", WINDOWS_SLAVES, envs.build_windows_msvc),

This comment has been minimized.

@aneeshusa

aneeshusa Sep 27, 2016

Member

Our factories have extra logic for "windows-*" builders, and I don't think it would all apply to MSVC. You'll likely need to either change that logic or use a raw util.BuilderConfig with a different factory (similar to the doc builder).

@bors-servo
Copy link
Contributor

bors-servo commented Sep 30, 2016

The latest upstream changes (presumably #497) made this pull request unmergeable. Please resolve the merge conflicts.

@aneeshusa aneeshusa self-assigned this Oct 3, 2016
@larsbergstrom larsbergstrom force-pushed the larsbergstrom:add_windows_msvc branch from d9de5e0 to 6cbd76a Oct 9, 2016
@edunham
Copy link
Contributor

edunham commented Oct 10, 2016

Reviewable has not handled the rebasing and force pushing here gracefully at all. I've inspected the GitHub diffs, since they show latest commit vs master, and it looks like you've successfully addressed Aneesh's concerns about the windows.* logic in the factories. Assuming the path wizardry is correct, this looks good to me.


Reviewed 2 of 4 files at r2, 1 of 3 files at r3, 1 of 3 files at r4, 2 of 2 files at r5.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


buildbot/master/files/config/environments.py, line 74 at r2 (raw file):

        r'C:\Program Files\Amazon\cfn-bootstrap',
        r'C:\Program Files\Git\cmd',
        r'C:\Program Files (x86)\WiX Toolset v3.10\bin',

I'll take your word for it that these paths are correct; I haven't dug around in the Windows builders enough to recognize if they were wrong


Comments from Reviewable

@aneeshusa
Copy link
Member

aneeshusa commented Oct 10, 2016

In some places you've updated one implementation but not the other, please make sure they both match so we don't have strange regressions after #504.

@bors-servo
Copy link
Contributor

bors-servo commented Oct 19, 2016

The latest upstream changes (presumably #504) made this pull request unmergeable. Please resolve the merge conflicts.

@aneeshusa
Copy link
Member

aneeshusa commented Oct 19, 2016

Didn't see you had updated this, will review after my exam.

@larsbergstrom
Copy link
Contributor Author

larsbergstrom commented Oct 19, 2016

No worries! I just did it and need to redo it (splitting it into servo/servo, too), as I just bitrotted it by landing your other fix, which I'd unfortunately not reviewed while I was out sick for most of the last week.

Possibly I can pre-land the "extra" builders into servo/servo first and if that doesn't break anything then I can land the salt/buildbot-side changes second without breaking things. And then a follow-up in servo/servo to remove the now-deprecated builders?

@aneeshusa
Copy link
Member

aneeshusa commented Oct 19, 2016

I'd like to get #504 deployed and working before we change the builder/steps list again, in case we need to do a rollback/revert/quickfix. But yes, that 3-step process sounds good.

@aneeshusa
Copy link
Member

aneeshusa commented Oct 19, 2016

Filed servo/servo#13838 to make it easier to change buildbot_steps.yml in the future without causing breakage.

@bors-servo
Copy link
Contributor

bors-servo commented Oct 20, 2016

The latest upstream changes (presumably #516) made this pull request unmergeable. Please resolve the merge conflicts.

@larsbergstrom larsbergstrom force-pushed the larsbergstrom:add_windows_msvc branch 2 times, most recently from f5c1e83 to 88cdc6b Dec 20, 2016
@larsbergstrom
Copy link
Contributor Author

larsbergstrom commented Dec 20, 2016

r? @edunham @aneeshusa

I think this'll do it for adding the new normal and nightly builders. Note that it can't be deployed until I land the corresponding servo-side changes to the steps.yml file (which I'm currently testing and should have up shortly).

@highfive highfive assigned edunham and unassigned aneeshusa Dec 20, 2016
@@ -90,6 +90,8 @@ def setDefaultWorkdir(self, workdir):
@defer.inlineCallbacks
def run(self):
self.is_windows = re.match('windows.*', self.builder_name) is not None
self.is_win_gnu = re.match('windows.*gnu', builder_name) is not None
self.is_win_msvc = re.match('windows.*msvc', builder_name) is not None

This comment has been minimized.

@aneeshusa

aneeshusa Dec 20, 2016

Member

self.is_win_msvc isn't used anywhere, so no need to add it.

This comment has been minimized.

@larsbergstrom

larsbergstrom Dec 20, 2016

Author Contributor

Removing.

@larsbergstrom
Copy link
Contributor Author

larsbergstrom commented Dec 22, 2016

@bors-servo r=aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

📌 Commit aeed165 has been approved by aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

Testing commit aeed165 with merge 20f2fae...

bors-servo added a commit that referenced this pull request Dec 22, 2016
Add an MSVC builder and rename the old one as GNU, but do not gate.

This does a few things:
1) Adds a `servo-windows2` buildbot
2) Adds a `-msvc` version of our build rules
3) Renames the default windows build to `-gnu`

r? @aneeshusa or @edunham

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/491)

<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

💔 Test failed - status-travis

@larsbergstrom larsbergstrom force-pushed the larsbergstrom:add_windows_msvc branch from aeed165 to 925a2c8 Dec 22, 2016
@larsbergstrom
Copy link
Contributor Author

larsbergstrom commented Dec 22, 2016

@bors-servo r=aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

📌 Commit 925a2c8 has been approved by aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

Testing commit 925a2c8 with merge 61cea80...

bors-servo added a commit that referenced this pull request Dec 22, 2016
Add an MSVC builder and rename the old one as GNU, but do not gate.

This does a few things:
1) Adds a `servo-windows2` buildbot
2) Adds a `-msvc` version of our build rules
3) Renames the default windows build to `-gnu`

r? @aneeshusa or @edunham

<!-- Reviewable:start -->

---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/491)

<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 22, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 925a2c8 into servo:master Dec 22, 2016
2 of 3 checks passed
2 of 3 checks passed
code-review/reviewable 4 files, 8 discussions left (aneeshusa, edunham)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
bors-servo added a commit that referenced this pull request Dec 22, 2016
Use correct Windows GNU builder name for Homu

Fixup for #491. r? @larsbergstrom

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/562)
<!-- Reviewable:end -->
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 4, 2017
…m larsbergstrom:add_msvc); r=aneeshusa

r? @metajack @edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…m larsbergstrom:add_msvc); r=aneeshusa

r? metajack edunham

The idea here is that I'm adding `-gnu` and `-msvc` variants in advance of the buildbot changes (in servo/saltfs#491). Once those land and are pushed out to the buildbot master, it'll pick up these changed files and then we can remove the unsuffixed `windows-dev` and `windows-nightly`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 25f32c4513a9d7c3514c4079eef35b1cc5c6b286

UltraBlame original commit: 2472b1347fe70eb7bbefe585032cb3d1be50aa67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.