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

x/build/env/fuchsia: add new Fuchsia builder #30267

Closed
bradfitz opened this issue Feb 15, 2019 · 6 comments
Closed

x/build/env/fuchsia: add new Fuchsia builder #30267

bradfitz opened this issue Feb 15, 2019 · 6 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-Fuchsia
Milestone

Comments

@bradfitz
Copy link
Contributor

@dhobsd is planning on adding a Fuchsia port.

Fuchsia is not yet self-hosting, so the builder plan is to use a linux/amd64 host to do the build with nested virtualization enabled and run qemu+kvm to run the tests.

/cc @dhobsd @dmitshur

@bradfitz bradfitz added Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-Fuchsia labels Feb 15, 2019
@bradfitz bradfitz self-assigned this Feb 15, 2019
@gopherbot gopherbot added this to the Unreleased milestone Feb 15, 2019
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/162959 mentions this issue: dashboard, buildlet: add a disabled builder with nested virt, for testing

gopherbot pushed a commit to golang/build that referenced this issue Feb 15, 2019
…ting

This adds a linux-amd64 COS builder that should be just like our
existing linux-amd64 COS builder except that it's using a forked image
that has the VMX license bit enabled for nested virtualization. (GCE
appears to be using the license mechanism as some sort of opt-in
mechanism for features that aren't yet GA; might go away?)

Once this is in, it won't do any new builds as regular+trybot builders
are disabled. But it means I can then use gomote + debugnewvm to work
on preparing the other four image types.

Updates golang/go#15581 (solaris)
Updates golang/go#23060 (dragonfly)
Updates golang/go#30262 (riscv)
Updates golang/go#30267 (fuchsia)
Updates golang/go#23824 (android)

Change-Id: Ic55f17eea17908dba7f58618d8cd162a2ed9b015
Reviewed-on: https://go-review.googlesource.com/c/162959
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
@golang golang deleted a comment from carbonatedcaffeine Feb 18, 2019
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/163005 mentions this issue: env: add Dockerfile for generating a Fuchsia buildlet

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/163057 mentions this issue: buildlet: change image name for COS-with-vmx buildlet

gopherbot pushed a commit to golang/build that referenced this issue Feb 19, 2019
The COS image I'd forked from earlier didn't have CONFIG_KVM or
CONFIG_KVM_INTEL enabled in its kernel, so even though I'd enabled the
VMX license bit for the VM, the kernel was unable to use it.

Now I've instead rebuilt the ChromiumOS "lakitu" board with a modified
kernel config:

   https://cloud.google.com/container-optimized-os/docs/how-to/building-from-open-source

More docs later. Still tinkering. Nothing uses this yet.

Updates golang/go#15581 (solaris)
Updates golang/go#23060 (dragonfly)
Updates golang/go#30262 (riscv)
Updates golang/go#30267 (fuchsia)
Updates golang/go#23824 (android)

Change-Id: Id2839066e67d9ddda939d96c5f4287af3267a769
Reviewed-on: https://go-review.googlesource.com/c/163057
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/163301 mentions this issue: env/linux-x86-vmx: add new Debian host that's like Container-Optimized OS + vmx

gopherbot pushed a commit to golang/build that referenced this issue Feb 21, 2019
…d OS + vmx

This adds scripts to create a new builder host image that acts like
Container-Optimized OS (has docker, runs konlet on startup) but with a
Debian 9 kernel + userspace that permits KVM for nested
virtualization.

Updates golang/go#15581 (solaris)
Updates golang/go#23060 (dragonfly)
Updates golang/go#30262 (riscv)
Updates golang/go#30267 (fuchsia)
Updates golang/go#23824 (android)

Change-Id: Ib1d3a250556703856083c222be2a70c4e8d91884
Reviewed-on: https://go-review.googlesource.com/c/163301
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
@bradfitz bradfitz modified the milestones: Unreleased, Go1.14 Apr 30, 2019
@bradfitz
Copy link
Contributor Author

Freeze is tomorrow, so I guess Fuchsia is waiting until Go 1.14.

@bradfitz bradfitz removed their assignment May 29, 2019
@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
@heschi
Copy link
Contributor

heschi commented Nov 21, 2023

No activity on this, and it should be preceded by a port proposal anyway. Closing for now.

@heschi heschi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
@dmitshur dmitshur modified the milestones: Backlog, Unreleased Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-Fuchsia
Projects
Archived in project
Development

No branches or pull requests

5 participants