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.TestBasicRBAC: test_editor_role_can_create_resources[grpc-grpc] failed #922

Closed
flaky-bot bot opened this issue May 22, 2023 · 2 comments
Assignees
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. 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. 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 May 22, 2023

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

Test output
args = (snapshot: "projects/precise-truck-742/snapshots/snap-1684788279469"
,)
kwargs = {'metadata': [('x-goog-request-params', 'snapshot=projects/precise-truck-742/snapshots/snap-1684788279469'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.55.0rc1 gax/2.11.0 gccl/2.17.0')], 'timeout': 60.0}
@functools.wraps(callable_)
def error_remapped_callable(*args, **kwargs):
    try:
      return callable_(*args, **kwargs)

.nox/system-3-10/lib/python3.10/site-packages/google/api_core/grpc_helpers.py:72:


self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7fa9a270f730>
request = snapshot: "projects/precise-truck-742/snapshots/snap-1684788279469"

timeout = 60.0
metadata = [('x-goog-request-params', 'snapshot=projects/precise-truck-742/snapshots/snap-1684788279469'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.55.0rc1 gax/2.11.0 gccl/2.17.0')]
credentials = None, wait_for_ready = None, compression = None

def __call__(self,
             request: Any,
             timeout: Optional[float] = None,
             metadata: Optional[MetadataType] = None,
             credentials: Optional[grpc.CallCredentials] = None,
             wait_for_ready: Optional[bool] = None,
             compression: Optional[grpc.Compression] = None) -> Any:
    state, call, = self._blocking(request, timeout, metadata, credentials,
                                  wait_for_ready, compression)
  return _end_unary_response_blocking(state, call, False, None)

.nox/system-3-10/lib/python3.10/site-packages/grpc/_channel.py:1030:


state = <grpc._channel._RPCState object at 0x7fa9a02539a0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7fa9a00f56c0>
with_call = False, deadline = None

def _end_unary_response_blocking(
    state: _RPCState, call: cygrpc.SegregatedCall, with_call: bool,
    deadline: Optional[float]
) -> Union[ResponseType, Tuple[ResponseType, grpc.Call]]:
    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)  # pytype: disable=not-instantiable

E grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.NOT_FOUND
E details = "Resource not found (resource=snap-1684788279469)."
E debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.197.95:443 {grpc_message:"Resource not found (resource=snap-1684788279469).", grpc_status:5, created_time:"2023-05-22T20:45:43.342055373+00:00"}"
E >

.nox/system-3-10/lib/python3.10/site-packages/grpc/_channel.py:910: _InactiveRpcError

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

@pytest.fixture
def cleanup():
    registry = []
    yield registry

    # Perform all clean up.
    for to_call, args, kwargs in registry:
      to_call(*args, **kwargs)

tests/system.py:87:


google/pubsub_v1/services/subscriber/client.py:2300: in delete_snapshot
rpc(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/gapic_v1/method.py:113: in call
return wrapped_func(*args, **kwargs)
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:349: in retry_wrapped_func
return retry_target(
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/retry.py:191: in retry_target
return target()
.nox/system-3-10/lib/python3.10/site-packages/google/api_core/timeout.py:120: in func_with_timeout
return func(*args, **kwargs)


args = (snapshot: "projects/precise-truck-742/snapshots/snap-1684788279469"
,)
kwargs = {'metadata': [('x-goog-request-params', 'snapshot=projects/precise-truck-742/snapshots/snap-1684788279469'), ('x-goog-api-client', 'gl-python/3.10.5 grpc/1.55.0rc1 gax/2.11.0 gccl/2.17.0')], '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 Resource not found (resource=snap-1684788279469).

.nox/system-3-10/lib/python3.10/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 May 22, 2023
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label May 22, 2023
@flaky-bot flaky-bot bot added the flakybot: flaky Tells the Flaky Bot not to close or comment on this issue. label May 23, 2023
@flaky-bot
Copy link
Author

flaky-bot bot commented May 23, 2023

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 (15d6cdf), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge).

@acocuzzo acocuzzo 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 May 27, 2023
@acocuzzo acocuzzo self-assigned this May 27, 2023
@acocuzzo acocuzzo assigned liuyunnnn and unassigned acocuzzo Jun 27, 2023
@liuyunnnn liuyunnnn assigned pradn and unassigned liuyunnnn Oct 24, 2023
@parthea
Copy link
Contributor

parthea commented Dec 11, 2023

Closing as obsolete. Flaky bot will re-open if the test is still flaky

@parthea parthea closed this as completed Dec 11, 2023
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. 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. 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

4 participants