======================================================================
ERROR: test_create_sink_bigquery_dataset (logging_.TestLogging)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vmagent/app/google-cloud-python/system_tests/logging_.py", line 400, in test_create_sink_bigquery_dataset
sink.create()
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/logging/sink.py", line 119, in create
self.project, self.name, self.filter_, self.destination)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/logging/_gax.py", line 210, in sink_create
self._gax_api.create_sink(parent, sink_pb, options=options)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/gapic/logging/v2/config_service_v2_api.py", line 303, in create_sink
return self._create_sink(request, options)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 481, in inner
return api_caller(api_call, this_settings, request)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 469, in base_caller
return api_call(*args)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 434, in inner
errors.create_error('RPC failed', cause=exception))
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 430, in inner
return a_func(*args, **kwargs)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 64, in inner
return a_func(*updated_args, **kwargs)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/grpc/_channel.py", line 481, in __call__
return _end_unary_response_blocking(state, False, deadline)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/grpc/_channel.py", line 432, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
GaxError: GaxError(RPC failed, caused by <_Rendezvous of RPC that terminated with (StatusCode.PERMISSION_DENIED, The caller does not have permission)>)
======================================================================
ERROR: test_create_sink_pubsub_topic (logging_.TestLogging)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vmagent/app/google-cloud-python/system_tests/logging_.py", line 361, in test_create_sink_pubsub_topic
policy = topic.get_iam_policy()
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/pubsub/topic.py", line 340, in get_iam_policy
resp = api.get_iam_policy(self.full_name)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/pubsub/_http.py", line 505, in get_iam_policy
return conn.api_request(method='GET', path=path)
File "/home/vmagent/app/google-cloud-python/.tox/system-tests/local/lib/python2.7/site-packages/google/cloud/_http.py", line 354, in api_request
error_info=method + ' ' + url)
Forbidden: 403 User not authorized to perform this action. (GET https://pubsub.googleapis.com/v1/projects/cloud-python-runtime-qa/topics/logging-test-sink-1479244623664:getIamPolicy)
The logging system test produces the following errors. As per @dhermes in #2669 the logging error is because some bucket or other object needs to add cloud-logs@google.com to an ACL.
Command line was
tox -e system-tests,system-tests3 -- loggingTest was run inside the
gcr.io/google_appengine/python:2016-11-10_06_11docker image.Python versions were 2.7.9 and 3.4.2.
Cloud project name for testing was
cloud-python-runtime-qaMore context here: https://github.com/GoogleCloudPlatform/python-runtime/blob/master/system_tests/Dockerfile