-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/build: run a Windows Server 2016 builder #17513
Comments
I'm up for trying to set this up but I don't think I have time until after feature freeze. |
That's fine. I've found the back half the dev cycle to be a better time for builder work too. |
See https://github.com/golang/build/tree/master/env/windows when you're ready. |
I am happy to help with whatever you need. The https://github.com/golang/build/tree/master/env/windows is pretty good. I don't think Windows Server 2016 will be much different. I did manage to build Windows Server 2008 of my own to use, but I have no idea how you manage disk image (for the builders) once you build it. Like I said, let me know and I will help. Alex |
CL https://golang.org/cl/41393 mentions this issue. |
CL https://golang.org/cl/41395 mentions this issue. |
This doesn't appear to be present on Windows Server 2012 or 2016: https://build.golang.org/log/6ea21b99c9b8a2be20f9aeaec6c425b84faf1af7 https://build.golang.org/log/2bcf04f1df003577352f4f987a39a59a081094ee Updates #17513 Updates #20073 Change-Id: I72820704b4cb16bb1720b7f6a9f2e10028c71334 Reviewed-on: https://go-review.googlesource.com/41395 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
FYI Alex |
See also: https://golang.org/cl/41142 Updates golang/go#17513 Change-Id: Ie743ae4604e65892e28423ed0af008450b647197 Reviewed-on: https://go-review.googlesource.com/41393 Reviewed-by: Jeff Johnson <jrjohnson@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
@johnsonj, the new 2008, 2012, and 2016 builders are working great, but before I take down the old ones and switch over trybots, we need to make 32-bit mode (GOARCH=386 + GOHOSTARCH=386) work. Currently I get:
|
@bradfitz - Cool, I'm able to repro that issue and will look into it next.
…On Mon, Apr 24, 2017 at 9:26 AM Brad Fitzpatrick ***@***.***> wrote:
@johnsonj <https://github.com/johnsonj>, the new 2008, 2012, and 2016
builders are working great, but before I take down the old ones and switch
over trybots, we need to make 32-bit mode (GOARCH=386 + GOHOSTARCH=386)
work.
Currently I get:
$ gomote run -e GOARCH=386 -e GOHOSTARCH=386 user-bradfitz-windows-amd64-2008-0 go/src/all <https://goto.google.com/src/all>.bat
...
ok reflect 0.262s
ok regexp 0.174s
ok regexp/syntax 0.711s
--- FAIL: TestStdcallAndCDeclCallbacks (1.25s)
panic: Failed to load C:\windows\TEMP\TestCDeclCallback955796461\test.dll: %1 is not a valid Win32 application. [recovered]
panic: Failed to load C:\windows\TEMP\TestCDeclCallback955796461\test.dll: %1 is not a valid Win32 application.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17513 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAZo5afOEeuxIfiCGDMW5OSr_his5lRNks5rzM0-gaJpZM4Ka9WL>
.
|
Note that the old builder image had both a 32-bit and 64-bit compiler installed, and then the buildlet masked out a $PATH entry depending on the GOARCH value so the correct gcc was always used. Not sure whether we still have to play such games. Maybe. |
CL https://golang.org/cl/41611 mentions this issue. |
…64-2008 The windows-amd64-2008 is the same OS as windows-amd64-gce but is an auto-generated image. TODO: 386 auto-generated Windows builders, and then maybe we'll move TryBots to Windows Server 2016. One step at a time. This should be a no-op. I verified performance is the same. Updates golang/go#17513 Change-Id: I34984db14b87d03771e15465978b1687df6895f7 Reviewed-on: https://go-review.googlesource.com/41611 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Yes we do need to play the games. I'm splitting the gcc toolchain to |
CL https://golang.org/cl/42014 mentions this issue. |
- images now include 32bit gcc in c:\godeps\gcc32 - 64bit gcc has moved to c:\godeps\gcc64 - update host definitions for new image versions - add windows-386-2008 host Updates golang/go#17513 Change-Id: Ib3f5d4b2b1702c05089cf633529ebf38db270a43 Reviewed-on: https://go-review.googlesource.com/42014 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
CL https://golang.org/cl/41142 mentions this issue. |
Generate a Windows image that will start a buildlet on boot and have the dependencies needed for building/testing go/cgo. provisioning: - `sysprep.ps1`: disables unneeded features (eg UAC) and downloads dependencies (stage0, gcc) - `startup.ps1`: sets up a user account for unattended login. this can't be done in the sysprep stage because the `local machine` does not yet exist to create accounts under. helpers: - `build.bash`: builds a single image, creates a vm from the image and verifies it with `test_buildlet.bash` - `make.bash`: builds a set of images - `connect.bash`: helper to RDP into a machine for troubleshooting - `test_buildlet.bash`: validation script to exercise a buildlet Updates golang/go#17513 Change-Id: I4812ed1fc9862ae0aa44b712ea270fd52d0c505f Reviewed-on: https://go-review.googlesource.com/41142 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@bradfitz - anything else on your mind for this issue or good to close? |
I'd like to verify that the buildlets are coming up reliably still. I seem to recall still seeing some timing out and the coordinator auto-retrying a new machine. Let me run some numbers when I have a sec. We also need to switch trybots (back) to using the new images. They were flipped back to the old images after the old image sometimes failed to boot. |
Change https://golang.org/cl/70845 mentions this issue: |
…cmdlet not available This doesn't appear to be present on Windows Server 2012 or 2016: https://build.golang.org/log/6ea21b99c9b8a2be20f9aeaec6c425b84faf1af7 https://build.golang.org/log/2bcf04f1df003577352f4f987a39a59a081094ee Updates #17513 Updates #20073 Change-Id: I72820704b4cb16bb1720b7f6a9f2e10028c71334 Reviewed-on: https://go-review.googlesource.com/41395 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-on: https://go-review.googlesource.com/70845 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
We've had this for ages. Closing. (Perhaps from https://go-review.googlesource.com/41611 for #17513 or thereabouts) |
As @quentinmit noted in #17365 (comment) , GCE now has Windows Server 2016 (NT 10.0, ~Windows 10).
We should run a builder for it.
@quentinmit, do you want to do it?
/cc @alexbrainman
The text was updated successfully, but these errors were encountered: