Skip to content

Flaky: TestMultiClusterAllocationFromRemote/Remote_server_returns_conflict_and_then_random_error #4411

@lacroixthomas

Description

@lacroixthomas

Another flaky test:

--- FAIL: TestMultiClusterAllocationFromRemote (0.82s)
    --- FAIL: TestMultiClusterAllocationFromRemote/Remote_server_returns_conflict_and_then_random_error (0.12s)
        controller_test.go:548: 
            	Error Trace:	/go/src/agones.dev/agones/pkg/gameserverallocations/controller_test.go:548
            	Error:      	"failed to unmarshal allocation response: {\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"GameServerAllocation.allocation.agones.dev \\\"alloc1\\\" is invalid: [spec.selectors[0].counters: Forbidden: Feature CountsAndLists must be enabled, spec.selectors[0].lists: Forbidden: Feature CountsAndLists must be enabled]\",\"reason\":\"Invalid\",\"details\":{\"name\":\"alloc1\",\"group\":\"allocation.agones.dev\",\"kind\":\"GameServerAllocation\",\"causes\":[{\"reason\":\"FieldValueForbidden\",\"message\":\"Forbidden: Feature CountsAndLists must be enabled\",\"field\":\"spec.selectors[0].counters\"},{\"reason\":\"FieldValueForbidden\",\"message\":\"Forbidden: Feature CountsAndLists must be enabled\",\"field\":\"spec.selectors[0].lists\"}]},\"code\":422}\n: json: cannot unmarshal string into Go struct field GameServerAllocation.status of type v1.GameServerAllocationStatus" does not contain "test error message"
            	Test:       	TestMultiClusterAllocationFromRemote/Remote_server_returns_conflict_and_then_random_error
        controller_test.go:550: 
            	Error Trace:	/go/src/agones.dev/agones/pkg/gameserverallocations/controller_test.go:550
            	Error:      	Should be true
            	Test:       	TestMultiClusterAllocationFromRemote/Remote_server_returns_conflict_and_then_random_error
            	Messages:   	Retry count 0. Expecting to retry on error.

https://console.cloud.google.com/cloud-build/builds/5469f78f-a122-43fc-8bbd-0375e13f9467;step=19?invt=AcGawQ&project=agones-images

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testsUnit tests, e2e tests, anything to make sure things don't breakhelp wantedWe would love help on these issues. Please come help us!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions