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

tests.system.test_notification: test_notification_create_w_user_project failed #936

Closed
flaky-bot bot opened this issue Nov 29, 2022 · 1 comment
Closed
Labels
api: storage Issues related to the googleapis/python-storage API. 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.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Nov 29, 2022

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

Test output
args = (name: "projects/None/topics/notification-1669697704190"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/None/topics/notification-1669697704190'), ('x-goog-api-client', 'gl-python/3.8.13 grpc/1.51.0rc1 gax/2.10.2 gapic/1.7.2')], 'timeout': 60.0}
@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:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f8fd603cfd0>
request = name: "projects/None/topics/notification-1669697704190"

timeout = 60.0
metadata = [('x-goog-request-params', 'name=projects/None/topics/notification-1669697704190'), ('x-goog-api-client', 'gl-python/3.8.13 grpc/1.51.0rc1 gax/2.10.2 gapic/1.7.2')]
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/system-3-8/lib/python3.8/site-packages/grpc/_channel.py:946:


state = <grpc._channel._RPCState object at 0x7f8fd5bd5e20>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f8fd4055e00>
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.NOT_FOUND
E details = "Requested project not found or user does not have access to it (project=None). Make sure to specify the unique project identifier and not the Google Cloud Console display name."
E debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.195.95:443 {created_time:"2022-11-29T04:55:06.407778752+00:00", grpc_status:5, grpc_message:"Requested project not found or user does not have access to it (project=None). Make sure to specify the unique project identifier and not the Google Cloud Console display name."}"
E >

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

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

storage_client = <google.cloud.storage.client.Client object at 0x7f8fd6442be0>
publisher_client = <google.cloud.pubsub_v1.PublisherClient object at 0x7f8fd6686cd0>
topic_path = 'projects/None/topics/notification-1669697704190', no_mtls = None

@pytest.fixture(scope="session")
def notification_topic(storage_client, publisher_client, topic_path, no_mtls):
  _helpers.retry_429(publisher_client.create_topic)(topic_path)

tests/system/test_notification.py:62:


.nox/system-3-8/lib/python3.8/site-packages/test_utils/retry.py:100: in wrapped_function
return to_wrap(*args, **kwargs)
.nox/system-3-8/lib/python3.8/site-packages/google/cloud/pubsub_v1/_gapic.py:40: in
fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa
.nox/system-3-8/lib/python3.8/site-packages/google/cloud/pubsub_v1/gapic/publisher_client.py:347: in create_topic
return self._inner_api_calls["create_topic"](
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:154: in call
return wrapped_func(*args, **kwargs)
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:283: in retry_wrapped_func
return retry_target(
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/retry.py:190: in retry_target
return target()
.nox/system-3-8/lib/python3.8/site-packages/google/api_core/timeout.py:210: in func_with_timeout
return func(*args, **kwargs)


args = (name: "projects/None/topics/notification-1669697704190"
,)
kwargs = {'metadata': [('x-goog-request-params', 'name=projects/None/topics/notification-1669697704190'), ('x-goog-api-client', 'gl-python/3.8.13 grpc/1.51.0rc1 gax/2.10.2 gapic/1.7.2')], 'timeout': 60.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.NotFound: 404 Requested project not found or user does not have access to it (project=None). Make sure to specify the unique project identifier and not the Google Cloud Console display name.

.nox/system-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:74: NotFound

@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 Nov 29, 2022
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Nov 29, 2022
@cojenco
Copy link
Contributor

cojenco commented Nov 29, 2022

closed with #940

@cojenco cojenco closed this as completed Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/python-storage API. 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.
Projects
None yet
Development

No branches or pull requests

1 participant