-
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: add LUCI linux-ppc64le_power10 builder #64660
Comments
Right now there is a Am I understanding correctly that this is different hardware and we actually want to rename the The way things are configured right now, if we simply add the |
If these are same hardware (all POWER 10), then the different would be a matter of setting GOPPC64 env var when building. If they are different hardware, then we'll need to adjust LUCI to be able to determine which version of POWER the current machine is. |
The linux/ppc64{,le} builders are backed by physically different hardware as implied by the hostname. The intent is to suss out ISA violations. @prattmic I think the answer to your question is yes. |
Thanks for the confirmation, that's what I was expecting. LUCI uses "dimensions" reported by the bot running on the machine to determine which bots are used for which builders. Right now, the I think the right way to do this is to extend the @pmur could you tell us the best way to determine whether a machine is POWER 8 vs 10 so we can modify the bot? Or if you are willing to navigate the LUCI contribution process and send a CL directly, that would be appreciated. Given that there are ppc64 ports on Linux, OpenBSD, and AIX, it seems that ideally this detection would be portable across all OSes, though today I believe that only Linux has builders for different ISAs. |
I will need it to differentiate between power8/9/10, eventually. Unfortunately, there is no common way to do this. It will take me awhile to get internal approval to send patches to LUCI, I'll start the process. It will be quicker if google can patch it. Here are some notes: On linux, we match the most recent AT_HWCAP2 ISA support bit set (e.g 3.1 is Power10, 3.00 is Power9, 2.07 is Power8). On the other platforms, I think it is OK to assume power8 as is done for openbsd/aix today. Though, both of those builders are running power9 hardware. |
@prattmic looking at the repo, I think something like the following might do what we want:
Reading
|
I think my google CLA from IBM also covers that project too, so I went ahead and opened a CL there . @prattmic I think this change should populate the |
@prattmic do you know when we will be able to verify the change to detect cpu on ppc will roll out to luci? |
The latest CLs to the swarming bot haven't been released yet, I'll update here when they are. |
The change seems to be in. I see |
I think we want to do two things:
(This is assuming cc @mknyszek to check that this sounds reasonable. |
This change should also be made for linux-ppc64-* too. Renaming the builders is OK with me, will that also require regenerating the certs too? |
The naming convention right now would result in interpreting (However, I feel like we also discussed elsewhere that "power8" is a bit weird here in that you can run different ppc64 versions on different hardware, making it closer to a run mod in spirit. I don't remember where we landed on that. The way you've phrased it here, as being a property of the host, makes me think we should use the underscore.) |
Ping. I think the |
I just meant the builder, not the bot. |
Hi, is there any progress on the Go team's tooling? I'd like to continue migrating the remaining ppc64 and ppc64le builders. |
Thanks for the ping @pmur. I have time to help move this forward this week. I've mailed CL 575856 as the next step here, which should make it possible for you to start connecting bots with the |
Change https://go.dev/cl/575856 mentions this issue: |
Per discussion in go.dev/issue/64660, the intent is to have distinct hardware test the GOOS=linux GOARCH=ppc64{,le} GOPPC64=power{8,9,10} Go ports, instead of using the same hardware with a different value of the GOPPC64 environment variable set. By now crrev.com/c/5178250 has propagated and the swarming bot reports in its 'cpu' dimension whether it's a POWER{8,9,10} type of CPU. Update our configuration accordingly: make it a property of the host which type of CPU should be matched, and replace the previous power10 runmod in favor of setting the GOPPC64 env var explicitly as part of the builder definition (since a runmod is redundant with the host suffix and would make the builder name more repetitive). After this change is in, it will become possible to have hardware for testing the GOOS=linux GOARCH=ppc64le GOPPC64=power10 port connect to LUCI and not get selected as a host for the LUCI builder now defined as 'linux-ppc64le_power8' (previously defined as 'linux-ppc64le'). For golang/go#64660. For golang/go#64588. Change-Id: I1bf00231c46a29052c3e3dfce92f6bea20fea708 Reviewed-on: https://go-review.googlesource.com/c/build/+/575856 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Here's the certificate for the bot hostname |
Change https://go.dev/cl/576138 mentions this issue: |
For golang/go#66667. For golang/go#64660. Change-Id: If36ab865d6b6250b27b2c4d2359603ea839ceadf Reviewed-on: https://go-review.googlesource.com/c/build/+/576138 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Builder is up and running. Thanks everyone. |
Thank you very much @pmur. I've mailed you go.dev/cl/576917 to remove its known issue. |
Change https://go.dev/cl/576917 mentions this issue: |
They've connected and started running. See https://ci.chromium.org/b/8751480727881152721 and https://ci.chromium.org/b/8751480728981608321. For golang/go#66667. For golang/go#64660. Change-Id: I96d1a5ebc7513a0aa66bb3467d46f1cb0325b79d Reviewed-on: https://go-review.googlesource.com/c/build/+/576917 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
This will be a builder for
GOPPC64=power10
GOARCH=ppc64le
GOOS=linux
.The hostname should be
linux-ppc64le-power10
. The csr is attached: linux-ppc64le-power10.csr.txtThe text was updated successfully, but these errors were encountered: