-
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: fix, stabilize netbsd/386 port #31726
Comments
We have plenty of x86 compute resources to run a netbsd-386 builder and we used to run one. The builder's not the issue. The issue was that the builder was super flaky, IIRC. (There are probably old bugs about turning it off and its flakes) I'd rather see some attention paid to fixing it up. |
|
golang for i386 has some users and it works good enough, but some corner cases are flaky. |
I just tried to run the builder. It hangs somewhere in the runtime tests ("go test -short runtime"). @krytarowski, I'm happy to re-enable the builder if you can even get it to 50% reliably passing, as long as it doesn't hang. |
Change https://golang.org/cl/174637 mentions this issue: |
Also remove dead nacl-arm. It hasn't run in ages. And update netbsd comment about why 386 doesn't run. And correct its VM image name. Updates golang/go#31705 Updates golang/go#31726 Change-Id: I9de4605f34a052d0a84684fca098388d75602a82 Reviewed-on: https://go-review.googlesource.com/c/build/+/174637 Reviewed-by: Brad Fitzpatrick <[email protected]>
I'm still busy with !golang so cannot make any promises myself. |
And it still passes, I tried in VirtualBox yesterday. Given how close we are to branching NetBSD 9, maybe running the 386 builder on -current would make sense? |
Did you test 8 or current? 8 on GCE doesn't work. I tried 3 days ago (see above). |
Using HEAD / -9 is a good idea. There were many improvements. |
Change https://golang.org/cl/226977 mentions this issue: |
Update NetBSD amd64 and 386 builders to the latest NetBSD 9.0 release, using the latest versions of anita (2.3) and pkgsrc packages (2019Q4). Also increase the image disk size from 4 GB to 16 GB. The motivation is to help tests that require more disk space and large dependencies. Additional adjustments to the image building script will need to be made to make use of increased disk space for the /tmp volume, as it is currently being mounted in RAM with size equal to 25% of memory. Remove the manual invocation of the mozilla-rootcerts install command. It no longer works as is in NetBSD 9.0. The mozilla-rootcerts-openssl package is added instead, which successfully performs that same task. Hopefully this will be a more robust approach for the future. Continue to use an explicit URL for the NetBSD release download, and remove unused find_latest_release. The plan is to roll out these builders first (without trybots), gain more confidence, enable trybots, and then remove NetBSD 8.0 builders. For golang/go#37244. For golang/go#30839. For golang/go#31858. For golang/go#31726. For golang/go#38283. Change-Id: Id41278eaebe64cfbcf7b1ab9bfd64e550ee0bbf1 Reviewed-on: https://go-review.googlesource.com/c/build/+/226977 Reviewed-by: Benny Siegert <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
Change https://golang.org/cl/227538 mentions this issue: |
The /tmp partition was being mounted as tmpfs -s=ram%25 by default. On the n1-highcpu-4 machine type with 3.6 GB RAM, this resulted in there being less than 1 GB of available disk space, which is not sufficient to build Go and run its tests. CL 226977 has increased the image disk size from 4 GB to 16 GB, so using the disk for /tmp resolves issues with insufficient disk space. I also considered using an alternative machine type like n1-standard-4 with 15 GB RAM instead, but didn't pursue that option for now because it was not clear if it could be made to work for the 32-bit builder. Remove the replacement of wd0 with sd0 in /etc/fstab. It is no longer required because the NetBSD 9.0 installer defaults to installing on GPT rather than MBR as was done in earlier versions. For golang/go#37244. For golang/go#30839. For golang/go#31726. Change-Id: Icbd0f909ab7768d775c96a6b606b5279a600f1bd Reviewed-on: https://go-review.googlesource.com/c/build/+/227538 Reviewed-by: Benny Siegert <[email protected]> Run-TryBot: Benny Siegert <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
Change https://golang.org/cl/227545 mentions this issue: |
There are NetBSD 9.0 builders being added as part of issue #37244. So far, the netbsd-386-9_0 builder is passing. If nothing unexpected comes up, it should resolve this issue. |
The NetBSD 9.0 builders are operational as of CL 227538. They've been running on a few commits in all repositories without issues. The netbsd/386 builder is passing, no longer hanging in the runtime tests as the NetBSD 8.0 version did, so keep it enabled. If anything unexpected comes up, we should investigate. For golang/go#37244. For golang/go#31726. Change-Id: Ie3167fa3eabb7f707487561ca2cd4505572df741 Reviewed-on: https://go-review.googlesource.com/c/build/+/227545 Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Andrew Bonventre <[email protected]>
The Closing as resolved. This issue can be re-opened, or another more specific one can be created if something comes up. |
Change https://golang.org/cl/227738 mentions this issue: |
Change https://golang.org/cl/227552 mentions this issue: |
The darwin/386 port has been removed per golang.org/issue/37610. TestSizes needs an operating system that has both amd64 and 386 ports, so darwin no longer qualifies. NetBSD has had its 386 port restored recently in golang/go#31726, so it can be used instead. Fixes golang/go#38319. For golang/go#37610. Change-Id: I37ce6d86ca3ddad43e9294e0de66f36091cba54a Reviewed-on: https://go-review.googlesource.com/c/tools/+/227552 Reviewed-by: Benny Siegert <[email protected]>
They've been superseded by the netbsd-{amd64,386}-9_0 builders. Fixes golang/go#37244. For golang/go#31726. Change-Id: I17001d250b01d885ecd141b7bc07fce3de73e9a1 Reviewed-on: https://go-review.googlesource.com/c/build/+/227738 Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Benny Siegert <[email protected]>
There has not seemingly been a netbsd/386 builder for a number of years - given that a builder is a requirement for a port, is it time to remove netbsd/386?
https://github.com/golang/go/wiki/PortingPolicy
The text was updated successfully, but these errors were encountered: