__________________________test_bigtable_create_table__________________________args= (parent: "projects/precise-truck-742/instances/snippet-tests-1561572579521"table_id: "table_my"table {
column_families {
key: "cf1"value {
gc_rule {
max_num_versions: 2
}
}
}
}
,)
kwargs= {'metadata': [('x-goog-request-params', 'parent=projects/precise-truck-742/instances/snippet-tests-1561572579521'), ('x-goog-api-client', 'gl-python/3.7.0b3 grpc/1.21.1 gax/1.13.0 gapic/0.33.0 gccl/0.33.0')], 'timeout': 20.0}
@six.wraps(callable_)deferror_remapped_callable(*args, **kwargs):
try:
>returncallable_(*args, **kwargs)
../api_core/google/api_core/grpc_helpers.py:57:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self=<grpc._channel._UnaryUnaryMultiCallableobjectat0x7f9df35a5828>request=parent: "projects/precise-truck-742/instances/snippet-tests-1561572579521"table_id: "table_my"table {
column_families {
key: "cf1"value {
gc_rule {
max_num_versions: 2
}
}
}
}
timeout=20.0metadata= [('x-goog-request-params', 'parent=projects/precise-truck-742/instances/snippet-tests-1561572579521'), ('x-goog-api-client', 'gl-python/3.7.0b3 grpc/1.21.1 gax/1.13.0 gapic/0.33.0 gccl/0.33.0')]
credentials=None, wait_for_ready=None, compression=Nonedef__call__(self,
request,
timeout=None,
metadata=None,
credentials=None,
wait_for_ready=None,
compression=None):
state, call, =self._blocking(request, timeout, metadata, credentials,
wait_for_ready, compression)
>return_end_unary_response_blocking(state, call, False, None)
.nox/snippets-3-7/lib/python3.7/site-packages/grpc/_channel.py:565:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state=<grpc._channel._RPCStateobjectat0x7f9df35c54e0>call=<grpc._cython.cygrpc.SegregatedCallobjectat0x7f9df35b1e88>with_call=False, deadline=Nonedef_end_unary_response_blocking(state, call, with_call, deadline):
ifstate.codeisgrpc.StatusCode.OK:
ifwith_call:
rendezvous=_Rendezvous(state, call, None, deadline)
returnstate.response, rendezvouselse:
returnstate.responseelse:
>raise_Rendezvous(state, None, None, deadline)
Egrpc._channel._Rendezvous: <_RendezvousofRPCthatterminatedwith:
Estatus=StatusCode.DEADLINE_EXCEEDEDEdetails="Deadline Exceeded"Edebug_error_string="{"created":"@1561572698.043685871","description":"Errorreceivedfrompeeripv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1046,"grpc_message":"DeadlineExceeded","grpc_status":4}"E>
.nox/snippets-3-7/lib/python3.7/site-packages/grpc/_channel.py:467: _RendezvousTheaboveexceptionwasthedirectcauseofthefollowingexception:
deftest_bigtable_create_table():
# [START bigtable_create_table]fromgoogle.cloud.bigtableimportClientfromgoogle.cloud.bigtableimportcolumn_familyclient=Client(admin=True)
instance=client.instance(INSTANCE_ID)
table=instance.table("table_my")
# Define the GC policy to retain only the most recent 2 versions.max_versions_rule=column_family.MaxVersionsGCRule(2)
>table.create(column_families={"cf1": max_versions_rule})
docs/snippets.py:341:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
google/cloud/bigtable/table.py:251: increateinitial_splits=splits,
google/cloud/bigtable_admin_v2/gapic/bigtable_table_admin_client.py:340: increate_tablerequest, retry=retry, timeout=timeout, metadata=metadata
../api_core/google/api_core/gapic_v1/method.py:143: in__call__returnwrapped_func(*args, **kwargs)
../api_core/google/api_core/retry.py:273: inretry_wrapped_funcon_error=on_error,
../api_core/google/api_core/retry.py:182: inretry_targetreturntarget()
../api_core/google/api_core/timeout.py:214: infunc_with_timeoutreturnfunc(*args, **kwargs)
../api_core/google/api_core/grpc_helpers.py:59: inerror_remapped_callablesix.raise_from(exceptions.from_grpc_error(exc), exc)
__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
value=Nonefrom_value=<_RendezvousofRPCthatterminatedwith:
status=StatusCode.DEADLINE_EXCEEDEDdetails="Deadline Exceeded"debug...2.95:443","file":"src/core/lib/surface/call.cc","file_line":1046,"grpc_message":"DeadlineExceeded","grpc_status":4}">> ???
Egoogle.api_core.exceptions.DeadlineExceeded: 504DeadlineExceeded``
From this Kokoro failure: