googleapis / python-game-servers

Apache License 2.0
11 stars 6 forks source link

samples.snippets.deployment_and_config_test: test_update_rollout_override failed #54

Closed flaky-bot[bot] closed 4 years ago

flaky-bot[bot] commented 4 years ago

This test failed!

To configure my behavior, see the Build Cop Bot documentation.

If I'm commenting on this issue too often, add the buildcop: quiet label and I will stop commenting.


commit: 893dc5a1aa1bfeb3c26baa45c80a9c9fa0102a6c buildURL: Build Status, Sponge status: failed

Test output
args = (parent: "projects/python-docs-samples-tests/locations/us-central1"
realm_id: "realm-d5b30704-d0a0-47b2-9a78-60a549d768ab"
realm {
  time_zone: "US/Pacific"
  description: "My Realm"
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.8.3 grpc/1.31.0 gax/1.22.1 gapic/0.3.0')]}

    @six.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
>           return callable_(*args, **kwargs)

.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 
request = parent: "projects/python-docs-samples-tests/locations/us-central1"
realm_id: "realm-d5b30704-d0a0-47b2-9a78-60a549d768ab"
realm {
  time_zone: "US/Pacific"
  description: "My Realm"
}

timeout = None
metadata = [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us-central1'), ('x-goog-api-client', 'gl-python/3.8.3 grpc/1.31.0 gax/1.22.1 gapic/0.3.0')]
credentials = None, wait_for_ready = None, compression = None

    def __call__(self,
                 request,
                 timeout=None,
                 metadata=None,
                 credentials=None,
                 wait_for_ready=None,
                 compression=None):
        state, call, = self._blocking(request, timeout, metadata, credentials,
                                      wait_for_ready, compression)
>       return _end_unary_response_blocking(state, call, False, None)

.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:826: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = 
call = 
with_call = False, deadline = None

    def _end_unary_response_blocking(state, call, with_call, deadline):
        if state.code is grpc.StatusCode.OK:
            if with_call:
                rendezvous = _MultiThreadedRendezvous(state, call, None, deadline)
                return state.response, rendezvous
            else:
                return state.response
        else:
>           raise _InactiveRpcError(state)
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E               status = StatusCode.RESOURCE_EXHAUSTED
E               details = "Quota limit 'RealmCountPerProjectPerRegion' has been exceeded. Limit: 5 in region us-central1."
E               debug_error_string = "{"created":"@1598526240.171525217","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Quota limit 'RealmCountPerProjectPerRegion' has been exceeded. Limit: 5 in region us-central1.","grpc_status":8}"
E           >

.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py:729: _InactiveRpcError

The above exception was the direct cause of the following exception:

    @pytest.fixture(scope="function")
    def test_realm():
        realm_id = "realm-{}".format(uuid.uuid4())

        print(f"Creating realm {realm_id} in location {REALM_LOCATION} in project {PROJECT_ID}")
>       create_realm.create_realm(PROJECT_ID, REALM_LOCATION, realm_id)

deployment_and_config_test.py:118: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
create_realm.py:44: in create_realm
    operation = client.create_realm(request)
../../google/cloud/gaming_v1/services/realms_service/client.py:485: in create_realm
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:59: in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

value = None
from_value = <_InactiveRpcError of RPC that terminated with:
    status = StatusCode.RESOURCE_EXHAUSTED
    details = "Quota limit 'Realm...e":"Quota limit 'RealmCountPerProjectPerRegion' has been exceeded. Limit: 5 in region us-central1.","grpc_status":8}"
>

>   ???
E   google.api_core.exceptions.ResourceExhausted: 429 Quota limit 'RealmCountPerProjectPerRegion' has been exceeded. Limit: 5 in region us-central1.

:3: ResourceExhausted
flaky-bot[bot] commented 4 years ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


When run at the same commit (893dc5a1aa1bfeb3c26baa45c80a9c9fa0102a6c), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).