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

SDK GameServer() function for retrieving backing GameServer configuration #288

Merged

Conversation

markmandel
Copy link
Member

Extended the gRPC SDK to include a GameServer() function for both Go, C++
and REST by extending the backing sdk.proto and implementing the functionality
in the sdk sidecar.

This is the start of work needed for #277.

@markmandel markmandel added kind/feature New features for Agones area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Jul 15, 2018
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 5ead8341-91f0-40a0-a91c-8922aafa312c

Build Logs
starting build "5ead8341-91f0-40a0-a91c-8922aafa312c"

FETCHSOURCE
Initialized empty Git repository in /workspace/.git/
From https://source.developers.google.com/p/agones-images/r/agones
 * branch            563c5923b8ab1aeecc78a91644e12fe6e4473a0c -> FETCH_HEAD
HEAD is now at 563c592 SDK `GameServer()` function for retrieving backing GameServer configuration.
BUILD
Starting Step #0
Step #0: Already have image (with digest): ubuntu
Finished Step #0
Starting Step #1
Step #1: Already have image (with digest): gcr.io/cloud-builders/docker
Step #1: Sending build context to Docker daemon  110.4MB

Step #1: Step 1/3 : FROM gcr.io/cloud-builders/docker
Step #1:  ---> 53f347563322
Step #1: Step 2/3 : RUN apt-get install make
Step #1:  ---> Running in bfda19476e03
Step #1: Reading package lists...
Step #1: Building dependency tree...
Step #1: Reading state information...
Step #1: make is already the newest version (4.1-6).
Step #1: 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Step #1: Removing intermediate container bfda19476e03
Step #1:  ---> db48c7030e70
Step #1: Step 3/3 : ENTRYPOINT ["/usr/bin/make"]
Step #1:  ---> Running in 06ca40d5efef
Step #1: Removing intermediate container 06ca40d5efef
Step #1:  ---> 061fe2ea89b2
Step #1: Successfully built 061fe2ea89b2
Step #1: Successfully tagged make-docker:latest
Finished Step #1
Starting Step #2 - "pull-build-image"
Step #2 - "pull-build-image": Already have image: make-docker
Step #2 - "pull-build-image": docker pull gcr.io/agones-images/agones-build:7baad3fcaa && docker tag gcr.io/agones-images/agones-build:7baad3fcaa agones-build:7baad3fcaa
Step #2 - "pull-build-image": 7baad3fcaa: Pulling from agones-images/agones-build
Step #2 - "pull-build-image": cc1a78bfd46b: Pulling fs layer
Step #2 - "pull-build-image": 65ec5fb8fee4: Pulling fs layer
Step #2 - "pull-build-image": f792a8d67267: Pulling fs layer
Step #2 - "pull-build-image": c61ddf10ea29: Pulling fs layer
Step #2 - "pull-build-image": f11e4b9dca6d: Pulling fs layer
Step #2 - "pull-build-image": f5de62cd774a: Pulling fs layer
Step #2 - "pull-build-image": 84fd27122697: Pulling fs layer
Step #2 - "pull-build-image": 0c424a61cc39: Pulling fs layer
Step #2 - "pull-build-image": b5bfc6f2e8cf: Pulling fs layer
Step #2 - "pull-build-image": 3b2702a6ad68: Pulling fs layer
Step #2 - "pull-build-image": 5ab6afc7d65b: Pulling fs layer
Step #2 - "pull-build-image": 24f531f817dd: Pulling fs layer
Step #2 - "pull-build-image": 438f29967585: Pulling fs layer
Step #2 - "pull-build-image": 84919d2a889b: Pulling fs layer
Step #2 - "pull-build-image": 8e059271ff11: Pulling fs layer
Step #2 - "pull-build-image": 6f621b6c2140: Pulling fs layer
Step #2 - "pull-build-image": 2cc115bfdcc4: Pulling fs layer
Step #2 - "pull-build-image": c83e29de64eb: Pulling fs layer
Step #2 - "pull-build-image": 67b0b15947b1: Pulling fs layer
Step #2 - "pull-build-image": 88d3d110e8a5: Pulling fs layer
Step #2 - "pull-build-image": b5bfc6f2e8cf: Waiting
Step #2 - "pull-build-image": c61ddf10ea29: Waiting
Step #2 - "pull-build-image": 8e059271ff11: Waiting
Step #2 - "pull-build-image": 6f621b6c2140: Waiting
Step #2 - "pull-build-image": 3b2702a6ad68: Waiting
Step #2 - "pull-build-image": 2cc115bfdcc4: Waiting
Step #2 - "pull-build-image": 5ab6afc7d65b: Waiting
Step #2 - "pull-build-image": c83e29de64eb: Waiting
Step #2 - "pull-build-image": 24f531f817dd: Waiting
Step #2 - "pull-build-image": 67b0b15947b1: Waiting
Step #2 - "pull-build-image": 438f29967585: Waiting
Step #2 - "pull-build-image": 88d3d110e8a5: Waiting
Step #2 - "pull-build-image": 84919d2a889b: Waiting
Step #2 - "pull-build-image": f11e4b9dca6d: Waiting
Step #2 - "pull-build-image": f5de62cd774a: Waiting
Step #2 - "pull-build-image": 84fd27122697: Waiting
Step #2 - "pull-build-image": 0c424a61cc39: Waiting
Step #2 - "pull-build-image": cc1a78bfd46b: Verifying Checksum
Step #2 - "pull-build-image": cc1a78bfd46b: Download complete
Step #2 - "pull-build-image": c61ddf10ea29: Verifying Checksum
Step #2 - "pull-build-image": c61ddf10ea29: Download complete
Step #2 - "pull-build-image": 65ec5fb8fee4: Verifying Checksum
Step #2 - "pull-build-image": 65ec5fb8fee4: Download complete
Step #2 - "pull-build-image": f5de62cd774a: Verifying Checksum
Step #2 - "pull-build-image": f5de62cd774a: Download complete
Step #2 - "pull-build-image": cc1a78bfd46b: Pull complete
Step #2 - "pull-build-image": 84fd27122697: Verifying Checksum
Step #2 - "pull-build-image": 84fd27122697: Download complete
Step #2 - "pull-build-image": 0c424a61cc39: Verifying Checksum
Step #2 - "pull-build-image": 0c424a61cc39: Download complete
Step #2 - "pull-build-image": b5bfc6f2e8cf: Verifying Checksum
Step #2 - "pull-build-image": b5bfc6f2e8cf: Download complete
Step #2 - "pull-build-image": 3b2702a6ad68: Verifying Checksum
Step #2 - "pull-build-image": 3b2702a6ad68: Download complete
Step #2 - "pull-build-image": f11e4b9dca6d: Verifying Checksum
Step #2 - "pull-build-image": f11e4b9dca6d: Download complete
Step #2 - "pull-build-image": 5ab6afc7d65b: Verifying Checksum
Step #2 - "pull-build-image": 5ab6afc7d65b: Download complete
Step #2 - "pull-build-image": 438f29967585: Verifying Checksum
Step #2 - "pull-build-image": 438f29967585: Download complete
Step #2 - "pull-build-image": 24f531f817dd: Verifying Checksum
Step #2 - "pull-build-image": 24f531f817dd: Download complete
Step #2 - "pull-build-image": 8e059271ff11: Verifying Checksum
Step #2 - "pull-build-image": 6f621b6c2140: Verifying Checksum
Step #2 - "pull-build-image": 6f621b6c2140: Download complete
Step #2 - "pull-build-image": 2cc115bfdcc4: Download complete
Step #2 - "pull-build-image": c83e29de64eb: Download complete
Step #2 - "pull-build-image": 67b0b15947b1: Verifying Checksum
Step #2 - "pull-build-image": 67b0b15947b1: Download complete
Step #2 - "pull-build-image": 88d3d110e8a5: Verifying Checksum
Step #2 - "pull-build-image": 88d3d110e8a5: Download complete
Step #2 - "pull-build-image": 84919d2a889b: Verifying Checksum
Step #2 - "pull-build-image": 84919d2a889b: Download complete
Step #2 - "pull-build-image": f792a8d67267: Verifying Checksum
Step #2 - "pull-build-image": f792a8d67267: Download complete
Step #2 - "pull-build-image": 65ec5fb8fee4: Pull complete
Step #2 - "pull-build-image": f792a8d67267: Pull complete
Step #2 - "pull-build-image": c61ddf10ea29: Pull complete
Step #2 - "pull-build-image": f11e4b9dca6d: Pull complete
Step #2 - "pull-build-image": f5de62cd774a: Pull complete
Step #2 - "pull-build-image": 84fd27122697: Pull complete
Step #2 - "pull-build-image": 0c424a61cc39: Pull complete
Step #2 - "pull-build-image": b5bfc6f2e8cf: Pull complete
Step #2 - "pull-build-image": 3b2702a6ad68: Pull complete
Step #2 - "pull-build-image": 5ab6afc7d65b: Pull complete
Step #2 - "pull-build-image": 24f531f817dd: Pull complete
Step #2 - "pull-build-image": 438f29967585: Pull complete
Step #2 - "pull-build-image": 84919d2a889b: Pull complete
Step #2 - "pull-build-image": 8e059271ff11: Pull complete
Step #2 - "pull-build-image": 6f621b6c2140: Pull complete
Step #2 - "pull-build-image": 2cc115bfdcc4: Pull complete
Step #2 - "pull-build-image": c83e29de64eb: Pull complete
Step #2 - "pull-build-image": 67b0b15947b1: Pull complete
Step #2 - "pull-build-image": 88d3d110e8a5: Pull complete
Step #2 - "pull-build-image": Digest: sha256:3b0633d147975b433dda6e16d40c801c793181fc0f7d9d3f704479605690080f
Step #2 - "pull-build-image": Status: Downloaded newer image for gcr.io/agones-images/agones-build:7baad3fcaa
Finished Step #2 - "pull-build-image"
Starting Step #3 - "tests"
Starting Step #4 - "build"
Step #3 - "tests": Already have image: make-docker
Step #4 - "build": Already have image: make-docker
Step #4 - "build": mkdir -p ~/.kube
Step #4 - "build": mkdir -p /workspace/build//.config/gcloud
Step #3 - "tests": mkdir -p ~/.kube
Step #3 - "tests": mkdir -p /workspace/build//.config/gcloud
Step #4 - "build": docker run --rm -e "CGO_ENABLED=0" -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube:/root/.kube -v /workspace:/go/src/agones.dev/agones agones-build:7baad3fcaa go build \
Step #4 - "build": 	-o /go/src/agones.dev/agones/cmd/controller/bin/controller -a -ldflags "-X agones.dev/agones/pkg.Version=0.3.0-563c592" -installsuffix cgo agones.dev/agones/cmd/controller
Step #3 - "tests": docker run --rm -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube:/root/.kube -v /workspace:/go/src/agones.dev/agones -w /go/src/agones.dev/agones  agones-build:7baad3fcaa bash -c \
Step #3 - "tests": 	"/root/gen-lint-exclude.sh && gometalinter --config .exclude.gometalinter.json --deadline=15m -t --skip vendor ./..."
Step #4 - "build": docker build /workspace/cmd/controller/ --tag=gcr.io/agones-images/agones-controller:0.3.0-563c592 
Step #4 - "build": Sending build context to Docker daemon  41.78MB

Step #4 - "build": Step 1/6 : FROM alpine:3.7
Step #4 - "build": 3.7: Pulling from library/alpine
Step #4 - "build": 911c6d0c7995: Already exists
Step #4 - "build": Digest: sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a
Step #4 - "build": Status: Downloaded newer image for alpine:3.7
Step #4 - "build":  ---> 791c3e2ebfcb
Step #4 - "build": Step 2/6 : RUN apk --update add ca-certificates &&     adduser -D agones
Step #4 - "build":  ---> Running in 921988c75f2b
Step #4 - "build": fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
Step #4 - "build": fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
Step #4 - "build": (1/1) Installing ca-certificates (20171114-r0)
Step #4 - "build": Executing busybox-1.27.2-r11.trigger
Step #4 - "build": Executing ca-certificates-20171114-r0.trigger
Step #4 - "build": OK: 5 MiB in 14 packages
Step #4 - "build": Removing intermediate container 921988c75f2b
Step #4 - "build":  ---> d7b198e19fb6
Step #4 - "build": Step 3/6 : COPY ./bin/controller /home/agones/controller
Step #4 - "build":  ---> 5c4524001f5a
Step #4 - "build": Step 4/6 : RUN chown -R agones /home/agones &&     chmod o+x /home/agones/controller
Step #4 - "build":  ---> Running in 6dedcb94f0df
Step #4 - "build": Removing intermediate container 6dedcb94f0df
Step #4 - "build":  ---> 8dd2c9e11486
Step #4 - "build": Step 5/6 : USER agones
Step #4 - "build":  ---> Running in 2839530fb055
Step #4 - "build": Removing intermediate container 2839530fb055
Step #4 - "build":  ---> 7184d1f4d7e2
Step #4 - "build": Step 6/6 : ENTRYPOINT ["/home/agones/controller"]
Step #4 - "build":  ---> Running in 0681ccd68c73
Step #4 - "build": Removing intermediate container 0681ccd68c73
Step #4 - "build":  ---> 33b4ad62fae6
Step #4 - "build": Successfully built 33b4ad62fae6
Step #4 - "build": Successfully tagged gcr.io/agones-images/agones-controller:0.3.0-563c592
Step #4 - "build": docker run --rm -e "CGO_ENABLED=0" -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube:/root/.kube -v /workspace:/go/src/agones.dev/agones agones-build:7baad3fcaa go build \
Step #4 - "build": 	-o /go/src/agones.dev/agones/cmd/sdk-server/bin/sdk-server.linux.amd64 -a -ldflags "-X agones.dev/agones/pkg.Version=0.3.0-563c592" -installsuffix cgo agones.dev/agones/cmd/sdk-server
Step #4 - "build": # agones.dev/agones/vendor/k8s.io/api/admissionregistration/v1beta1
Step #4 - "build": fatal error: runtime: out of memory
Step #4 - "build": 
Step #4 - "build": runtime stack:
Step #4 - "build": runtime.throw(0xc225c1, 0x16)
Step #4 - "build": 	/usr/local/go/src/runtime/panic.go:616 +0x81
Step #4 - "build": runtime.sysMap(0xc420df0000, 0x140000, 0x0, 0x1027058)
Step #4 - "build": 	/usr/local/go/src/runtime/mem_linux.go:216 +0x20a
Step #4 - "build": runtime.(*mheap).sysAlloc(0x1001fa0, 0x140000, 0x7efc91033b58)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:470 +0xd4
Step #4 - "build": runtime.(*mheap).grow(0x1001fa0, 0x9a, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:907 +0x60
Step #4 - "build": runtime.(*mheap).allocSpanLocked(0x1001fa0, 0x9a, 0x1027068, 0x7fffbee009f0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:820 +0x301
Step #4 - "build": runtime.(*mheap).alloc_m(0x1001fa0, 0x9a, 0x410100, 0xc41ffb4dff)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:686 +0x118
Step #4 - "build": runtime.(*mheap).alloc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:753 +0x4d
Step #4 - "build": runtime.(*mheap).alloc(0x1001fa0, 0x9a, 0x7fffbe010100, 0x4133ac)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:752 +0x8a
Step #4 - "build": runtime.largeAlloc(0x132560, 0x450001, 0x7efc91239000)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:826 +0x94
Step #4 - "build": runtime.mallocgc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:721 +0x46
Step #4 - "build": runtime.systemstack(0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:409 +0x79
Step #4 - "build": runtime.mstart()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:1175
Step #4 - "build": 
Step #4 - "build": goroutine 1 [running]:
Step #4 - "build": runtime.systemstack_switch()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:363 fp=0xc420cc7598 sp=0xc420cc7590 pc=0x452ce0
Step #4 - "build": runtime.mallocgc(0x132560, 0xbec7c0, 0xc420369a01, 0xc420306280)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:720 +0x8a2 fp=0xc420cc7638 sp=0xc420cc7598 pc=0x40fae2
Step #4 - "build": runtime.makeslice(0xbec7c0, 0x4, 0x4, 0xc4200684e0, 0xc4200685a0, 0xc420068660)
Step #4 - "build": 	/usr/local/go/src/runtime/slice.go:61 +0x77 fp=0xc420cc7668 sp=0xc420cc7638 pc=0x43d5e7
Step #4 - "build": cmd/compile/internal/gc.initssaconfig()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/ssa.go:77 +0x503 fp=0xc420cc7848 sp=0xc420cc7668 pc=0xab6c13
Step #4 - "build": cmd/compile/internal/gc.Main(0xc35628)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/main.go:610 +0x269e fp=0xc420cc7f10 sp=0xc420cc7848 pc=0xa63d7e
Step #4 - "build": main.main()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/main.go:49 +0x95 fp=0xc420cc7f88 sp=0xc420cc7f10 pc=0xb74a15
Step #4 - "build": runtime.main()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:198 +0x212 fp=0xc420cc7fe0 sp=0xc420cc7f88 pc=0x42aee2
Step #4 - "build": runtime.goexit()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420cc7fe8 sp=0xc420cc7fe0 pc=0x4556b1
Step #4 - "build": # agones.dev/agones/vendor/k8s.io/api/authorization/v1
Step #4 - "build": fatal error: runtime: out of memory
Step #4 - "build": 
Step #4 - "build": runtime stack:
Step #4 - "build": runtime.throw(0xc225c1, 0x16)
Step #4 - "build": 	/usr/local/go/src/runtime/panic.go:616 +0x81
Step #4 - "build": runtime.sysMap(0xc421130000, 0x100000, 0xc420471d00, 0x1027058)
Step #4 - "build": 	/usr/local/go/src/runtime/mem_linux.go:216 +0x20a
Step #4 - "build": runtime.(*mheap).sysAlloc(0x1001fa0, 0x100000, 0x7f6b4c1bf7c0)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:470 +0xd4
Step #4 - "build": runtime.(*mheap).grow(0x1001fa0, 0x1, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:907 +0x60
Step #4 - "build": runtime.(*mheap).allocSpanLocked(0x1001fa0, 0x1, 0x1027068, 0x7f6b4c1bf7c0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:820 +0x301
Step #4 - "build": runtime.(*mheap).alloc_m(0x1001fa0, 0x1, 0x7f6b4c3f0012, 0x7f6b4c1bf7c0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:686 +0x118
Step #4 - "build": runtime.(*mheap).alloc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:753 +0x4d
Step #4 - "build": runtime.(*mheap).alloc(0x1001fa0, 0x1, 0x7f6b4c010012, 0x7f6b4c1bf7c0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:752 +0x8a
Step #4 - "build": runtime.(*mcentral).grow(0x1003770, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:232 +0x94
Step #4 - "build": runtime.(*mcentral).cacheSpan(0x1003770, 0x7f6b4c1bf7c0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:106 +0x2e4
Step #4 - "build": runtime.(*mcache).refill(0x7f6b4c4196c8, 0xc420d3f512)
Step #4 - "build": 	/usr/local/go/src/runtime/mcache.go:123 +0x9c
Step #4 - "build": runtime.(*mcache).nextFree.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:556 +0x32
Step #4 - "build": runtime.systemstack(0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:409 +0x79
Step #4 - "build": runtime.mstart()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:1175
Step #4 - "build": 
Step #4 - "build": goroutine 1 [running]:
Step #4 - "build": runtime.systemstack_switch()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:363 fp=0xc420d3f378 sp=0xc420d3f370 pc=0x452ce0
Step #4 - "build": runtime.(*mcache).nextFree(0x7f6b4c4196c8, 0xc420074412, 0xc420074480, 0xc4200744a8, 0xc420d3f418)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:555 +0xa9 fp=0xc420d3f3d0 sp=0xc420d3f378 pc=0x40f089
Step #4 - "build": runtime.mallocgc(0x80, 0xc008a0, 0xbbb501, 0xc42008ea50)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:710 +0x79f fp=0xc420d3f470 sp=0xc420d3f3d0 pc=0x40f9df
Step #4 - "build": runtime.newobject(0xc008a0, 0xc4210f5ce0)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:839 +0x38 fp=0xc420d3f4a0 sp=0xc420d3f470 pc=0x40fd88
Step #4 - "build": cmd/compile/internal/gc.nodl(0x10000000001, 0x31, 0x0, 0x0, 0xc420771440)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/subr.go:316 +0x11d fp=0xc420d3f4d8 sp=0xc420d3f4a0 pc=0xae5a2d
Step #4 - "build": cmd/compile/internal/gc.nod(0xc421127b31, 0x0, 0x0, 0xbea620)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/subr.go:293 +0x4a fp=0xc420d3f510 sp=0xc420d3f4d8 pc=0xae58ea
Step #4 - "build": cmd/compile/internal/gc.methodfunc(0xc420941380, 0xc420941740, 0xc42112df00)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/reflect.go:343 +0x44b fp=0xc420d3f5e0 sp=0xc420d3f510 pc=0xaa12bb
Step #4 - "build": cmd/compile/internal/gc.methods(0xc420941740, 0xc42111e250, 0x2, 0x2)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/reflect.go:435 +0x3fe fp=0xc420d3f730 sp=0xc420d3f5e0 pc=0xaa176e
Step #4 - "build": cmd/compile/internal/gc.genfun(0xc420941740, 0xc4209d76e0, 0xc4208a1b40, 0x3, 0x3)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/reflect.go:1434 +0xab fp=0xc420d3f7f0 sp=0xc420d3f730 pc=0xaa757b
Step #4 - "build": cmd/compile/internal/gc.peekitabs()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/reflect.go:1418 +0x8d fp=0xc420d3f848 sp=0xc420d3f7f0 pc=0xaa745d
Step #4 - "build": cmd/compile/internal/gc.Main(0xc35628)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/main.go:616 +0x26bc fp=0xc420d3ff10 sp=0xc420d3f848 pc=0xa63d9c
Step #4 - "build": main.main()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/main.go:49 +0x95 fp=0xc420d3ff88 sp=0xc420d3ff10 pc=0xb74a15
Step #4 - "build": runtime.main()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:198 +0x212 fp=0xc420d3ffe0 sp=0xc420d3ff88 pc=0x42aee2
Step #4 - "build": runtime.goexit()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420d3ffe8 sp=0xc420d3ffe0 pc=0x4556b1
Step #4 - "build": # agones.dev/agones/vendor/k8s.io/api/core/v1
Step #4 - "build": fatal error: runtime: out of memory
Step #4 - "build": 
Step #4 - "build": runtime stack:
Step #4 - "build": runtime.throw(0xc225c1, 0x16)
Step #4 - "build": 	/usr/local/go/src/runtime/panic.go:616 +0x81
Step #4 - "build": runtime.sysMap(0xc420ef0000, 0x100000, 0x0, 0x1027058)
Step #4 - "build": 	/usr/local/go/src/runtime/mem_linux.go:216 +0x20a
Step #4 - "build": runtime.(*mheap).sysAlloc(0x1001fa0, 0x100000, 0x7f5a9ac49bf0)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:470 +0xd4
Step #4 - "build": runtime.(*mheap).grow(0x1001fa0, 0x1, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:907 +0x60
Step #4 - "build": runtime.(*mheap).allocSpanLocked(0x1001fa0, 0x1, 0x1027068, 0x7f5a9ac49bf0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:820 +0x301
Step #4 - "build": runtime.(*mheap).alloc_m(0x1001fa0, 0x1, 0xc42000000a, 0x7f5a9ac49bf0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:686 +0x118
Step #4 - "build": runtime.(*mheap).alloc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:753 +0x4d
Step #4 - "build": runtime.(*mheap).alloc(0x1001fa0, 0x1, 0x7f5a9a01000a, 0x7f5a9ac49bf0)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:752 +0x8a
Step #4 - "build": runtime.(*mcentral).grow(0x1003570, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:232 +0x94
Step #4 - "build": runtime.(*mcentral).cacheSpan(0x1003570, 0x7f5a9ac49bf0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:106 +0x2e4
Step #4 - "build": runtime.(*mcache).refill(0x7f5a9aed1d90, 0xc420000a0a)
Step #4 - "build": 	/usr/local/go/src/runtime/mcache.go:123 +0x9c
Step #4 - "build": runtime.(*mcache).nextFree.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:556 +0x32
Step #4 - "build": runtime.systemstack(0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:409 +0x79
Step #4 - "build": runtime.mstart()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:1175
Step #4 - "build": 
Step #4 - "build": goroutine 7 [running]:
Step #4 - "build": runtime.systemstack_switch()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:363 fp=0xc4204af550 sp=0xc4204af548 pc=0x452ce0
Step #4 - "build": runtime.(*mcache).nextFree(0x7f5a9aed1d90, 0xc4204af60a, 0x7f5a9aed1d90, 0x0, 0x10000c400000069)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:555 +0xa9 fp=0xc4204af5a8 sp=0xc4204af550 pc=0x40f089
Step #4 - "build": runtime.mallocgc(0x40, 0xbdf920, 0x1, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:710 +0x79f fp=0xc4204af648 sp=0xc4204af5a8 pc=0x40f9df
Step #4 - "build": runtime.newobject(0xbdf920, 0x899a0e)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:839 +0x38 fp=0xc4204af678 sp=0xc4204af648 pc=0x40fd88
Step #4 - "build": cmd/compile/internal/syntax.(*parser).blockStmt(0xc420357900, 0xc18c2d, 0x9, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1690 +0x31 fp=0xc4204af6f8 sp=0xc4204af678 pc=0x4fc301
Step #4 - "build": cmd/compile/internal/syntax.(*parser).ifStmt(0xc420357900, 0x5083cb)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1831 +0x10e fp=0xc4204af760 sp=0xc4204af6f8 pc=0x4fd22e
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtOrNil(0xc420357900, 0x12, 0x1)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2015 +0x687 fp=0xc4204af7f0 sp=0xc4204af760 pc=0x4fe4e7
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtList(0xc420357900, 0x13, 0xc420ee3c80, 0x10)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2070 +0x9e fp=0xc4204af890 sp=0xc4204af7f0 pc=0x4fe90e
Step #4 - "build": cmd/compile/internal/syntax.(*parser).caseClause(0xc420357900, 0xc420ee1b30)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1916 +0x128 fp=0xc4204af8e8 sp=0xc4204af890 pc=0x4fdad8
Step #4 - "build": cmd/compile/internal/syntax.(*parser).switchStmt(0xc420357900, 0x5083cb)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1863 +0x141 fp=0xc4204af968 sp=0xc4204af8e8 pc=0x4fd511
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtOrNil(0xc420357900, 0x12, 0xc420ecd501)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2009 +0x832 fp=0xc4204af9f8 sp=0xc4204af968 pc=0x4fe692
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtList(0xc420357900, 0xd, 0x7f5a9aed1d01, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2070 +0x9e fp=0xc4204afa98 sp=0xc4204af9f8 pc=0x4fe90e
Step #4 - "build": cmd/compile/internal/syntax.(*parser).blockStmt(0xc420357900, 0xc19e67, 0xa, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1703 +0xc0 fp=0xc4204afb18 sp=0xc4204afa98 pc=0x4fc390
Step #4 - "build": cmd/compile/internal/syntax.(*parser).forStmt(0xc420357900, 0x5083cb, 0xc420357920)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1733 +0x12e fp=0xc4204afb70 sp=0xc4204afb18 pc=0x4fc7ee
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtOrNil(0xc420357900, 0x12, 0x1)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2006 +0x49b fp=0xc4204afc00 sp=0xc4204afb70 pc=0x4fe2fb
Step #4 - "build": cmd/compile/internal/syntax.(*parser).stmtList(0xc420357900, 0xd, 0xc4204afd01, 0x4f946e)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:2070 +0x9e fp=0xc4204afca0 sp=0xc4204afc00 pc=0x4fe90e
Step #4 - "build": cmd/compile/internal/syntax.(*parser).blockStmt(0xc420357900, 0x0, 0x0, 0x1)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:1703 +0xc0 fp=0xc4204afd20 sp=0xc4204afca0 pc=0x4fc390
Step #4 - "build": cmd/compile/internal/syntax.(*parser).funcBody(0xc420357900, 0xc420ed8c80)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:551 +0x4c fp=0xc4204afd60 sp=0xc4204afd20 pc=0x4f655c
Step #4 - "build": cmd/compile/internal/syntax.(*parser).funcDeclOrNil(0xc420357900, 0x12)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:541 +0x137 fp=0xc4204afdb0 sp=0xc4204afd60 pc=0x4f6397
Step #4 - "build": cmd/compile/internal/syntax.(*parser).fileOrNil(0xc420357900, 0xc4203496d0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/parser.go:316 +0x34d fp=0xc4204afe98 sp=0xc4204afdb0 pc=0x4f4ecd
Step #4 - "build": cmd/compile/internal/syntax.Parse(0xc4203496d0, 0xcec0a0, 0xc42034e0d0, 0xc420352130, 0xc420352140, 0xc357a0, 0x1, 0x0, 0x0, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/syntax/syntax.go:80 +0xf4 fp=0xc4204afef0 sp=0xc4204afe98 pc=0x50ad24
Step #4 - "build": cmd/compile/internal/gc.parseFiles.func1(0xc420018120, 0xc420325340, 0x7ffc4ce77a1f, 0x43)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/noder.go:44 +0x308 fp=0xc4204affc0 sp=0xc4204afef0 pc=0xb351f8
Step #4 - "build": runtime.goexit()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc4204affc8 sp=0xc4204affc0 pc=0x4556b1
Step #4 - "build": created by cmd/compile/internal/gc.parseFiles
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/noder.go:31 +0xcc
Step #4 - "build": 
Step #4 - "build": goroutine 1 [chan receive]:
Step #4 - "build": cmd/compile/internal/gc.parseFiles(0xc42000e340, 0xc, 0xc, 0x2)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/noder.go:50 +0x366
Step #4 - "build": cmd/compile/internal/gc.Main(0xc35628)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/main.go:458 +0x1c38
Step #4 - "build": main.main()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/main.go:49 +0x95
Step #4 - "build": # agones.dev/agones/vendor/k8s.io/api/authentication/v1beta1
Step #4 - "build": fatal error: runtime: cannot allocate memory
Step #4 - "build": 
Step #4 - "build": runtime stack:
Step #4 - "build": runtime.throw(0xc27be3, 0x1f)
Step #4 - "build": 	/usr/local/go/src/runtime/panic.go:616 +0x81
Step #4 - "build": runtime.persistentalloc1(0x4000, 0x0, 0x1027098, 0xac1198)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:997 +0x27f
Step #4 - "build": runtime.persistentalloc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:950 +0x45
Step #4 - "build": runtime.persistentalloc(0x4000, 0x0, 0x1027098, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:949 +0x82
Step #4 - "build": runtime.(*fixalloc).alloc(0x1005470, 0x7fa2e4498ef0)
Step #4 - "build": 	/usr/local/go/src/runtime/mfixalloc.go:80 +0x108
Step #4 - "build": runtime.(*mheap).allocSpanLocked(0x1001fa0, 0x1, 0x1027068, 0x7fa2e4498e58)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:845 +0x15c
Step #4 - "build": runtime.(*mheap).alloc_m(0x1001fa0, 0x1, 0x410028, 0x7fa2e4498e58)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:686 +0x118
Step #4 - "build": runtime.(*mheap).alloc.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:753 +0x4d
Step #4 - "build": runtime.(*mheap).alloc(0x1001fa0, 0x1, 0x7fa2e4010028, 0x7fa2e4498e58)
Step #4 - "build": 	/usr/local/go/src/runtime/mheap.go:752 +0x8a
Step #4 - "build": runtime.(*mcentral).grow(0x1003cf0, 0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:232 +0x94
Step #4 - "build": runtime.(*mcentral).cacheSpan(0x1003cf0, 0xc420083fa0)
Step #4 - "build": 	/usr/local/go/src/runtime/mcentral.go:106 +0x2e4
Step #4 - "build": runtime.(*mcache).refill(0x7fa2e46971e8, 0xc420e84828)
Step #4 - "build": 	/usr/local/go/src/runtime/mcache.go:123 +0x9c
Step #4 - "build": runtime.(*mcache).nextFree.func1()
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:556 +0x32
Step #4 - "build": runtime.systemstack(0x0)
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:409 +0x79
Step #4 - "build": runtime.mstart()
Step #4 - "build": 	/usr/local/go/src/runtime/proc.go:1175
Step #4 - "build": 
Step #4 - "build": goroutine 30 [running]:
Step #4 - "build": runtime.systemstack_switch()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:363 fp=0xc420f336b8 sp=0xc420f336b0 pc=0x452ce0
Step #4 - "build": runtime.(*mcache).nextFree(0x7fa2e46971e8, 0xc420072028, 0xc420f33730, 0x7fa2e46971e8, 0xc4207fef00)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:555 +0xa9 fp=0xc420f33710 sp=0xc420f336b8 pc=0x40f089
Step #4 - "build": runtime.mallocgc(0x160, 0xbd9da0, 0xc420dee601, 0x12)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:710 +0x79f fp=0xc420f337b0 sp=0xc420f33710 pc=0x40f9df
Step #4 - "build": runtime.newarray(0xbd9da0, 0x4, 0x58)
Step #4 - "build": 	/usr/local/go/src/runtime/malloc.go:855 +0x6a fp=0xc420f337e0 sp=0xc420f337b0 pc=0x40fe6a
Step #4 - "build": runtime.makeBucketArray(0xbb9a20, 0xc42127a902, 0x0, 0xc420072000)
Step #4 - "build": 	/usr/local/go/src/runtime/hashmap.go:881 +0xe2 fp=0xc420f33818 sp=0xc420f337e0 pc=0x408862
Step #4 - "build": runtime.hashGrow(0xbb9a20, 0xc4212ec000)
Step #4 - "build": 	/usr/local/go/src/runtime/hashmap.go:905 +0x80 fp=0xc420f33868 sp=0xc420f33818 pc=0x4089e0
Step #4 - "build": runtime.mapassign_fast64ptr(0xbb9a20, 0xc4212ec000, 0xc4202e3d10, 0xc420e18d20)
Step #4 - "build": 	/usr/local/go/src/runtime/hashmap_fast.go:668 +0x164 fp=0xc420f338b0 sp=0xc420f33868 pc=0x40ac04
Step #4 - "build": cmd/compile/internal/gc.createSimpleVars(0xc42127c200, 0x16, 0x20, 0xc01e00, 0xc421266601, 0xc10115, 0x68, 0x68, 0xc420f33a58, 0x41d506)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:410 +0x1bb fp=0xc420f339e8 sp=0xc420f338b0 pc=0xa888ab
Step #4 - "build": cmd/compile/internal/gc.createDwarfVars(0xc4209f78f0, 0x0, 0xc42127c200, 0x16, 0x20, 0xc42127c300, 0x10, 0x20, 0x1022580, 0xffffffff, ...)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:515 +0x85 fp=0xc420f33b38 sp=0xc420f339e8 pc=0xa897c5
Step #4 - "build": cmd/compile/internal/gc.debuginfo(0xc4209f78f0, 0xc0cd40, 0xc420451200, 0x0, 0xc4209f79d0, 0x0, 0xc4207fef00, 0x5a1807, 0xc421294948)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:347 +0x4e8 fp=0xc420f33c98 sp=0xc420f33b38 pc=0xa88338
Step #4 - "build": cmd/internal/obj.(*Link).populateDWARF(0xc420324000, 0xc0cd40, 0xc420451200, 0xc4209f78f0, 0x7ffd61dd69de, 0x3a)
Step #4 - "build": 	/usr/local/go/src/cmd/internal/obj/objfile.go:551 +0x52e fp=0xc420f33e18 sp=0xc420f33c98 pc=0x4c69de
Step #4 - "build": cmd/internal/obj.Flushplist(0xc420324000, 0xc420f33f08, 0xc421270010, 0x7ffd61dd69de, 0x3a)
Step #4 - "build": 	/usr/local/go/src/cmd/internal/obj/plist.go:109 +0x734 fp=0xc420f33ee0 sp=0xc420f33e18 pc=0x4cbae4
Step #4 - "build": cmd/compile/internal/gc.(*Progs).Flush(0xc421154960)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/gsubr.go:87 +0xc1 fp=0xc420f33f30 sp=0xc420f33ee0 pc=0xa54151
Step #4 - "build": cmd/compile/internal/gc.compileSSA(0xc420451200, 0x2)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:248 +0x188 fp=0xc420f33f98 sp=0xc420f33f30 pc=0xa87bc8
Step #4 - "build": cmd/compile/internal/gc.compileFunctions.func2(0xc420db5da0, 0xc420015f90, 0x2)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:289 +0x49 fp=0xc420f33fc8 sp=0xc420f33f98 pc=0xb35ba9
Step #4 - "build": runtime.goexit()
Step #4 - "build": 	/usr/local/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420f33fd0 sp=0xc420f33fc8 pc=0x4556b1
Step #4 - "build": created by cmd/compile/internal/gc.compileFunctions
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:287 +0x11c
Step #4 - "build": 
Step #4 - "build": goroutine 1 [runnable]:
Step #4 - "build": cmd/compile/internal/gc.compileFunctions()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:295 +0x173
Step #4 - "build": cmd/compile/internal/gc.Main(0xc35628)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/main.go:635 +0x28d1
Step #4 - "build": main.main()
Step #4 - "build": 	/usr/local/go/src/cmd/compile/main.go:49 +0x95
Step #4 - "build": 
Step #4 - "build": goroutine 28 [running]:
Step #4 - "build": 	goroutine running on other thread; stack unavailable
Step #4 - "build": created by cmd/compile/internal/gc.compileFunctions
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:287 +0x11c
Step #4 - "build": 
Step #4 - "build": goroutine 29 [runnable]:
Step #4 - "build": cmd/compile/internal/ssa.zcse(0xc4212ea000)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/ssa/zcse.go:52 +0x62c
Step #4 - "build": cmd/compile/internal/ssa.Compile(0xc4212ea000)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/ssa/compile.go:70 +0x2bb
Step #4 - "build": cmd/compile/internal/gc.buildssa(0xc420b0ed80, 0x1, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/ssa.go:223 +0xb32
Step #4 - "build": cmd/compile/internal/gc.compileSSA(0xc420b0ed80, 0x1)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:239 +0x39
Step #4 - "build": cmd/compile/internal/gc.compileFunctions.func2(0xc420db5da0, 0xc420015f90, 0x1)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:289 +0x49
Step #4 - "build": created by cmd/compile/internal/gc.compileFunctions
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:287 +0x11c
Step #4 - "build": 
Step #4 - "build": goroutine 31 [runnable]:
Step #4 - "build": cmd/compile/internal/ssa.(*regAllocState).regalloc(0xc420e88900, 0xc42048cdc0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/ssa/regalloc.go:1017 +0xb2d
Step #4 - "build": cmd/compile/internal/ssa.regalloc(0xc42048cdc0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/ssa/regalloc.go:144 +0x62
Step #4 - "build": cmd/compile/internal/ssa.Compile(0xc42048cdc0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/ssa/compile.go:70 +0x2bb
Step #4 - "build": cmd/compile/internal/gc.buildssa(0xc420451e00, 0x3, 0x0)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/ssa.go:223 +0xb32
Step #4 - "build": cmd/compile/internal/gc.compileSSA(0xc420451e00, 0x3)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:239 +0x39
Step #4 - "build": cmd/compile/internal/gc.compileFunctions.func2(0xc420db5da0, 0xc420015f90, 0x3)
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:289 +0x49
Step #4 - "build": created by cmd/compile/internal/gc.compileFunctions
Step #4 - "build": 	/usr/local/go/src/cmd/compile/internal/gc/pgen.go:287 +0x11c
Step #3 - "tests": examples/simple-udp/server/main.go:67::warning: cyclomatic complexity 11 of function readWriteLoop() is high (> 10) (gocyclo)
Step #4 - "build": Makefile:155: recipe for target 'build-agones-sdk-binary' failed
Step #4 - "build": make: *** [build-agones-sdk-binary] Error 2
Finished Step #4 - "build"
Finished Step #3 - "tests"
ERROR
ERROR: build step 4 "make-docker" failed: exit status 2

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 8990a35c-cec2-46c8-98b6-b453df31b649

The following development artifacts have been built, and will exist for the next 30 days:

Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This great, this will open a lot of possibilities. Great job !

```bash
$ curl -H "Content-Type: application/json" -X GET http://localhost:59358/gameserver
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we show an expected response or link to the model?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Added expected response.


gs, err := l.GetGameServer(ctx, e)
assert.Nil(t, err)
assert.Equal(t, "local", gs.GetObjectMeta().Name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can equal a full object with testity.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Changed.

@@ -38,7 +38,7 @@ metadata:
rules:
- apiGroups: ["stable.agones.dev"]
resources: ["gameservers"]
verbs: ["get", "update"]
verbs: ["get", "list", "update"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need get since you have a cache sdk side with the list ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely spotted! No we do not. Removed get.

@@ -98,8 +115,125 @@
}
},
"definitions": {
"GameServerObjectMeta": {
"type": "object",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

…ration.

Extended the gRPC SDK to include a `GameServer()` function for both Go, C++
and REST by extending the backing `sdk.proto` and implementing the functionality
in the sdk sidecar.

This is the start of work needed for googleforgames#277.
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 4961d40b-b6a6-4038-b43b-ad2aaaefa435

The following development artifacts have been built, and will exist for the next 30 days:

@markmandel markmandel merged commit 051080a into googleforgames:master Jul 17, 2018
@markmandel markmandel deleted the feature/sdk-gameserver-data branch July 17, 2018 03:07
@markmandel markmandel added this to the 0.3.0 milestone Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants