Skip to content

More fixes for SuperTuxKart example to attempt to fix flakiness.#4359

Merged
markmandel merged 2 commits intoagones-dev:mainfrom
markmandel:examples/stk-0.21
Dec 1, 2025
Merged

More fixes for SuperTuxKart example to attempt to fix flakiness.#4359
markmandel merged 2 commits intoagones-dev:mainfrom
markmandel:examples/stk-0.21

Conversation

@markmandel
Copy link
Copy Markdown
Collaborator

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:

I've run this several hundred times on my Minikube cluster, and so far it has failed to fail!

My theory is that the log file is doing something weird with the log file before it really starts pushing logs to it -- and therefore occasionally will assume there is no log at all.

To fix this I made the following changes:

  • Bump version from 0.20 to 0.21 in Makefile, fleet.yaml, and gameserver.yaml
  • Update Agones SDK from v1.51.0 to v1.53.0
  • Replace deprecated hpcloud/tail with nxadm/tail v1.4.11
  • Fix Dockerfile syntax: change 'as' to 'AS' for build stage
  • Enhance log file monitoring with existence and size checks before tailing

Which issue(s) this PR fixes:

Work on #4321

Special notes for your reviewer:

Like last time, will update the e2e test once this has merged and the image is up on the registry.

@markmandel markmandel added area/examples Examples. Usually found in the `examples` directory area/tests Unit tests, e2e tests, anything to make sure things don't break labels Nov 29, 2025
@github-actions github-actions bot added kind/cleanup Refactoring code, fixing up documentation, etc size/S labels Nov 29, 2025
@markmandel markmandel changed the title More fies for SuperTuxKart example to attempt to fix flakiness. More fixes for SuperTuxKart example to attempt to fix flakiness. Nov 29, 2025
I've run this several hundred times on my Minikube cluster, and so far
it has failed to fail!

My theory is that the log file is doing something weird with the log
file before it really starts pushing logs to it -- and therefore
occasionally will assume there is no log at all.

To fix this I made the following changes:

- Bump version from 0.20 to 0.21 in Makefile, fleet.yaml, and
  gameserver.yaml
- Update Agones SDK from v1.51.0 to v1.53.0
- Replace deprecated hpcloud/tail with nxadm/tail v1.4.11
- Fix Dockerfile syntax: change 'as' to 'AS' for build stage
- Enhance log file monitoring with existence and size checks before
  tailing

Work on agones-dev#4321
@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: 6956fb61-958d-4f5d-9ad5-0bd295206936

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/4359/head:pr_4359 && git checkout pr_4359
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.54.0-dev-12a748d

Copy link
Copy Markdown
Collaborator

@lacroixthomas lacroixthomas left a comment

Choose a reason for hiding this comment

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

LGTM

@lacroixthomas
Copy link
Copy Markdown
Collaborator

The build has been pushed: us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.21 from what I see

@agones-bot
Copy link
Copy Markdown
Collaborator

Build Succeeded 🥳

Build Id: d1d1432b-ba59-406a-95a9-ab72e4bea70c

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/4359/head:pr_4359 && git checkout pr_4359
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.54.0-dev-16cd63e

@markmandel markmandel merged commit f88b410 into agones-dev:main Dec 1, 2025
4 checks passed
@markmandel markmandel deleted the examples/stk-0.21 branch December 1, 2025 01:06
mnthe pushed a commit to mnthe/agones that referenced this pull request Mar 23, 2026
…nes-dev#4359)

I've run this several hundred times on my Minikube cluster, and so far
it has failed to fail!

My theory is that the log file is doing something weird with the log
file before it really starts pushing logs to it -- and therefore
occasionally will assume there is no log at all.

To fix this I made the following changes:

- Bump version from 0.20 to 0.21 in Makefile, fleet.yaml, and
  gameserver.yaml
- Update Agones SDK from v1.51.0 to v1.53.0
- Replace deprecated hpcloud/tail with nxadm/tail v1.4.11
- Fix Dockerfile syntax: change 'as' to 'AS' for build stage
- Enhance log file monitoring with existence and size checks before
  tailing

Work on agones-dev#4321

Co-authored-by: Thomas Lacroix <thomas.lacroix@ubisoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/examples Examples. Usually found in the `examples` directory area/tests Unit tests, e2e tests, anything to make sure things don't break kind/cleanup Refactoring code, fixing up documentation, etc size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants