Skip to content

Cloud Asset Create/Delete/Get all failing #2430

@gguuss

Description

@gguuss

Description:
Tests for the Cloud assets API are failing.

Repro:

nox -s "py36(sample='./asset/cloud-client')"

Details:

_______________________________ test_create_feed _______________________________
Traceback (most recent call last):
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 604, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 506, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177)."
	debug_error_string = "{"created":"@1569963195.428845223","description":"Error received from peer ipv4:74.125.124.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).","grpc_status":3}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_createfeed_test.py", line 38, in test_create_feed
    PROJECT, FEED_ID, [ASSET_NAME, ], full_topic_name)
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_createfeed.py", line 36, in create_feed
    response = client.create_feed(parent, feed_id, feed)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/cloud/asset_v1p2beta1/gapic/asset_service_client.py", line 524, in create_feed
    request, retry=retry, timeout=timeout, metadata=metadata
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 273, in retry_wrapped_func
    on_error=on_error,
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 182, in retry_target
    return target()
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.InvalidArgument: 400 Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).
_______________________________ test_delete_feed _______________________________
Traceback (most recent call last):
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 604, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 506, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177)."
	debug_error_string = "{"created":"@1569963196.119700276","description":"Error received from peer ipv4:172.217.212.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).","grpc_status":3}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_deletefeed_test.py", line 36, in test_delete_feed
    PROJECT, FEED_ID, [ASSET_NAME, ], full_topic_name)
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_createfeed.py", line 36, in create_feed
    response = client.create_feed(parent, feed_id, feed)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/cloud/asset_v1p2beta1/gapic/asset_service_client.py", line 524, in create_feed
    request, retry=retry, timeout=timeout, metadata=metadata
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 273, in retry_wrapped_func
    on_error=on_error,
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 182, in retry_target
    return target()
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.InvalidArgument: 400 Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).
________________________________ test_get_feed _________________________________
Traceback (most recent call last):
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 604, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 506, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177)."
	debug_error_string = "{"created":"@1569963256.159291968","description":"Error received from peer ipv4:172.217.212.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).","grpc_status":3}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_getfeed_test.py", line 37, in test_get_feed
    PROJECT, FEED_ID, [ASSET_NAME, ], full_topic_name)
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/asset/cloud-client/quickstart_createfeed.py", line 36, in create_feed
    response = client.create_feed(parent, feed_id, feed)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/cloud/asset_v1p2beta1/gapic/asset_service_client.py", line 524, in create_feed
    request, retry=retry, timeout=timeout, metadata=metadata
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 273, in retry_wrapped_func
    on_error=on_error,
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/retry.py", line 182, in retry_target
    return target()
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout
    return func(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.InvalidArgument: 400 Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).
_______________________________ test_update_feed _______________________________
Traceback (most recent call last):
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 604, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/tmp/py36-sample-asset-cloud-client/lib/python3.6/site-packages/grpc/_channel.py", line 506, in _end_unary_response_blocking
    raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
	status = StatusCode.INVALID_ARGUMENT
	details = "Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177)."
	debug_error_string = "{"created":"@1569963256.781309462","description":"Error received from peer ipv4:172.217.212.95:443","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"Fail to use projects/python-docs-samples-tests/topics/topic-1569963177 as feed output destination. Error: Resource not found (resource=topic-1569963177).","grpc_status":3}"
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions