Skip to content
This repository was archived by the owner on Jul 13, 2025. It is now read-only.
This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Python: PR #2900 breaks system tests #2904

@tseaver

Description

@tseaver

E.g., from this Kokoro job:

_ ERROR at setup of TestVisionClientVpcsc.test_batch_annotate_images_read_blocked _
    def setUpModule():
>       VisionSystemTestBase.client = vision.ImageAnnotatorClient()
tests/system.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
google/cloud/vision_v1/gapic/image_annotator_client.py:164: in __init__
    address=api_endpoint, channel=channel, credentials=credentials
google/cloud/vision_v1/gapic/transports/image_annotator_grpc_transport.py:70: in __init__
    "grpc.max_receive_message_length": -1,
google/cloud/vision_v1/gapic/transports/image_annotator_grpc_transport.py:109: in create_channel
    address, credentials=credentials, scopes=cls._OAUTH_SCOPES, **kwargs
../api_core/google/api_core/grpc_helpers.py:206: in create_channel
    return grpc.secure_channel(target, composite_credentials, **kwargs)
.nox/system-3-7/lib/python3.7/site-packages/grpc/__init__.py:1782: in secure_channel
    credentials._credentials, compression)
.nox/system-3-7/lib/python3.7/site-packages/grpc/_channel.py:1021: in __init__
    credentials)
src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi:429: in grpc._cython.cygrpc.Channel.__cinit__
    ???
src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi:78: in grpc._cython.cygrpc._ChannelArgs.__cinit__
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>   ???
E   ValueError: too many values to unpack (expected 2)
src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi:37: ValueError
___ ERROR at setup of TestVisionClientVpcsc.test_import_product_sets_blocked ___
    def setUpModule():
>       VisionSystemTestBase.client = vision.ImageAnnotatorClient()
tests/system.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
google/cloud/vision_v1/gapic/image_annotator_client.py:164: in __init__
    address=api_endpoint, channel=channel, credentials=credentials
google/cloud/vision_v1/gapic/transports/image_annotator_grpc_transport.py:70: in __init__
    "grpc.max_receive_message_length": -1,
google/cloud/vision_v1/gapic/transports/image_annotator_grpc_transport.py:109: in create_channel
    address, credentials=credentials, scopes=cls._OAUTH_SCOPES, **kwargs
../api_core/google/api_core/grpc_helpers.py:206: in create_channel
    return grpc.secure_channel(target, composite_credentials, **kwargs)
.nox/system-3-7/lib/python3.7/site-packages/grpc/__init__.py:1782: in secure_channel
    credentials._credentials, compression)
.nox/system-3-7/lib/python3.7/site-packages/grpc/_channel.py:1021: in __init__
    credentials)
src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi:429: in grpc._cython.cygrpc.Channel.__cinit__
    ???
src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi:78: in grpc._cython.cygrpc._ChannelArgs.__cinit__
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>   ???
E   ValueError: too many values to unpack (expected 2)

Metadata

Metadata

Assignees

Labels

lang: pythonIssues specific to Python.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.yoshi

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions