Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

samples.snippets.import_data_test: test_import_data failed #39

Closed
flaky-bot bot opened this issue Aug 24, 2020 · 1 comment
Closed

samples.snippets.import_data_test: test_import_data failed #39

flaky-bot bot opened this issue Aug 24, 2020 · 1 comment
Assignees
Labels
api: datalabeling Issues related to the googleapis/python-datalabeling API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Aug 24, 2020

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: d884e11
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "projects/python-docs-samples-tests/datasets/5f3f6d43_0000_25dc_8357_d4f547e6385c"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/datasets/5f3f6d43_0000_25dc_8357_d4f547e6385c'), ('x-goog-api-client', 'gl-python/3.6.10 grpc/1.31.0 gax/1.22.1 gapic/1.0.0')]}
@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:57:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f68717f90f0>
request = name: "projects/python-docs-samples-tests/datasets/5f3f6d43_0000_25dc_8357_d4f547e6385c"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/datasets/5f3f6d43_0000_25dc_8357_d4f547e6385c'), ('x-goog-api-client', 'gl-python/3.6.10 grpc/1.31.0 gax/1.22.1 gapic/1.0.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-6/lib/python3.6/site-packages/grpc/_channel.py:826:


state = <grpc._channel._RPCState object at 0x7f68717fec18>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f686adfa088>
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.PERMISSION_DENIED
E details = "DeleteDataset permission denied."
E debug_error_string = "{"created":"@1598259820.750594933","description":"Error received from peer ipv4:74.125.195.81:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"DeleteDataset permission denied.","grpc_status":7}"
E >

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

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

@pytest.fixture(scope="module")
def dataset():
    # create a temporary dataset
    dataset = testing_lib.create_dataset(PROJECT_ID)

    yield dataset

    # tear down
  testing_lib.delete_dataset(dataset.name)

import_data_test.py:40:


.nox/py-3-6/lib/python3.6/site-packages/backoff/_sync.py:94: in retry
ret = target(*args, **kwargs)
testing_lib.py:51: in delete_dataset
return dataset_sample.delete_dataset(name)
manage_dataset.py:134: in delete_dataset
response = client.delete_dataset(request={"name": dataset_resource_name})
../../google/cloud/datalabeling_v1beta1/services/data_labeling_service/client.py:611: in delete_dataset
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/retry.py:286: in retry_wrapped_func
on_error=on_error,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:184: in retry_target
return target()
.nox/py-3-6/lib/python3.6/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.PERMISSION_DENIED
details = "DeleteDataset permi...":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"DeleteDataset permission denied.","grpc_status":7}"

???
E google.api_core.exceptions.PermissionDenied: 403 DeleteDataset permission denied.

:3: PermissionDenied

@flaky-bot flaky-bot bot added buildcop: issue priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Aug 24, 2020
@product-auto-label product-auto-label bot added the api: datalabeling Issues related to the googleapis/python-datalabeling API. label Aug 24, 2020
@flaky-bot
Copy link
Author

flaky-bot bot commented Aug 25, 2020

Looks like this issue is flaky. 😟

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

A human should fix and close this.


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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: datalabeling Issues related to the googleapis/python-datalabeling API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants