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

e2e tests for arm64 simple game server #2604

Merged
merged 11 commits into from
May 31, 2022
Merged

e2e tests for arm64 simple game server #2604

merged 11 commits into from
May 31, 2022

Conversation

Ludea
Copy link
Contributor

@Ludea Ludea commented May 30, 2022

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:
e2e tests for simple game server on arm64 hosts

Which issue(s) this PR fixes:

Works on #2216

Special notes for your reviewer:

@google-oss-prow google-oss-prow bot requested review from aLekSer and pooneh-m May 30, 2022 11:07
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 12e81555-afa6-45fe-b943-de5fb2a6067b

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/2604/head:pr_2604 && git checkout pr_2604
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.24.0-f909273-amd64

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: ea409843-c641-4ba9-b420-8b478ee2fc8c

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 2b192cff-39b8-43c0-a770-55b4e71ed209

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/2604/head:pr_2604 && git checkout pr_2604
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.24.0-f2c1a0c-amd64

examples/simple-game-server/Makefile Show resolved Hide resolved
@@ -41,6 +43,10 @@ server_tag_linux_amd64 = $(server_tag)-linux_amd64
else
server_tag_linux_amd64 = $(server_tag)
endif
ifeq ($(WITH_ARM64), 1)
Copy link
Member

Choose a reason for hiding this comment

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

I think the above lines should be changed in the same way you changed the tag generation for the controller/allocator/ping images so that we always push a multi-arch manifest (even if both WITH_WINDOWS and WITH_ARM are false). Right now if WITH_WINDOWS is false then server_tag_linux_amd64 = $(server_tag) which I don't think will work if WITH_ARM is set to true at the same time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

examples/simple-game-server/Makefile Outdated Show resolved Hide resolved
@roberthbailey roberthbailey self-assigned this May 31, 2022
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: fef3321e-3511-4f10-a410-1c2bf291199a

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 994004c2-722d-4aee-b4ed-49b27c81aa9e

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 1b1f074f-9334-4f52-99f9-485051c44638

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 1fdc05cc-2e2f-4924-b70c-3b80cc0ee9d0

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/2604/head:pr_2604 && git checkout pr_2604
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.24.0-9699157-amd64

push: push-image
build: build-linux-image-amd64

ifeq ($(WITH_WINDOWS), 1)
build: build-linux-image $(foreach winver, $(WINDOWS_VERSIONS), build-windows-image-$(winver))
Copy link
Member

Choose a reason for hiding this comment

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

build-linux-image no longer exists.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Delete this step

push_server_manifest += $(server_tag_linux_arm64)
endif

push: push-image
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to have both push and push-image targets? Can we remove this and rename the push-image ones below to push?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I delete redondant target

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 7d427164-cdd9-4d08-ab12-f493ec76e41a

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/2604/head:pr_2604 && git checkout pr_2604
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.24.0-c801f1b-amd64

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4aba1151-fed8-4d6a-ac89-1a30770cbd8b

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 52ee71e9-bb53-4304-a835-0bfd7fddceae

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

@roberthbailey
Copy link
Member

sdk-conformance failed again.

Trying to grab relevant errors I found:

2022/05/31 17:07:54 Connecting to ws://localhost:9101/watch/gameserver
{"message":"Connected to watch GameServer...","sdkName":"restapi","severity":"info","source":"*sdkserver.LocalSDKServer","time":"2022-05-31T17:07:54.680877044Z"}
{"message":"Setting label","sdkName":"restapi","severity":"info","source":"*sdkserver.LocalSDKServer","time":"2022-05-31T17:07:54.681364972Z","values":{"key":"testws","value":"true"}}
{"message":"expected to receive '1654016873' as value for 'setlabel' request but received 'true'","sdkName":"restapi","severity":"error","source":"*sdkserver.LocalSDKServer","time":"2022-05-31T17:07:54.681419736Z"}
{"message":"Gameserver update received","sdkName":"restapi","severity":"info","source":"*sdkserver.LocalSDKServer","time":"2022-05-31T17:07:54.681455144Z"}
{"error":"rpc error: code = Canceled desc = context canceled","message":"error sending gameserver","sdkName":"restapi","severity":"error","source":"*sdkserver.LocalSDKServer","time":"2022-05-31T17:07:54.68153426Z"}
2022/05/31 17:07:54 Received message from websocket: {"result":{"object_meta":{"name":"local","namespace":"default","uid":"2488478064806900514","resource_version":"v1","generation":"1","creation_timestamp":"1654016873","annotations":{"agones.dev/sdk-UID":"2488478064806900514","annotation":"true"},"labels":{"agones.dev/sdk-creationTimestamp":"1654016873","islocal":"true"}},"spec":{"health":{"period_seconds":3,"failure_threshold":5,"initial_delay_seconds":10}},"status":{"state":"Shutdown","address":"127.0.0.1","ports":[{"name":"default","port":7777}],"players":{"capacity":"10"}}}}
2022/05/31 17:07:54 Could not find label 'agones.dev/sdk-testws' in message
time="2022-05-31T17:07:54Z" level=warning msg="error reading websocket message: read tcp [::1]:9101->[::1]:42000: read: connection reset by peer"
exit status 1
make[2]: *** [includes/sdk.mk:88: run-sdk-command] Error 1

and

make[2]: *** [includes/sdk.mk:145: run-sdk-conformance-no-build] Error 1
make[1]: *** [includes/sdk.mk:153: run-sdk-conformance-test] Error 2
make: *** [includes/sdk.mk:156: run-sdk-conformance-test-cpp] Error 2

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 45f32dbd-6a82-4e14-934e-118763eac0b3

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

@roberthbailey
Copy link
Member

Different flake:

--- FAIL: TestGameServerAllocationDuringGameServerDeletion (0.00s)
    --- FAIL: TestGameServerAllocationDuringGameServerDeletion/scale_down (15.60s)
        fleet_test.go:854: 
            	Error Trace:	fleet_test.go:854
            	            				fleet_test.go:866
            	Error:      	Should NOT be empty, but was []
            	Test:       	TestGameServerAllocationDuringGameServerDeletion/scale_down

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 7a977a96-f7c6-4d55-8b1d-eecbdcfee1de

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 8cd12307-c36a-4de9-ac96-06494caeb1f7

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/2604/head:pr_2604 && git checkout pr_2604
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.24.0-44af679-amd64

@google-oss-prow google-oss-prow bot added the lgtm label May 31, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ludea, roberthbailey

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

@roberthbailey roberthbailey merged commit cb7c28c into googleforgames:main May 31, 2022
@SaitejaTamma SaitejaTamma added this to the 1.24.0 milestone Jun 14, 2022
@SaitejaTamma SaitejaTamma added the kind/feature New features for Agones label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants