-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: set up AIX builder #27160
Comments
I have a AIX 7.2 machine available on OSU and I need some more information for finalizing its configuration in order to make it available to the golang buildfarm. Thx. |
@dmitshur, what you'll want to do is email him the host key for:
(the same was you made a gomote user token earlier, but with And then add that same host config name into x/build/dashboard/builders.go, and then add a |
Change https://golang.org/cl/131335 mentions this issue: |
@trex58 I've sent CL 131335 as a starting point. /cc @bradfitz We can continue the discussion there. Once the CL is ready and submitted, I suspect I'll need to redeploy cmd/coordinator, while you get your builder to run with the latest cmd/buildlet binary. It should then be able to connect to the coordinator (https://farmer.golang.org/). |
Hi Dmitri,
ping farmer.golang.org What am I doing wrong? For now, I'm using our RPM golang go version: go version rpm -qa | grep golang go env |
@trex58, you pasted the private builder key above. I deleted it. Please don't share it publicly. Your mistake is here |
Ooops ! Sorry about showing the key. Now using: Now, I have: Since AIX does not have "systemd", I have to figure out how to manage the loop script so that it runs forever and also when the system is rebooted. |
I have changed: GOROOT_BOOTSTRAP=/opt/freeware/lib/golang/ . This is what we already use for bootstrapping from the previously installed RPMs of golang build by our .spec file. I have created a SRC subsystem for /go/bin/buildletloop which will run continuously and will restart at AIX reboot. |
Great. And https://farmer.golang.org/ now shows your machine connected:
So now we just need to configure our side to give it work. |
Hi Brad. |
Hello. |
I'm on vacation for several weeks. Dmitri replied on the CL, IIRC. |
Oh ! yes! Sorry. Thx. Enjoy your vacations! |
@trex58 I hope I've answered your questions in my latest reply in the CL (https://go-review.googlesource.com/c/build/+/131335#message-b4ef0e3ec637c8fb3dd5603bd1397d5b7029aec7). I'll be updating the coordinator so it's ready to give out work to the buildlet. If there's anything unexpected on your side, or you want to stop things temporarily, just stop the buildlet binary from running and let me know. |
This is a starting point for adding an aix-ppc64 reverse builder. There can be further adjustments made to it as needed. Updates golang/go#27160. Change-Id: I8a61adbe21f1a08265df9a206d94bb04e880a508 Reviewed-on: https://go-review.googlesource.com/131335 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
I've redeployed coordinator with CL 131335 merged. @trex58 Your reverse builder has successfully connected, and the coordinator is giving it work now: Since this is a new builder, the coordinator will be giving it many commits to test one after another. Let's see keep an eye on it and see how it goes (whether they pass or not). Also let me know if you have any concerns from your side (the builder machine). |
The first 2 builds failed so far: We can learn from the build log to see what the problem was:
It looks like it's failing at building Go using the given bootstrap Go (in /opt/freeware/lib/golang). Can you see if you can figure out why that's happening inside the builder machine? Is there a working version of Go 1.4 in /opt/freeware/lib/golang? |
In any case, until any AIX is in-tree, you should expect all builds to fail, and that's okay. That's exactly what https://golang.org/wiki/PortingPolicy says the path should be. |
Oh, I didn't realize this was a new (not yet implemented) port. In that case, build failures in the short term are expected, but please let us know if it's failing in an unexpected point and you need help getting it past that point. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Tony Reix (tony.reix@atos.net) requests an AIX builder. He needs a key, builder.go configuration, etc.
(He's been waiting since mid-June, but it got lost in my email.)
Dmitri, can you own this?
The text was updated successfully, but these errors were encountered: