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

Xonotic Example: Docker 24.0.6 #3538

Merged
merged 8 commits into from Dec 14, 2023

Conversation

Kalaiselvi84
Copy link
Contributor

@Kalaiselvi84 Kalaiselvi84 commented Dec 12, 2023

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
/kind release

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Work on #3530

Special notes for your reviewer:

@github-actions github-actions bot added kind/cleanup Refactoring code, fixing up documentation, etc size/S labels Dec 12, 2023
@Kalaiselvi84
Copy link
Contributor Author

Success log - https://gist.github.com/Kalaiselvi84/77433f8bb46044fb8d220fd09bc32214

Pending: Will push new image to prod once this PR is merged

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: c93d3fed-640f-4645-bbed-fc0239ae515b

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

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: fb18a503-0cd7-410b-aefb-85b4688fe6d0

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

@gongmax
Copy link
Collaborator

gongmax commented Dec 12, 2023

examples_test.go:221: 
VERBOSE:         	Error Trace:	/go/src/agones.dev/agones/test/e2e/examples_test.go:221
VERBOSE:         	Error:      	Received unexpected error:
VERBOSE:         	            	waiting for {xonotic [{default Dynamic <nil> 26000 0 UDP}] {false 5 0 60}  { 0 0} {{      0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []} {[] [] [{xonotic us-docker.pkg.dev/agones-images/examples/xonotic-example:1.6 [] []  [] [] [] {map[] map[cpu:{{200 -3} {<nil>} 200m DecimalSI} memory:{{734003200 0} {<nil>} 700Mi BinarySI}] []} [] [] [] nil nil nil nil    nil false false false}] []  <nil> <nil>  map[]   <nil>  false false false <nil> nil []   nil  [] []  <nil> nil [] <nil> <nil> <nil> map[] [] <nil> nil <nil> [] []}} <nil> map[] map[] <nil>} GameServer instance readiness timed out (): waiting for GameServer 1702415136/xonotic-bm8jm to be Ready: context deadline exceeded
VERBOSE:         	Test:       	TestXonoticGameServerReady
VERBOSE: --- FAIL: TestXonoticGameServerReady (300.11s)

E2E test failure seems related

@gongmax
Copy link
Collaborator

gongmax commented Dec 12, 2023

so xonotic-example:1.6 is not pushed to our registry yet. You should do that first.

@Kalaiselvi84
Copy link
Contributor Author

so xonotic-example:1.6 is not pushed to our registry yet. You should do that first.

Thanks for the review and update. The new image has been pushed to the registry. Log - https://gist.github.com/Kalaiselvi84/ecfe5fb1f5f94649f62b9e4eefa66384 https://screenshot.googleplex.com/5fBhTkeVyygpUyq

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: e9f8803d-b29d-44cd-811a-eeb3cf937398

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/3538/head:pr_3538 && git checkout pr_3538
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.37.0-dev-e770774-amd64

@@ -84,13 +84,13 @@ push-windows-image-%:
$(MAKE) WINDOWS_DOCKER_PUSH_ARGS=--push build-windows-image-$*

build-windows-image-%: ensure-windows-buildx
docker buildx build --platform windows/amd64 --builder $(BUILDX_WINDOWS_BUILDER) -f $(project_path)Dockerfile.windows \
--tag=$(server_tag)-windows_amd64-$* --build-arg WINDOWS_VERSION=$* . $(WINDOWS_DOCKER_PUSH_ARGS)
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --platform windows/amd64 --builder $(BUILDX_WINDOWS_BUILDER) -f $(project_path)Dockerfile.windows \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is DOCKER_CLI_EXPERIMENTAL=enabled needed? docker buildx build is not an experimental feature.

nit: why extra indentation is added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR addresses this issue

The build for Xonotic was successful without enabling DOCKER_CLI_EXPERIMENTAL and --use flag, but the build failed without these two in the simple-game-server🤔

Copy link
Member

Choose a reason for hiding this comment

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

There is some weirdness, since Cloud Build server is 20.x and we're using the Docker client 24.x -- so sometimes some things don't work as you expect them to with a full 24.x installation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are we good with the updates without including the DOCKER_CLI_EXPERIMENTAL=enabled and --use flag? This is the expected update, correct?

Copy link
Member

Choose a reason for hiding this comment

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

As long as it works, I don't mind 😃

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, shall we proceed with merging this PR?🙂

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 685b2e49-7c72-4304-b36d-e63b84ffb50c

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/3538/head:pr_3538 && git checkout pr_3538
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.37.0-dev-27b4506-amd64

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 04cdea5d-de13-42bc-b23f-be06b87a6366

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/3538/head:pr_3538 && git checkout pr_3538
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.37.0-dev-cefed78-amd64

@markmandel markmandel enabled auto-merge (squash) December 14, 2023 04:35
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 7c4c00a3-2c7e-43ac-b4ae-05bb86b8755c

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

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 0a102fb2-6e60-42ea-a21f-5772a14ded57

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/3538/head:pr_3538 && git checkout pr_3538
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.37.0-dev-b4b9f99-amd64

@markmandel markmandel merged commit f9b74ef into googleforgames:main Dec 14, 2023
4 checks passed
@Kalaiselvi84 Kalaiselvi84 deleted the xon-docker-24.x branch March 15, 2024 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants