Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples.snippets.schema_test: test_delete_schema failed #388

Closed
flaky-bot bot opened this issue Apr 15, 2021 · 8 comments · Fixed by #519
Closed

samples.snippets.schema_test: test_delete_schema failed #388

flaky-bot bot opened this issue Apr 15, 2021 · 8 comments · Fixed by #519
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. external This issue is blocked on a bug with the actual product. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. 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 Apr 15, 2021

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

Test output
args = (name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-93a51f1b55ab4902a03042d759919078"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-93a51f1b55ab4902a03042d759919078'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.37.0 gax/1.26.3 gccl/2.4.1')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:73:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f3daaa59dc0>
request = name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-93a51f1b55ab4902a03042d759919078"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-93a51f1b55ab4902a03042d759919078'), ('x-goog-api-client', 'gl-python/3.8.8 grpc/1.37.0 gax/1.26.3 gccl/2.4.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-8/lib/python3.8/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7f3da8586c40>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f3da8585a00>
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 = "A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]"
E debug_error_string = "{"created":"@1618488200.423767898","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","grpc_status":13}"
E >

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

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

schema_client = <google.cloud.pubsub_v1.SchemaServiceClient object at 0x7f3daa9e4040>

@pytest.fixture(scope="module")
def proto_schema(schema_client):
    proto_schema_path = schema_client.schema_path(PROJECT_ID, PROTO_SCHEMA_ID)

    yield proto_schema_path

    try:
      schema_client.delete_schema(request={"name": proto_schema_path})

schema_test.py:67:


../../google/pubsub_v1/services/schema_service/client.py:658: in delete_schema
rpc(
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:75: 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 = "A service error has occurred...ror has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]

:3: InternalServerError

@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. 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 Apr 15, 2021
@product-auto-label product-auto-label bot added api: pubsub Issues related to the googleapis/python-pubsub API. samples Issues that are directly related to samples. labels Apr 15, 2021
@plamut
Copy link
Contributor

plamut commented Apr 15, 2021

Internal server error, closing.

@plamut plamut closed this as completed Apr 15, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Apr 20, 2021

Looks like this issue is flaky. 😟

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

A human should fix and close this.


commit: 1e598ee
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-f8cea04364f04fbe9b92cb0ff879b9bd"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-f8cea04364f04fbe9b92cb0ff879b9bd'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.37.0 gax/1.26.3 gccl/2.4.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:73:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f61df5aeba8>
request = name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-f8cea04364f04fbe9b92cb0ff879b9bd"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-f8cea04364f04fbe9b92cb0ff879b9bd'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.37.0 gax/1.26.3 gccl/2.4.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 0x7f61dc3a5c50>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f61df5a3b48>
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 = "A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]"
E debug_error_string = "{"created":"@1618909786.660033556","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","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:

schema_client = <google.cloud.pubsub_v1.SchemaServiceClient object at 0x7f61df5edcc0>

@pytest.fixture(scope="module")
def proto_schema(schema_client):
    proto_schema_path = schema_client.schema_path(PROJECT_ID, PROTO_SCHEMA_ID)

    yield proto_schema_path

    try:
      schema_client.delete_schema(request={"name": proto_schema_path})

schema_test.py:67:


../../google/pubsub_v1/services/schema_service/client.py:659: in delete_schema
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:75: 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 = "A service error has occurred...ror has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]

:3: InternalServerError

@flaky-bot flaky-bot bot reopened this Apr 20, 2021
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label Apr 20, 2021
@plamut
Copy link
Contributor

plamut commented Apr 20, 2021

Internal server error.

@plamut plamut closed this as completed Apr 20, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Apr 20, 2021

Oops! Looks like this issue is still flaky. It failed again. 😬

I reopened the issue, but a human will need to close it again.


commit: 1e598ee
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-525147c851084f54adc4d7294f264b0c"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-525147c851084f54adc4d7294f264b0c'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.37.0 gax/1.26.3 gccl/2.4.1')]}
@six.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:73:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f66f571e2d0>
request = name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-525147c851084f54adc4d7294f264b0c"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-525147c851084f54adc4d7294f264b0c'), ('x-goog-api-client', 'gl-python/3.7.10 grpc/1.37.0 gax/1.26.3 gccl/2.4.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-7/lib/python3.7/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7f66f57b9d10>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f66f4571960>
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 = "A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]"
E debug_error_string = "{"created":"@1618913236.542925059","description":"Error received from peer ipv4:74.125.197.95:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","grpc_status":13}"
E >

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

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

schema_client = <google.cloud.pubsub_v1.SchemaServiceClient object at 0x7f66f56ab150>

@pytest.fixture(scope="module")
def proto_schema(schema_client):
    proto_schema_path = schema_client.schema_path(PROJECT_ID, PROTO_SCHEMA_ID)

    yield proto_schema_path

    try:
      schema_client.delete_schema(request={"name": proto_schema_path})

schema_test.py:67:


../../google/pubsub_v1/services/schema_service/client.py:659: in delete_schema
request, retry=retry, timeout=timeout, metadata=metadata,
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/gapic_v1/method.py:145: in call
return wrapped_func(*args, **kwargs)
.nox/py-3-7/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:75: 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 = "A service error has occurred...ror has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","grpc_status":13}"

???
E google.api_core.exceptions.InternalServerError: 500 A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]

:3: InternalServerError

@flaky-bot flaky-bot bot reopened this Apr 20, 2021
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Apr 22, 2021
@plamut plamut added the external This issue is blocked on a bug with the actual product. label Apr 22, 2021
@plamut
Copy link
Contributor

plamut commented Apr 22, 2021

It was confirmed that this is a server-side issue that is being worked on.

@plamut plamut removed the 🚨 This issue needs some love. label Apr 22, 2021
@parthea
Copy link
Contributor

parthea commented Jul 18, 2021

I'm seeing this issue in #404 and #411. See build log here and here.

@meredithslota meredithslota added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Sep 27, 2021
@meredithslota
Copy link
Contributor

This hasn't reoccured - I don't have a link to the internal issue re: server-side but I closed a similar issue in the Node.js repo so let's just see if they come back. :)

@flaky-bot
Copy link
Author

flaky-bot bot commented Sep 30, 2021

Oops! Looks like this issue is still flaky. It failed again. 😬

I reopened the issue, but a human will need to close it again.


commit: 712d222
buildURL: Build Status, Sponge
status: failed

Test output
args = (name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.41.0 gax/2.0.1 gccl/2.8.0')]}
@functools.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:66:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f66f5715668>
request = name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6"

timeout = None
metadata = [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.41.0 gax/2.0.1 gccl/2.8.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:946:


state = <grpc._channel._RPCState object at 0x7f66f44064e0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f66f55f42c8>
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 = "A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]"
E debug_error_string = "{"created":"@1632992949.880004305","description":"Error received from peer ipv4:74.125.20.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]","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:

schema_client = <google.cloud.pubsub_v1.SchemaServiceClient object at 0x7f66f55f6fd0>

@pytest.fixture(scope="module")
def proto_schema(
    schema_client: pubsub_v1.SchemaServiceClient,
) -> Generator[str, None, None]:
    proto_schema_path = schema_client.schema_path(PROJECT_ID, PROTO_SCHEMA_ID)

    yield proto_schema_path

    try:
      schema_client.delete_schema(request={"name": proto_schema_path})

schema_test.py:75:


../../google/pubsub_v1/services/schema_service/client.py:654: in delete_schema
request, retry=retry, timeout=timeout, metadata=metadata,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:142: in call
return wrapped_func(*args, **kwargs)


args = (name: "projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/python-docs-samples-tests/schemas/schema-test-proto-schema-7adeea87230f441b99dd6b3e6ed867c6'), ('x-goog-api-client', 'gl-python/3.6.13 grpc/1.41.0 gax/2.0.1 gccl/2.8.0')]}

@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.InternalServerError: 500 A service error has occurred. Please retry your request. If the error persists, please report it. [code=e8c0]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. external This issue is blocked on a bug with the actual product. flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants