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

Add some logging to help determine which game server / namespace is causing this particular error #1929

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

roberthbailey
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, hit 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:

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

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.

🚚

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 2428a1a5-7037-467f-9801-8de255577b86

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

@markmandel
Copy link
Member

That's a new flaky one:

{"groupKind":{"Group":"agones.dev","Kind":"GameServer"},"message":"Added webhook handler","op":"CREATE","path":"/validate","severity":"info","source":"*webhooks.WebHook","time":"2020-12-14T23:23:53.462214717Z"}
--- FAIL: TestControllerSyncGameServerRequestReadyState (0.70s)
    --- FAIL: TestControllerSyncGameServerRequestReadyState/GameServer_whose_pod_is_currently_not_in_a_running_state,_so_should_retry_and_not_update (0.11s)
        controller_test.go:1317: 
            	Error Trace:	controller_test.go:1317
            	Error:      	Error message not equal:
            	            	expected: "game server container is not currently running, try again"
            	            	actual  : "game server container for GameServer test in namespace default is not currently running, try again"
            	Test:       	TestControllerSyncGameServerRequestReadyState/GameServer_whose_pod_is_currently_not_in_a_running_state,_so_should_retry_and_not_update
{"message":"Wait for cache sync","severity":"info","time":"2020-12-14T23:23:53.496869656Z"}

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 87edac71-9b38-43b4-9f48-a14578d86ae4

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

@markmandel
Copy link
Member

oh wait, that's not flaky - that's a legit unit test error :)

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@roberthbailey
Copy link
Member Author

oh wait, that's not flaky - that's a legit unit test error :)

That's what I get for just pushing a change w/o running tests locally....

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: f9acd781-dbc2-4faf-851b-0fda3730be8e

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

@roberthbailey
Copy link
Member Author

This failure seems unrelated.

Unit tests look ok:

48 specs, 0 failures
Finished in 0.081 seconds

But site-static failed with:

Please install PostCSS 8 or above
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css): Please install PostCSS 8 or above
make[2]: *** [site-static] Error 255
make[2]: Entering directory '/workspace/build'
docker run --rm -v /workspace/build//.config/gcloud:/root/.config/gcloud -v ~/.kube/:/root/.kube -v ~/.config/helm:/root/.config/helm -v ~/.cache/helm:/root/.cache/helm -v /workspace:/go/src/agones.dev/agones -v /workspace/build//.gomod:/go/pkg/mod -v /workspace/build//.gocache:/root/.cache/go-build --workdir=/go/src/agones.dev/agones/site  agones-build:8432895f39 rm -r ./public
includes/website.mk:35: recipe for target 'site-static' failed

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: e62e445f-831e-471a-a747-b43ced5a8b8f

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

@roberthbailey
Copy link
Member Author

Same error again...

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: fa28b324-ce5e-4a1b-9ed6-7580e760b6f7

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

@markmandel
Copy link
Member

Can replicate locally when refreshing node_modules

che/go-build --workdir=/go/src/agones.dev/agones/site  agones-build:8432895f39 \
        bash -c "npm list postcss-cli || npm install postcss-cli"
/go/src/agones.dev/agones/site
`-- UNMET DEPENDENCY [email protected]

npm ERR! missing: [email protected], required by site
npm WARN deprecated [email protected]: Please update to v 2.2.x

Will dig in and work out a fix 👍

@roberthbailey
Copy link
Member Author

Thanks Mark! (it seems like this is going to cause issues with the RC anyway)

@markmandel
Copy link
Member

Should be fixed in #1930 - just waiting for it to pass.

@roberthbailey
Copy link
Member Author

Rebased on #1930 and re-pushed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 469390cd-e684-4787-aa63-e435bfeae748

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/1929/head:pr_1929 && git checkout pr_1929
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.11.0-e20e435

@markmandel markmandel merged commit 3286f3c into googleforgames:master Dec 15, 2020
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Dec 15, 2020
@markmandel markmandel added this to the 1.11.0 milestone Dec 15, 2020
@roberthbailey roberthbailey deleted the log-details branch March 29, 2021 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved cla: yes kind/cleanup Refactoring code, fixing up documentation, etc size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants