Description
Note: #425 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 3974fec
buildURL: Build Status, Sponge
status: failed
Test output
args = (project_name: "projects/precise-truck-742" time_range { period: PERIOD_1_HOUR } timed_count_duration { seconds: 3600 } ,) kwargs = {'metadata': [('x-goog-request-params', 'project_name=projects/precise-truck-742'), ('x-goog-api-client', 'gl-python/3.8.13 grpc/1.56.0 gax/2.11.1 gapic/1.9.1')]}@functools.wraps(callable_) def error_remapped_callable(*args, **kwargs): try:
return callable_(*args, **kwargs)
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:72:
.nox/system-3-8/lib/python3.8/site-packages/grpc/_channel.py:1030: in call
return _end_unary_response_blocking(state, call, False, None)
state = <grpc._channel._RPCState object at 0x7fb9101aa3d0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fb91011ee00>
with_call = False, deadline = Nonedef _end_unary_response_blocking( state: _RPCState, call: cygrpc.SegregatedCall, with_call: bool, deadline: Optional[float] ) -> Union[ResponseType, Tuple[ResponseType, grpc.Call]]: 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) # pytype: disable=not-instantiable
E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.UNAVAILABLE
E details = "The service is currently unavailable."
E debug_error_string = "UNKNOWN:Error received from peer ipv4:173.194.203.95:443 {created_time:"2023-06-28T08:45:13.562671479+00:00", grpc_status:14, grpc_message:"The service is currently unavailable."}"
E >.nox/system-3-8/lib/python3.8/site-packages/grpc/_channel.py:910: _InactiveRpcError
The above exception was the direct cause of the following exception:
self = <test_system.TestErrorReporting testMethod=test_report_exception_no_grpc>
def test_report_exception_no_grpc(self): with mock.patch.dict( "os.environ", {"GOOGLE_CLOUD_DISABLE_GRPC": "true"}, clear=True ):
self.test_report_exception()
tests/system/test_system.py:136:
tests/system/test_system.py:129: in test_report_exception
error_count = wrapped_get_count(class_name, Config.CLIENT)
.nox/system-3-8/lib/python3.8/site-packages/test_utils/retry.py:157: in wrapped_function
result = to_wrap(*args, **kwargs)
tests/system/test_system.py:109: in _get_error_count
groups = _list_groups(client)
tests/system/test_system.py:70: in _list_groups
return gax_api.list_group_stats(
google/cloud/errorreporting_v1beta1/services/error_stats_service/client.py:564: in list_group_stats
response = rpc(
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:113: in call
return wrapped_func(*args, **kwargs)
args = (project_name: "projects/precise-truck-742"
time_range {
period: PERIOD_1_HOUR
}
timed_count_duration {
seconds: 3600
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'project_name=projects/precise-truck-742'), ('x-goog-api-client', 'gl-python/3.8.13 grpc/1.56.0 gax/2.11.1 gapic/1.9.1')]}@functools.wraps(callable_) def error_remapped_callable(*args, **kwargs): try: return callable_(*args, **kwargs) except grpc.RpcError as exc:
raise exceptions.from_grpc_error(exc) from exc
E google.api_core.exceptions.ServiceUnavailable: 503 The service is currently unavailable.
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:74: ServiceUnavailable