tvalentyn opened a new issue, #22454:
URL: https://github.com/apache/beam/issues/22454

   ### What happened?
   
   
https://ci-beam.apache.org/job/beam_PostCommit_Python37/5516/testReport/junit/apache_beam.io.gcp.experimental.spannerio_read_it_test/SpannerReadIntegrationTest/test_table_metrics_error_call/
   
   ```
   Error Message
   test setup failure
   Stacktrace
   cls = <class 
'apache_beam.io.gcp.experimental.spannerio_read_it_test.SpannerReadIntegrationTest'>
   
       @classmethod
       def setUpClass(cls):
         _LOGGER.info(".... PyVersion ---> %s" % str(sys.version))
         _LOGGER.info(".... Setting up!")
         cls.test_pipeline = TestPipeline(is_integration_test=True)
         cls.args = cls.test_pipeline.get_full_options_as_args()
         cls.runner_name = type(cls.test_pipeline.runner).__name__
         cls.project = cls.test_pipeline.get_option('project')
         cls.instance = (
             cls.test_pipeline.get_option('instance') or _TEST_INSTANCE_ID)
         _ = cls._generate_table_name()
         spanner_client = cls._SPANNER_CLIENT = spanner.Client()
         _LOGGER.info(".... Spanner Client created!")
         cls._SPANNER_INSTANCE = spanner_client.instance(cls.instance)
         cls._create_database()
   >     cls._add_dummy_entries()
   
   apache_beam/io/gcp/experimental/spannerio_read_it_test.py:105: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   apache_beam/io/gcp/experimental/spannerio_read_it_test.py:87: in 
_add_dummy_entries
       with database.batch() as batch:
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/database.py:611:
 in __enter__
       session = self._session = self._database._pool.get()
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/pool.py:273:
 in get
       session.create()
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/session.py:113:
 in create
       api = self._database.spanner_api
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/database.py:235:
 in spanner_api
       client_options=client_options,
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/gapic/spanner_client.py:194:
 in __init__
       address=api_endpoint, channel=channel, credentials=credentials
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/gapic/transports/spanner_grpc_transport.py:77:
 in __init__
       "grpc.keepalive_time_ms": _GRPC_KEEPALIVE_MS,
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/cloud/spanner_v1/gapic/transports/spanner_grpc_transport.py:114:
 in create_channel
       address, credentials=credentials, scopes=cls._OAUTH_SCOPES, **kwargs
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/api_core/grpc_helpers.py:297:
 in create_channel
       return grpc.secure_channel(target, composite_credentials, **kwargs)
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/grpc/__init__.py:2005:
 in secure_channel
       credentials._credentials, compression)
   
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/grpc/_channel.py:1480:
 in __init__
       credentials)
   src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi:454: in 
grpc._cython.cygrpc.Channel.__cinit__
       ???
   src/python/grpcio/grpc/_cython/_cygrpc/arguments.pyx.pxi:76: in 
grpc._cython.cygrpc._ChannelArgs.__cinit__
       ???
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   
   >   ???
   E   TypeError: Expected int, bytes, or behavior, got <class 
'grpc_gcp_pb2.ApiConfig'>
   ```
   
   ### Issue Priority
   
   Priority: 1
   
   ### Issue Component
   
   Component: dependencies


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to