Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

chore(python): Noxfile recognizes that tests can live in a folder #287

Conversation

gcf-owl-bot[bot]
Copy link
Contributor

@gcf-owl-bot gcf-owl-bot bot commented Jan 19, 2022

No description provided.

Source-Link: googleapis/synthtool@4760d8d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner January 19, 2022 00:41
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jan 19, 2022
@product-auto-label product-auto-label bot added the api: datacatalog Issues related to the googleapis/python-datacatalog API. label Jan 19, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 19, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 19, 2022
@parthea parthea added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Jan 19, 2022
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jan 19, 2022
@parthea
Copy link
Contributor

parthea commented Jan 19, 2022

The samples tests are failing with PermissionDenied: 403 The caller does not have permission

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
data_catalog_ptm_create_taxonomy.py:45: in create_taxonomy
    taxonomy = client.create_taxonomy(parent=parent, taxonomy=taxonomy)
../../google/cloud/datacatalog_v1/services/policy_tag_manager/client.py:478: in create_taxonomy
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:154: in __call__
    return wrapped_func(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (parent: "projects/python-docs-samples-tests/locations/us"
taxonomy {
  display_name: "example_taxonomy_20220119020706_0098f331"
  description: "This Taxonomy represents ..."
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests/locations/us'), ('x-goog-api-client', 'gl-python/3.6.15 grpc/1.43.0 gax/2.4.0 gapic/3.6.2')]}

    @functools.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
            return callable_(*args, **kwargs)
        except grpc.RpcError as exc:
>           raise exceptions.from_grpc_error(exc) from exc
E           google.api_core.exceptions.PermissionDenied: 403 The caller does not have permission

.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:68: PermissionDenied

@parthea
Copy link
Contributor

parthea commented Jan 19, 2022

cc @tswast

@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jan 21, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 21, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 21, 2022
@parthea parthea merged commit 3ff0e45 into main Jan 22, 2022
@parthea parthea deleted the owl-bot-update-lock-f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828 branch January 22, 2022 00:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: datacatalog Issues related to the googleapis/python-datacatalog API. owl-bot-update-lock
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants