-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Flake: python_linux_opt_asyncio_py36_asyncio_test_aio_interop_local_interop_test_SecureLocalInteropTest #25873
Copy link
Copy link
Closed
Description
Log
++ dirname /var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /var/local/git/grpc/tools/run_tests/helper_scripts/../../..
++ realpath py36_asyncio/bin/python
+ PYTHON=/var/local/git/grpc/py36_asyncio/bin/python3.6
++ pwd
+ ROOT=/var/local/git/grpc
+ /var/local/git/grpc/py36_asyncio/bin/python3.6 /var/local/git/grpc/src/python/grpcio_tests/setup.py test_aio
running test_aio
Running interop.local_interop_test.SecureLocalInteropTest.test_cancel_after_begin
Running interop.local_interop_test.SecureLocalInteropTest.test_cancel_after_first_response
Running interop.local_interop_test.SecureLocalInteropTest.test_client_streaming
Running interop.local_interop_test.SecureLocalInteropTest.test_custom_metadata
Running interop.local_interop_test.SecureLocalInteropTest.test_empty_stream
Running interop.local_interop_test.SecureLocalInteropTest.test_empty_unary
Running interop.local_interop_test.SecureLocalInteropTest.test_large_unary
Running interop.local_interop_test.SecureLocalInteropTest.test_ping_pong
Running interop.local_interop_test.SecureLocalInteropTest.test_server_streaming
Running interop.local_interop_test.SecureLocalInteropTest.test_special_status_message
Running interop.local_interop_test.SecureLocalInteropTest.test_status_code_and_message
Running interop.local_interop_test.SecureLocalInteropTest.test_timeout_on_sleeping_server
Running interop.local_interop_test.SecureLocalInteropTest.test_unimplemented_method
ERROR:grpc._cython.cygrpc:Unexpected [NotImplementedError] raised by servicer method [/grpc.testing.TestService/UnimplementedCall]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 655, in grpc._cython.cygrpc._handle_exceptions
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 754, in _handle_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 520, in _handle_unary_unary_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 384, in _finish_handler_with_unary_response
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/var/local/git/grpc/src/python/grpcio_tests/src/proto/grpc/testing/test_pb2_grpc.py", line 131, in UnimplementedCall
raise NotImplementedError('Method not implemented!')
NotImplementedError: Method not implemented!
Running interop.local_interop_test.SecureLocalInteropTest.test_unimplemented_service
ERROR:grpc._cython.cygrpc:Unexpected [NotImplementedError] raised by servicer method [/grpc.testing.TestService/UnimplementedCall]
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 655, in grpc._cython.cygrpc._handle_exceptions
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 754, in _handle_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 520, in _handle_unary_unary_rpc
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 384, in _finish_handler_with_unary_response
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/var/local/git/grpc/src/python/grpcio_tests/src/proto/grpc/testing/test_pb2_grpc.py", line 131, in UnimplementedCall
raise NotImplementedError('Method not implemented!')
NotImplementedError: Method not implemented!
[95mTesting gRPC Python...
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_cancel_after_begin
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_cancel_after_first_response
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_client_streaming
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_custom_metadata
[0m[91mERROR interop.local_interop_test.SecureLocalInteropTest.test_empty_stream
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_empty_unary
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_large_unary
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_ping_pong
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_server_streaming
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_special_status_message
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_status_code_and_message
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_timeout_on_sleeping_server
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_unimplemented_method
[0m[92mSUCCESS interop.local_interop_test.SecureLocalInteropTest.test_unimplemented_service
[0m14 tests finished:
13 successful
1 unsuccessful
0 skipped
0 expected failures
0 unexpected successes
Interrupted Tests:
[]
Errors/Failures:
[91minterop.local_interop_test.SecureLocalInteropTest.test_empty_stream[0m
[1mtraceback:[0m
Traceback (most recent call last):
File "/usr/local/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/local/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests_aio/unit/_test_base.py", line 31, in wrapper
return loop.run_until_complete(f(*args, **kwargs))
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/var/local/git/grpc/src/python/grpcio_tests/tests_aio/interop/local_interop_test.py", line 73, in test_empty_stream
self._stub, None)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
return self.gen.throw(type, value, traceback)
File "/var/local/git/grpc/src/python/grpcio_tests/tests_aio/interop/methods.py", line 449, in test_interoperability
await method(stub)
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
return self.gen.throw(type, value, traceback)
File "/var/local/git/grpc/src/python/grpcio_tests/tests_aio/interop/methods.py", line 247, in _empty_stream
assert await call.read() == aio.EOF
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
return self.gen.throw(type, value, traceback)
File "/var/local/git/grpc/py36_asyncio/lib/python3.6/site-packages/grpc/aio/_call.py", line 353, in read
response_message = await self._read()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 129, in throw
return self.gen.throw(type, value, traceback)
File "/var/local/git/grpc/py36_asyncio/lib/python3.6/site-packages/grpc/aio/_call.py", line 331, in _read
await self._preparation
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 126, in send
return self.gen.send(value)
File "/var/local/git/grpc/py36_asyncio/lib/python3.6/site-packages/grpc/aio/_call.py", line 624, in _prepare_rpc
self._metadata, self._metadata_sent_observer)
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi", line 499, in initiate_stream_stream
File "src/python/grpcio/grpc/_cython/_cygrpc/aio/call.pyx.pxi", line 164, in grpc._cython.cygrpc._AioCall._set_initial_metadata
TypeError: 'NoneType' object is not iterable
[1mstdout:[0m
None
[1mstderr:[0m
None
Unexpected successes: []
Test failure
Seen in PR on 1.37.x: #25869
Reactions are currently unavailable