googleapis/python-analytics-data

samples.snippets.get_metadata_by_property_id_test: test_get_metadata_by_property_id failed

flaky-bot opened this issue · 1 comments

This test failed!

To configure my behavior, see the Flaky Bot documentation.

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


commit: 1678019
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "properties/222596558/metadata"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=properties/222596558/metadata'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.1 gax/1.30.0 gapic/0.6.1')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:67:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fecb412e358>
request = name: "properties/222596558/metadata"
, timeout = None
metadata = [('x-goog-request-params', 'name=properties/222596558/metadata'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.38.1 gax/1.30.0 gapic/0.6.1')]
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-6/lib/python3.6/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7fecb412e588>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fecb4171ac8>
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.INTERNAL
E details = "Internal error encountered."
E debug_error_string = "{"created":"@1625734991.912366813","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"
E >

.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:849: _InactiveRpcError

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

capsys = <_pytest.capture.CaptureFixture object at 0x7fecb4069278>

def test_get_metadata_by_property_id(capsys):
  get_metadata_by_property_id.get_metadata_by_property_id(TEST_PROPERTY_ID)

get_metadata_by_property_id_test.py:23:


get_metadata_by_property_id.py:44: in get_metadata_by_property_id
response = client.get_metadata(request)
../../google/analytics/data_v1beta/services/beta_analytics_data/client.py:646: in get_metadata
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:69: 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.INTERNAL
details = "Internal error encountered."...file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Internal error encountered.","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

:3: InternalServerError

This test failed with InternalServerError. If this happens repeatedly we can reach out to the API team.