Timeout
++ dirname /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/run_python.sh
+ cd /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/../../..
++ pwd
+ PYTHON=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python
++ pwd
+ ROOT=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native
+ /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py test_aio
running test_aio
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1726098052.012137 65794 log.cc:112] Log level DEBUG is not suitable for production. Prefer WARNING or ERROR. However if you see this message in a debug environmenmt or test environmenmt it is safe to ignore this message.
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_channelz/v1/channelz.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_health/v1/health.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/empty.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/messages.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_reflection/v1alpha/reflection.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2_extensions.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
Error in callback for method [/test/Test]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 748, in grpc._cython.cygrpc._add_callback_handler.handle_callbacks
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 258, in exception_raiser
raise RuntimeError("A test RuntimeError")
RuntimeError: A test RuntimeError
_GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=CancelledError() created at /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py:709>
source_traceback: Object created at (most recent call last):
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py", line 104, in <module>
setuptools.setup(
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/dist.py", line 976, in run_command
super().run_command(command)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/commands.py", line 150, in run
result = runner.run(loader.suite)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests/_runner.py", line 241, in run
augmented_case.case.run(result)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_test_base.py", line 31, in wrapper
return loop.run_until_complete(f(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
self.run_forever()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
self._run_once()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
handle._run()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 274, in test_error_in_callback
await validation
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_common.py", line 72, in validation
asyncio.gather(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 844, in gather
outer = _GatheringFuture(children, loop=loop)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 709, in __init__
super().__init__(loop=loop)
asyncio.exceptions.CancelledError
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler
Unexpected [RuntimeError] raised by servicer method [/test/Test]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 689, in grpc._cython.cygrpc._handle_exceptions
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 831, in _handle_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 554, in _handle_unary_unary_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 408, in _finish_handler_with_unary_response
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 237, in test_handler
raise RuntimeError("A test RuntimeError")
RuntimeError: A test RuntimeError
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary
[95mTesting gRPC Python...
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary
[0m6 tests finished:
6 successful
0 unsuccessful
0 skipped
0 expected failures
0 unexpected successes
Interrupted Tests:
[]
Errors/Failures:
Unexpected successes: []
++ dirname /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/run_python.sh
+ cd /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/../../..
++ pwd
+ PYTHON=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python
++ pwd
+ ROOT=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native
+ /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py test_aio
running test_aio
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1726098052.012137 65794 log.cc:112] Log level DEBUG is not suitable for production. Prefer WARNING or ERROR. However if you see this message in a debug environmenmt or test environmenmt it is safe to ignore this message.
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_channelz/v1/channelz.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_health/v1/health.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/empty.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/messages.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_reflection/v1alpha/reflection.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2_extensions.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2.proto. Please avoid checked-in Protobuf gencode that can be obsolete.
warnings.warn(
Error in callback for method [/test/Test]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 748, in grpc._cython.cygrpc._add_callback_handler.handle_callbacks
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 258, in exception_raiser
raise RuntimeError("A test RuntimeError")
RuntimeError: A test RuntimeError
_GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=CancelledError() created at /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py:709>
source_traceback: Object created at (most recent call last):
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py", line 104, in <module>
setuptools.setup(
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/dist.py", line 976, in run_command
super().run_command(command)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/commands.py", line 150, in run
result = runner.run(loader.suite)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests/_runner.py", line 241, in run
augmented_case.case.run(result)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_test_base.py", line 31, in wrapper
return loop.run_until_complete(f(*args, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
self.run_forever()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
self._run_once()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once
handle._run()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 274, in test_error_in_callback
await validation
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_common.py", line 72, in validation
asyncio.gather(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 844, in gather
outer = _GatheringFuture(children, loop=loop)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 709, in __init__
super().__init__(loop=loop)
asyncio.exceptions.CancelledError
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler
Unexpected [RuntimeError] raised by servicer method [/test/Test]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 689, in grpc._cython.cygrpc._handle_exceptions
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 831, in _handle_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 554, in _handle_unary_unary_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 408, in _finish_handler_with_unary_response
File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 237, in test_handler
raise RuntimeError("A test RuntimeError")
RuntimeError: A test RuntimeError
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream
Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary
[95mTesting gRPC Python...
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream
[0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary
[0m6 tests finished:
6 successful
0 unsuccessful
0 skipped
0 expected failures
0 unexpected successes
Interrupted Tests:
[]
Errors/Failures:
Unexpected successes: []
Timeout ++ dirname /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/run_python.sh + cd /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/tools/run_tests/helper_scripts/../../.. ++ pwd + PYTHON=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python ++ pwd + ROOT=/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native + /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/bin/python /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py test_aio running test_aio Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback WARNING: All log messages before absl::InitializeLog() is called are written to STDERR W0000 00:00:1726098052.012137 65794 log.cc:112] Log level DEBUG is not suitable for production. Prefer WARNING or ERROR. However if you see this message in a debug environmenmt or test environmenmt it is safe to ignore this message. /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_channelz/v1/channelz.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_health/v1/health.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/empty.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/messages.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at grpc_reflection/v1alpha/reflection.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2_extensions.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( /Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at src/proto/grpc/testing/proto2/empty2.proto. Please avoid checked-in Protobuf gencode that can be obsolete. warnings.warn( Error in callback for method [/test/Test] Traceback (most recent call last): File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 748, in grpc._cython.cygrpc._add_callback_handler.handle_callbacks File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 258, in exception_raiser raise RuntimeError("A test RuntimeError") RuntimeError: A test RuntimeError _GatheringFuture exception was never retrieved future: <_GatheringFuture finished exception=CancelledError() created at /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py:709> source_traceback: Object created at (most recent call last): File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/setup.py", line 104, in <module> setuptools.setup( File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 184, in setup return run_commands(dist) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 200, in run_commands dist.run_commands() File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/dist.py", line 976, in run_command super().run_command(command) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/commands.py", line 150, in run result = runner.run(loader.suite) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests/_runner.py", line 241, in run augmented_case.case.run(result) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 676, in run self._callTestMethod(testMethod) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod method() File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_test_base.py", line 31, in wrapper return loop.run_until_complete(f(*args, **kwargs)) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete self.run_forever() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 570, in run_forever self._run_once() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1851, in _run_once handle._run() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 274, in test_error_in_callback await validation File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/_common.py", line 72, in validation asyncio.gather( File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 844, in gather outer = _GatheringFuture(children, loop=loop) File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 709, in __init__ super().__init__(loop=loop) asyncio.exceptions.CancelledError Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler Unexpected [RuntimeError] raised by servicer method [/test/Test] Traceback (most recent call last): File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 689, in grpc._cython.cygrpc._handle_exceptions File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 831, in _handle_rpc File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 554, in _handle_unary_unary_rpc File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 408, in _finish_handler_with_unary_response File "/Volumes/BuildData/tmpfs/altsrc/github/grpc/workspace_python_macos_opt_native/src/python/grpcio_tests/tests_aio/unit/done_callback_test.py", line 237, in test_handler raise RuntimeError("A test RuntimeError") RuntimeError: A test RuntimeError Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream Running tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary [95mTesting gRPC Python... [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_callback [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_error_in_handler [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_stream [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_stream_unary [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_stream [0m[92mSUCCESS tests_aio.unit.done_callback_test.TestServerSideDoneCallback.test_unary_unary [0m6 tests finished: 6 successful 0 unsuccessful 0 skipped 0 expected failures 0 unexpected successes Interrupted Tests: [] Errors/Failures: Unexpected successes: []