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

CRDs for AllocationOverflow #2979

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation

/kind feature

/kind hotfix

What this PR does / Why we need it:

Implementation of yaml and backing Go code for the CRDs for supporting Fleet Allocation Overflow tracking.

Which issue(s) this PR fixes:

Work on #2682

Special notes for your reviewer:

Next will be controller code and e2e tests, docs are also incoming.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 32f7a1dd-6fed-408b-944c-d3f24edccd72

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

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2979/head:pr_2979 && git checkout pr_2979
  • helm install agones ./install/helm/agones --namespace agones-system --agones.image.release=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.30.0-eca02c4-amd64

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 653110de-b8f7-4f7f-8dbe-4af61da5f080

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

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2979/head:pr_2979 && git checkout pr_2979
  • helm install agones ./install/helm/agones --namespace agones-system --agones.image.release=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.30.0-d492257-amd64

Copy link
Collaborator

@gongmax gongmax left a comment

Choose a reason for hiding this comment

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

LGTM

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gongmax, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
Copy link

New changes are detected. LGTM label has been removed.

@google-oss-prow google-oss-prow bot removed the lgtm label Feb 17, 2023
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 8d85308b-5afc-4a21-ac77-83faf9c767cc

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

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2979/head:pr_2979 && git checkout pr_2979
  • helm install agones ./install/helm/agones --namespace agones-system --agones.image.release=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.30.0-87ce7f7-amd64

@@ -0,0 +1,208 @@
// Copyright 2022 Google LLC All Rights Reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

2023?

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 catch!

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

Implementation of yaml and backing Go code for the CRDs for supporting
Fleet Allocation Overflow tracking.

Work on googleforgames#2682
@markmandel markmandel added the kind/feature New features for Agones label Feb 23, 2023
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 231d6d80-b566-4cb8-8534-13859a8d0df4

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member Author

@chiayi this mean anything to you? Saw this flake in my e2e tests.

neric-1.24: Step #1 - "e2e-feature-gates": --- FAIL: TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown (0.15s)
generic-1.24: Step #1 - "e2e-feature-gates": panic: runtime error: invalid memory address or nil pointer dereference [recovered]
generic-1.24: Step #1 - "e2e-feature-gates": 	panic: runtime error: invalid memory address or nil pointer dereference
generic-1.24: Step #1 - "e2e-feature-gates": [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x20f9f70]
generic-1.24: Step #1 - "e2e-feature-gates": 
generic-1.24: Step #1 - "e2e-feature-gates": goroutine 9 [running]:
generic-1.24: Step #1 - "e2e-feature-gates": testing.tRunner.func1.2({0x22a4200, 0x340b020})
generic-1.24: Step #1 - "e2e-feature-gates": 	/usr/local/go/src/testing/testing.go:1396 +0x372
generic-1.24: Step #1 - "e2e-feature-gates": testing.tRunner.func1()
generic-1.24: Step #1 - "e2e-feature-gates": 	/usr/local/go/src/testing/testing.go:1399 +0x5f0
generic-1.24: Step #1 - "e2e-feature-gates": panic({0x22a4200, 0x340b020})
generic-1.24: Step #1 - "e2e-feature-gates": 	/usr/local/go/src/runtime/panic.go:890 +0x262
generic-1.24: Step #1 - "e2e-feature-gates": agones.dev/agones/test/e2e/extensions.TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown(0xc0002f6d00)
generic-1.24: Step #1 - "e2e-feature-gates": 	/go/src/agones.dev/agones/test/e2e/extensions/high_availability_test.go:56 +0x490
generic-1.24: Step #1 - "e2e-feature-gates": testing.tRunner(0xc0002f6d00, 0x258d3f0)
generic-1.24: Step #1 - "e2e-feature-gates": 	/usr/local/go/src/testing/testing.go:1446 +0x217
generic-1.24: Step #1 - "e2e-feature-gates": created by testing.(*T).Run
generic-1.24: Step #1 - "e2e-feature-gates": 	/usr/local/go/src/testing/testing.go:1493 +0x75e
generic-1.24: Step #1 - "e2e-feature-gates": FAIL test/e2e/extensions.TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown (0.15s)
generic-1.24: Step #1 - "e2e-feature-gates": FAIL test/e2e/extensions

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 738167e8-7a3d-4b89-8178-8e53dcd1a0c8

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member Author

Spent an hour and 30 minutes waiting to be leader.

e2e-wait-to-become-leader- | 01:30:00-- | --

@zmerlynn seeing this a bit these days? Just too many builds?

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: df712de7-ec56-4d20-8fef-7bcc7b28ee23

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member Author

Got this flake again:

gke-autopilot-1.25: Step #1 - "e2e-feature-gates": time="2023-02-23 20:09:58.528" level=info msg="Removing one of the Extensions Pods" test=TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": time="2023-02-23 20:09:58.605" level=info msg="Creating default game server" test=TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":     high_availability_test.go:55: 
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":         	Error Trace:	/go/src/agones.dev/agones/test/e2e/extensions/high_availability_test.go:55
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":         	Error:      	Received unexpected error:
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":         	            	creating {game-server [{udp-port Dynamic <nil> 7654 0 UDP}] {false 0 0 0}  { 0 0} {{      0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] []  []} {[] [] [{game-server us-docker.pkg.dev/agones-images/examples/simple-game-server:0.14 [] []  [] [] [] {map[cpu:{{30 -3} {<nil>} 30m DecimalSI} memory:{{33554432 0} {<nil>}  BinarySI}] map[cpu:{{30 -3} {<nil>} 30m DecimalSI} memory:{{33554432 0} {<nil>}  BinarySI}]} [] [] nil nil nil nil   IfNotPresent nil false false false}] []  <nil> <nil>  map[]   <nil>  false false false <nil> nil []   nil  [] []  <nil> nil [] <nil> <nil> <nil> map[] [] <nil> nil}} <nil> map[] map[] <nil>} GameServer instances failed (): Internal error occurred: failed calling webhook "mutations.agones.dev": failed to call webhook: Post "https://agones-controller-service.agones-system.svc:443/mutate?timeout=10s": dial tcp 10.12.1.118:8081: connect: connection refused
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":         	Test:       	TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown
gke-autopilot-1.25: Step #1 - "e2e-feature-gates":         	Messages:   	Could not get a GameServer ready
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": --- FAIL: TestGameServerHealthyAfterDeletingPodWhileOneExtensionsDown (0.18s)
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": panic: runtime error: invalid memory address or nil pointer dereference [recovered]
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": 	panic: runtime error: invalid memory address or nil pointer dereference
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x20fa2b0]
gke-autopilot-1.25: Step #1 - "e2e-feature-gates": 

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 70eeda4f-9044-46af-a010-552b40a46774

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: bf614795-0689-4df4-9d44-727440dcf379

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

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2979/head:pr_2979 && git checkout pr_2979
  • helm install agones ./install/helm/agones --namespace agones-system --agones.image.release=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.30.0-6af79ae-amd64

@markmandel markmandel merged commit 2bdb487 into googleforgames:main Feb 24, 2023
@markmandel markmandel deleted the overflow/crds branch February 24, 2023 05:41
@Kalaiselvi84 Kalaiselvi84 added this to the 1.30.0 milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/feature New features for Agones size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants