Skip to content

datalabeling.import_data_test: test_import_data failed #3760

Closed

Description

@flaky-bot

Note: #2951 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


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

Test output
Traceback (most recent call last):
  File "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/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.UNAVAILABLE
	details = "Connection reset by peer"
	debug_error_string = "{"created":"@1589456618.203484300","description":"Error received from peer ipv4:173.194.214.81:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Connection reset by peer","grpc_status":14}"
>

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

Traceback (most recent call last):
File "/tmpfs/src/github/python-docs-samples/datalabeling/import_data_test.py", line 49, in test_import_data
run_sample()
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/backoff/_sync.py", line 94, in retry
ret = target(*args, **kwargs)
File "/tmpfs/src/github/python-docs-samples/datalabeling/import_data_test.py", line 47, in run_sample
import_data.import_data(dataset.name, 'IMAGE', INPUT_GCS_URI)
File "/tmpfs/src/github/python-docs-samples/datalabeling/import_data.py", line 44, in import_data
result = response.result()
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py", line 125, in result
self._blocking_poll(timeout=timeout)
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py", line 104, in blocking_poll
retry
(self._done_or_raise)()
File "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/future/polling.py", line 83, in _done_or_raise
if not self.done():
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/operation.py", line 169, in done
self._refresh_and_update(retry)
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/operation.py", line 157, in _refresh_and_update
self._operation = self._refresh(retry=retry)
File "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/operations_v1/operations_client.py", line 131, in get_operation
return self._get_operation(request, retry=retry, timeout=timeout)
File "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/datalabeling/.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py", line 184, in retry_target
return target()
File "/tmpfs/src/github/python-docs-samples/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 "/tmpfs/src/github/python-docs-samples/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 "", line 3, in raise_from
google.api_core.exceptions.ServiceUnavailable: 503 Connection reset by peer

Activity

  1. added
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on May 14, 2020
  2. tmatsuo commented on May 14, 2020

    @tmatsuo
    Contributor

    Maybe we can retry google.api_core.exceptions.ServerError instead of only DeadlineExceededError.

  3. assigned and unassigned on May 14, 2020
  4. added a commit that references this issue on May 14, 2020
    793bba5
  5. flaky-bot commented on May 15, 2020

    @flaky-bot
    Author

    Test passed for commit fb25b01 (Build Status, Sponge)! Closing this issue.

  6. added a commit that references this issue on May 15, 2020
    07bc5fc
  7. added 2 commits that reference this issue on Nov 3, 2022
    524c5f1
    7858a28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to 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