Google-cloud-python: Logging system tests are leaking sinks

Created on 26 Apr 2018  路  1Comment  路  Source: googleapis/google-cloud-python

I have failures (see https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/6368) in unrelated PRs:

----------------
Failing command:
----------------
Command: Run tests - google.cloud.logging
Exit code: 1 

------
Output
------
-packages/test_utils/retry.py", line 95, in wrapped_function
    return to_wrap(*args, **kwargs)
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/cloud/logging/sink.py", line 136, in create
    unique_writer_identity=unique_writer_identity,
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/cloud/logging/_gapic.py", line 217, in sink_create
    unique_writer_identity=unique_writer_identity
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/cloud/logging_v2/gapic/config_service_v2_client.py", line 424, in create_sink
    request, retry=retry, timeout=timeout, metadata=metadata)
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 139, in __call__
    return wrapped_func(*args, **kwargs)
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 260, in retry_wrapped_func
    on_error=on_error,
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/api_core/retry.py", line 177, in retry_target
    return target()
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/api_core/timeout.py", line 206, in func_with_timeout
    return func(*args, **kwargs)
  File "/var/code/gcp/.nox/sys-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 56, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.FailedPrecondition: 400 There is a maximum of 90 sinks allowed
bug testing logging p2 flaky

Most helpful comment

rsmu18e

>All comments

rsmu18e

Was this page helpful?
0 / 5 - 0 ratings