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

Applied allocation test #1417

Merged
merged 4 commits into from
Mar 23, 2020
Merged

Conversation

akremsa
Copy link
Contributor

@akremsa akremsa commented Mar 16, 2020

Applied allocation test proposed by @ilkercelikyilmaz .

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 10ee04ef-770c-4721-9594-9f4f62df44d9

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

@akremsa akremsa force-pushed the allocation-test branch 2 times, most recently from 260fd4a to 68e0136 Compare March 17, 2020 14:04
@akremsa akremsa marked this pull request as ready for review March 17, 2020 14:05
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 42fd3243-0a48-4923-a54a-7e6c6024a14b

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 6ba9c45a-d1a3-4281-85f6-c19b1ea5ddaf

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/GoogleCloudPlatform/agones.git pull/1417/head:pr_1417 && git checkout pr_1417
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-260fd4a

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Thanks for putting this in!

How does this impact the content that is in https://github.com/googleforgames/agones/tree/master/test/load now?

As part of this should we remove / move the current locust tests? @ilkercelikyilmaz do you have opinions here?

I don't know if anyone is using the locust tests?

examples/simple-udp/main.go Show resolved Hide resolved
test/e2e/framework/framework.go Outdated Show resolved Hide resolved
examples/simple-udp/main.go Outdated Show resolved Hide resolved
test/load/allocation/README.md Outdated Show resolved Hide resolved
test/load/allocation/README.md Outdated Show resolved Hide resolved
test/load/allocation/README.md Outdated Show resolved Hide resolved
test/load/allocation/README.md Outdated Show resolved Hide resolved
test/load/allocation/allocationload.go Outdated Show resolved Hide resolved
test/load/allocation/allocationload.go Show resolved Hide resolved
@markmandel markmandel added area/tests Unit tests, e2e tests, anything to make sure things don't break kind/feature New features for Agones labels Mar 17, 2020
@aLekSer
Copy link
Collaborator

aLekSer commented Mar 17, 2020

Run this test multiple time during a day.
This test is pretty useful to apply simple constant load to the Agones Controller.
And under this constant load there is a constant grow in consumed Memory can be seen.
GS by Type
Controller Memory Consumption
Pprofed the situation and could not find the root cause. I supposed there would be a steady horizontal line.
Heap profile:
https://svgshare.com/i/JFz.svg
Not sure if there is a better way to share svgs?

@akremsa
Copy link
Contributor Author

akremsa commented Mar 18, 2020

@markmandel Thanks for your comments, I've updated this PR according to them.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 40682622-0127-40a7-9408-f32875795ecd

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 042c2265-1646-4111-b0b2-57aa9b825208

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: d18a1d4e-b3b9-43bd-87eb-3df056b6136b

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 7c589b2e-de1f-41d0-be7e-3454a68d214e

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

@aLekSer
Copy link
Collaborator

aLekSer commented Mar 18, 2020

E2E test times out:

Step #22: time="2020-03-18 14:48:06.184" level=info msg="fleet simple-fleet-r5ls6 has 0/3 ready replicas"
Step #22: panic: test timed out after 10m0s
Step #22: 
Step #22: goroutine 473 [running]:
Step #22: testing.(*M).startAlarm.func1()
Step #22: 	/usr/local/go/src/testing/testing.go:1377 +0x11c
Step #22: created by time.goFunc
Step #22: 	/usr/local/go/src/time/sleep.go:168 +0x52
Step #22: 
Step #22: goroutine 1 [chan receive, 5 minutes]:
Step #22: testing.(*T).Run(0xc000488400, 0x1c7afc1, 0x1b, 0x1cfb4b8, 0x0)
Step #22: 	/usr/local/go/src/testing/testing.go:961 +0x68a
Step #22: testing.runTests.func1(0xc000488400)
Step #22: 	/usr/local/go/src/testing/testing.go:1202 +0xa7
Step #22: testing.tRunner(0xc000488400, 0xc000167c70)
Step #22: 	/usr/local/go/src/testing/testing.go:909 +0x19a
Step #22: testing.runTests(0xc0002ce760, 0x2967900, 0x32, 0x32, 0x0)
Step #22: 	/usr/local/go/src/testing/testing.go:1200 +0x522
Step #22: testing.(*M).Run(0xc0003ee080, 0x0)
Step #22: 	/usr/local/go/src/testing/testing.go:1117 +0x300
Step #22: agones.dev/agones/test/e2e.TestMain(0xc0003ee080)
Step #22: 	/go/src/agones.dev/agones/test/e2e/main_test.go:60 +0x332
Step #22: main.main()
Step #22: 	_testmain.go:140 +0x224
Step #22: 
Step #22: goroutine 19 [chan receive]:
Step #22: k8s.io/klog.(*loggingT).flushDaemon(0x2974900)
Step #22: 	/go/src/agones.dev/agones/vendor/k8s.io/klog/klog.go:975 +0xae
Step #22: created by k8s.io/klog.init.0
Step #22: 	/go/src/agones.dev/agones/vendor/k8s.io/klog/klog.go:404 +0x9b
Step #22: 

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

A few small nits, but otherwise this is looking good.

I'm compiling the udp-simple image now, and pushing that up, so your tests can pass 😄

test/load/allocation/README.md Outdated Show resolved Hide resolved
test/load/allocation/fleet.yaml Outdated Show resolved Hide resolved
test/load/allocation/runAllocation.sh Show resolved Hide resolved
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: b87e7d6b-fa83-47e7-8a0c-2bf6c1a1cd6c

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/GoogleCloudPlatform/agones.git pull/1417/head:pr_1417 && git checkout pr_1417
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-94947ee

@akremsa
Copy link
Contributor Author

akremsa commented Mar 20, 2020

A few small nits, but otherwise this is looking good.

I'm compiling the udp-simple image now, and pushing that up, so your tests can pass 😄

Done

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 34ffda5a-b4dd-4fa1-b5f9-aaddb3ba2ea1

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/GoogleCloudPlatform/agones.git pull/1417/head:pr_1417 && git checkout pr_1417
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-b6f417e

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Nice!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akremsa, 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-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 529c9f97-c3bc-4b72-a81b-b87c1db54cee

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/GoogleCloudPlatform/agones.git pull/1417/head:pr_1417 && git checkout pr_1417
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-eb902b8

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 20876ca1-a3df-44db-a098-d30c2d5475cb

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/GoogleCloudPlatform/agones.git pull/1417/head:pr_1417 && git checkout pr_1417
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-3f58ed6

@markmandel markmandel merged commit 6176ee0 into googleforgames:master Mar 23, 2020
@markmandel markmandel added this to the 1.5.0 milestone Mar 23, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
* Applied allocation test

Co-authored-by: Mark Mandel <markmandel@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/tests Unit tests, e2e tests, anything to make sure things don't break kind/feature New features for Agones size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants