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

Cloud Asset Create/Delete/Get all failing #2430

Closed
gguuss opened this issue Oct 1, 2019 · 2 comments
Closed

Cloud Asset Create/Delete/Get all failing #2430

gguuss opened this issue Oct 1, 2019 · 2 comments
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@gguuss
Copy link
Contributor

gguuss commented Oct 1, 2019

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}"
>
@gguuss
Copy link
Contributor Author

gguuss commented Oct 1, 2019

@cwxie-google Your contributed code is failing, can you update your tests?

@JustinBeckwith JustinBeckwith added triage me I really want to be triaged. 🚨 This issue needs some love. labels Oct 3, 2019
@leahecole leahecole added 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. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Nov 15, 2019
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Nov 15, 2019
@JustinBeckwith JustinBeckwith added api: appengine Issues related to the App Engine Admin API API. api: asset and removed api: appengine Issues related to the App Engine Admin API API. labels Jan 9, 2020
@JustinBeckwith
Copy link
Contributor

Turns out this was already fixed 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. 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