Skip to content

[datalabeling] flake: StatusCode.DEADLINE_EXCEEDED #4054

@tmatsuo

Description

@tmatsuo

Build

Log

Traceback (most recent call last):
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.DEADLINE_EXCEEDED
	details = "Deadline Exceeded"
	debug_error_string = "{"created":"@1591821793.129451776","description":"Error received from peer ipv4:172.217.204.81:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Deadline Exceeded","grpc_status":4}"
>

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

Traceback (most recent call last):
  File "/workspace/datalabeling/create_instruction_test.py", line 50, in test_create_instruction
    instruction = run_sample()
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/workspace/datalabeling/create_instruction_test.py", line 47, in run_sample
    return create_instruction.create_instruction(
  File "/workspace/datalabeling/create_instruction.py", line 51, in create_instruction
    operation = client.create_instruction(project_path, instruction)
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/cloud/datalabeling_v1beta1/gapic/data_labeling_service_client.py", line 2251, in create_instruction
    operation = self._inner_api_calls["create_instruction"](
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 281, in retry_wrapped_func
    return retry_target(
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
    return target()
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/workspace/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.DeadlineExceeded: 504 Deadline Exceeded

Metadata

Metadata

Assignees

Labels

api: datalabelingIssues related to the AI Platform Data Labeling Service API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions