Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

metricscaler sample: 'test_scale_bigtable' fails in setup with NotFound #394

Closed

Description

@tseaver

From this Kokoro build:

    def test_scale_bigtable(instance):
        bigtable_client = bigtable.Client(admin=True)

        instance = bigtable_client.instance(BIGTABLE_INSTANCE)
>       instance.reload()

metricscaler_test.py:109:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../google/cloud/bigtable/instance.py:364: in reload
    instance_pb = self._client.instance_admin_client.get_instance(
../../google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py:605: in get_instance
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py:145: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:285: in retry_wrapped_func
    return retry_target(
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/retry.py:188: in retry_target
    return target()
.nox/py-3-8/lib/python3.8/site-packages/google/api_core/grpc_helpers.py:69: in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

value = None
from_value = <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.NOT_FOUND
	details = "Instance projects/python-do...ge":"Instance projects/python-docs-samples-tests/instances/metric-scale-test-a60739a9-3 not found.","grpc_status":5}"
>

>   ???
E   google.api_core.exceptions.NotFound: 404 Instance projects/python-docs-samples-tests/instances/metric-scale-test-a60739a9-3 not found.

<string>:3: NotFound

Likely just needs an EC check.

Activity

  1. added
    type: processA process-related concern. May include testing, release, or the like.
    on Jul 22, 2021
  2. self-assigned this
    on Jul 22, 2021
  3. added
    api: bigtableIssues related to the googleapis/python-bigtable API.
    samplesIssues that are directly related to samples.
    on Jul 22, 2021
  4. added a commit that references this issue on Jul 22, 2021
    1635c28
  5. added a commit that references this issue on Sep 14, 2021
    f28e281
  6. added a commit that references this issue on Sep 30, 2021
    d649ca7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the googleapis/python-bigtable API.samplesIssues that are directly related to samples.type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions