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

SdkServer: updateState does not do a DeepClone() #1398

Merged

Conversation

markmandel
Copy link
Member

This might be the reason for TestGameServerReserve's flakiness.

Either way, this is worth fixing, to ensure that the backing Kubernetes client cache for the sdk server is not corrupted and cause indeterminate behaviour.

This might be the reason for TestGameServerReserve's flakiness.

Either way, this is worth fixing, to ensure that the backing Kubernetes
client cache for the sdk server is not corrupted and cause indeterminate
behaviour.
@markmandel markmandel added kind/bug These are bugs. area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Mar 6, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: dbb9c5c8-aef9-49f6-b2ef-7d27916bed28

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/1398/head:pr_1398 && git checkout pr_1398
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-2fe235c

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.

LGTM

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aLekSer, cyriltovena, 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:
  • OWNERS [cyriltovena,markmandel]

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 Failed 😱

Build Id: d1dd34be-62a3-4eaa-a88c-1ca5b083017d

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: ec996de0-c23d-4c52-8e82-a3f29eabd8db

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

@markmandel
Copy link
Member Author

Still failed.

--- FAIL: TestGameServerReserve (124.40s)
gameserver_test.go:499:
Error Trace: gameserver_test.go:499
Error: Received unexpected error:
timed out waiting for the condition
waiting for GameServer to be Reserved default/udp-serverv5tcm
agones.dev/agones/test/e2e/framework.(*Framework).WaitForGameServerStateWithLogger
/go/src/agones.dev/agones/test/e2e/framework/framework.go:166
agones.dev/agones/test/e2e.TestGameServerReserve
/go/src/agones.dev/agones/test/e2e/gameserver_test.go:498
testing.tRunner
/usr/local/go/src/testing/testing.go:909
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
Test: TestGameServerReserve
Messages: GameServer Name: udp-serverv5tcm
gameserver_test.go:500:
Error Trace: gameserver_test.go:500
Error: Not equal:
expected: "Reserved"
actual : "Ready"

    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -1,2 +1,2 @@
    	            	-(v1.GameServerState) (len=8) "Reserved"
    	            	+(v1.GameServerState) (len=5) "Ready"
    	            	 
    	Test:       	TestGameServerReserve
    	Messages:   	GameServer Name: udp-serverv5tcm

Oh well, still a good thing to have.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: a91e3661-07ff-4cd4-9e6d-87f19e948072

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 7d3da9f7-b93a-4522-b48c-f8ce09f1e2e4

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/1398/head:pr_1398 && git checkout pr_1398
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-df79b75

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: d2bcab4d-2cd3-477a-965d-a35daf929922

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 96e5960f-33e5-4795-942d-42e83f6652eb

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/1398/head:pr_1398 && git checkout pr_1398
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.5.0-98037d2

@markmandel markmandel added this to the 1.5.0 milestone Mar 13, 2020
@markmandel markmandel merged commit 86e107a into googleforgames:master Mar 13, 2020
@markmandel markmandel deleted the flaky/TestGameServerReserve-2 branch March 13, 2020 23:41
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
This might be the reason for TestGameServerReserve's flakiness.

Either way, this is worth fixing, to ensure that the backing Kubernetes
client cache for the sdk server is not corrupted and cause indeterminate
behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants