For post-GA.
Best I can tell, we shouldn't be forced into any difficult corners. Handling borrowed references will require a little legwork but should be formulaic. I don't believe anything in the Python layers should give us cause for alarm.
Hi all,
dose grpc support pypy?
and is there someone work with it?
@zj8487: gRPC Python does not currently support PyPy. There is no one currently working on it. We have applied the "help wanted" label indicating that we would assist anyone who wanted to volunteer to do the work.
Seems like gRPC fails to build with PyPy. Here's a travis build log of that happening.
Huh. It's looking for stdalign.h, which is ostensibly a C11 feature, but the compiler available on travis doesn't support C11. But this is BoringSSL, so I'd expect precompiler-directives in headers to do the right feature detection and not use C11 features. Weird.
gcc doesn't complain about a missing stdalign,h in gnu99, so this _shouldn't_ be a C11 versus anything else problem (still could, just shouldn't).
Is this still an issue?
Is there someone working on this issue right now? It seems that grpc 1.4.0 builds successfully for PyPy, but crashes at runtime (consider simple example below) with stack trace deep in interpreter code. I am using PyPy3 5.8.0-beta0
Python 3.5.3 (a37ecfe5f142bc971a86d17305cc5d1d70abec64, Jun 08 2017, 19:43:54)
[PyPy 5.8.0-beta0 with GCC 6.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``1.1 final released:
http://codespeak.net/pypy/dist/pypy/doc/release-1.1.0.html''
>>>> import grpc
>>>> from concurrent import futures
>>>> server = grpc.server(futures.ThreadPoolExecutor(max_workers=1))
>>>> server.start()
RPython traceback:
File "pypy_interpreter.c", line 39971, in BuiltinCode3_fastcall_3
File "implement_1.c", line 34625, in fastfunc_descr_setitem_3_1
File "pypy_objspace_std_1.c", line 9180, in EmptyListStrategy_setslice
File "pypy_module_cpyext_2.c", line 12985, in CPyListStrategy_getstorage_copy
Fatal RPython error: NotImplementedError
Aborted (core dumped)
Now support it?
We could write a cppyy extension.
I'm not sure how much effort it will be to do so.
I can confirm this is still an issue with PyPy 5.8.0 GA.
I filed https://bitbucket.org/pypy/pypy/issues/2637/cannot-create-a-grpc-server-with-pypy and I hope it will be fixed soon.
grpcio 1.10.0 at least compiled with PyPy. grpcio 1.11.0 and 1.12.0 don't do that even. See https://travis-ci.org/davidmarin/mrjob/jobs/385849525
I am able to install grpcio 1.1.12 both on PyPy2.7 6.0.0 GA and on PyPy3.5 6.0.0 GA.
This test case I provided in https://bitbucket.org/pypy/pypy/issues/2637/cannot-create-a-grpc-server-with-pypy:
import grpc
from concurrent import futures
server = grpc.server(futures.ThreadPoolExecutor(max_workers=1))
server.start()
runs without errors.
I do not use gRPC so I can't testify if it will work for all cases but it's a good start.
@nathanielmanistaatgoogle @mehrdada @murgatroid99 We can install PyPy 6.0.0 and run the tests with it.
Let's see what happens.
I'm not sure how to run the tests under PyPy. Help?
@thedrow Have you tried tools/run_tests/run_tests.py -l python --compiler pypy?
I'm trying now.
This is the output of the test run:
tools/run_tests/run_tests.py -l python --compiler pypy -j 8
PASSED: /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/build_python.sh [time=1169.7sec, retries=0:0]
Omitting EPOLLEXCLUSIVE tests
2018-06-08 13:05:02,631 failed to detect port server
Traceback (most recent call last):
File "/home/omer/Documents/Projects/grpc/tools/run_tests/python_utils/start_port_server.py", line 37, in start_port_server
_PORT_SERVER_PORT).read())
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/urllib.py", line 350, in open_http
h.endheaders(data)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/httplib.py", line 844, in send
self.connect()
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/home/omer/.pyenv/versions/pypy2.7-6.0.0/lib-python/2.7/socket.py", line 642, in create_connection
raise err
IOError: [Errno socket error] [Errno 111] Connection refused
2018-06-08 13:05:02,632 starting port_server, with log file /tmp/tmpuOV2FV
2018-06-08 13:05:03,732 port server is up and ready
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertConfigReuse [ret=1, pid=11864, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._channel_close_test.ChannelCloseTest [ret=1, pid=11872, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._connectivity_channel_test.ConnectivityStatesTest [ret=1, pid=11858, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._empty_message_test.EmptyMessageTest [ret=1, pid=11867, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._implementations_test.ChannelCredentialsTest [ret=1, pid=11878, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._channel_connectivity_test.ChannelConnectivityTest [ret=1, pid=11855, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._exit_test.ExitTest [ret=1, pid=11882, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._channel_ready_future_test.ChannelReadyFutureTest [ret=1, pid=11886, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocExecutionProtocStyleTest [ret=1, pid=11914, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._not_found_test.NotFoundTest [ret=1, pid=11911, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithClientAuth [ret=1, pid=11917, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._credentials_test.CredentialsTest [ret=1, pid=11926, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocStyleTest [ret=1, pid=11932, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._reconnect_test.ReconnectTest [ret=1, pid=11928, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test._sanity._sanity_test.SanityTest [ret=1, pid=11943, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython.cygrpc_test.TypeSmokeTest [ret=1, pid=11958, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeButNotAllResponsesTest [ret=1, pid=11968, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._interceptor_test.InterceptorTest [ret=1, pid=11978, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocStyleTest [ret=1, pid=11967, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.testing._time_test.StrictFakeTimeTest [ret=1, pid=11981, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._api_test.ChannelConnectivityTest [ret=1, pid=11977, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest [ret=1, pid=11996, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._no_messages_single_server_completion_queue_test.Test [ret=1, pid=11994, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExecutionProtocStyleTest [ret=1, pid=12018, time=1.0sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtoProtocStyleTest [ret=1, pid=12025, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._cancel_many_calls_test.CancelManyCallsTest [ret=1, pid=12030, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._no_messages_server_completion_queue_per_call_test.Test [ret=1, pid=12040, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.testing._server_test.FirstServiceServicerTest [ret=1, pid=12050, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._auth_test.AccessTokenAuthMetadataPluginTest [ret=1, pid=12043, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._api_test.AllTest [ret=1, pid=12032, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._api_test.ChannelTest [ret=1, pid=12061, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._metadata_code_details_test.MetadataCodeDetailsTest [ret=1, pid=12074, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.testing._time_test.StrictRealTimeTest [ret=1, pid=12079, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.reflection._reflection_servicer_test.ReflectionServicerTest [ret=1, pid=12089, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._invalid_metadata_test.InvalidMetadataTest [ret=1, pid=12101, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherParamsChecks [ret=1, pid=12092, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.interop._secure_intraop_test.SecureIntraopTest [ret=1, pid=12116, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.testing._client_test.ClientTest [ret=1, pid=12106, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.framework.foundation._logging_pool_test.LoggingPoolTest [ret=1, pid=12124, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProtoProtocStyleTest [ret=1, pid=12133, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.interop._insecure_intraop_test.InsecureIntraopTest [ret=1, pid=12144, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._invocation_defects_test.InvocationDefectsTest [ret=1, pid=12151, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._utilities_test.ChannelConnectivityTest [ret=1, pid=12138, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._server_test.Test [ret=1, pid=12158, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._channel_args_test.ChannelArgsTest [ret=1, pid=12166, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.health_check._health_servicer_test.HealthServicerTest [ret=1, pid=12179, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._implementations_test.CallCredentialsTest [ret=1, pid=12172, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrpcProtocStyleTest [ret=1, pid=12200, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._resource_exhausted_test.ResourceExhaustedTest [ret=1, pid=12197, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._rpc_test.RPCTest [ret=1, pid=12190, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._auth_context_test.AuthContextTest [ret=1, pid=12214, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._auth_test.GoogleCallCredentialsTest [ret=1, pid=12228, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpcProtocStyleTest [ret=1, pid=12207, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython.cygrpc_test.SecureServerSecureClient [ret=1, pid=12223, time=0.9sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.protoc_plugin._python_plugin_test.PythonPluginTest [ret=1, pid=12237, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython._channel_test.ChannelTest [ret=1, pid=12248, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithoutClientAuth [ret=1, pid=12253, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._metadata_test.MetadataTest [ret=1, pid=12258, time=0.8sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._beta_features_test.BetaFeaturesTest [ret=1, pid=12266, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._cython.cygrpc_test.InsecureServerInsecureClient [ret=1, pid=12265, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit._compression_test.CompressionTest [ret=1, pid=12284, time=0.7sec]
++ dirname /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy/bin/python
+ PYTHON=/home/omer/Documents/Projects/grpc/pypy/bin/pypy
++ pwd
+ ROOT=/home/omer/Documents/Projects/grpc
+ /home/omer/Documents/Projects/grpc/pypy/bin/pypy /home/omer/Documents/Projects/grpc/src/python/grpcio_tests/setup.py ''
invalid command name ''
FAILED: pypy.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTest [ret=1, pid=12277, time=0.8sec]
FAILED: pypy.test._sanity._sanity_test.SanityTest
FAILED: pypy.test.health_check._health_servicer_test.HealthServicerTest
FAILED: pypy.test.interop._insecure_intraop_test.InsecureIntraopTest
FAILED: pypy.test.interop._secure_intraop_test.SecureIntraopTest
FAILED: pypy.test.protoc_plugin._python_plugin_test.PythonPluginTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtoProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpcProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExecutionProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProtoProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrpcProtocStyleTest
FAILED: pypy.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocExecutionProtocStyleTest
FAILED: pypy.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest
FAILED: pypy.test.reflection._reflection_servicer_test.ReflectionServicerTest
FAILED: pypy.test.testing._client_test.ClientTest
FAILED: pypy.test.testing._server_test.FirstServiceServicerTest
FAILED: pypy.test.testing._time_test.StrictFakeTimeTest
FAILED: pypy.test.testing._time_test.StrictRealTimeTest
FAILED: pypy.test.unit._api_test.AllTest
FAILED: pypy.test.unit._api_test.ChannelConnectivityTest
FAILED: pypy.test.unit._api_test.ChannelTest
FAILED: pypy.test.unit._auth_context_test.AuthContextTest
FAILED: pypy.test.unit._auth_test.AccessTokenAuthMetadataPluginTest
FAILED: pypy.test.unit._auth_test.GoogleCallCredentialsTest
FAILED: pypy.test.unit._channel_args_test.ChannelArgsTest
FAILED: pypy.test.unit._channel_close_test.ChannelCloseTest
FAILED: pypy.test.unit._channel_connectivity_test.ChannelConnectivityTest
FAILED: pypy.test.unit._channel_ready_future_test.ChannelReadyFutureTest
FAILED: pypy.test.unit._compression_test.CompressionTest
FAILED: pypy.test.unit._credentials_test.CredentialsTest
FAILED: pypy.test.unit._cython._cancel_many_calls_test.CancelManyCallsTest
FAILED: pypy.test.unit._cython._channel_test.ChannelTest
FAILED: pypy.test.unit._cython._no_messages_server_completion_queue_per_call_test.Test
FAILED: pypy.test.unit._cython._no_messages_single_server_completion_queue_test.Test
FAILED: pypy.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeButNotAllResponsesTest
FAILED: pypy.test.unit._cython._server_test.Test
FAILED: pypy.test.unit._cython.cygrpc_test.InsecureServerInsecureClient
FAILED: pypy.test.unit._cython.cygrpc_test.SecureServerSecureClient
FAILED: pypy.test.unit._cython.cygrpc_test.TypeSmokeTest
FAILED: pypy.test.unit._empty_message_test.EmptyMessageTest
FAILED: pypy.test.unit._exit_test.ExitTest
FAILED: pypy.test.unit._interceptor_test.InterceptorTest
FAILED: pypy.test.unit._invalid_metadata_test.InvalidMetadataTest
FAILED: pypy.test.unit._invocation_defects_test.InvocationDefectsTest
FAILED: pypy.test.unit._metadata_code_details_test.MetadataCodeDetailsTest
FAILED: pypy.test.unit._metadata_test.MetadataTest
FAILED: pypy.test.unit._reconnect_test.ReconnectTest
FAILED: pypy.test.unit._resource_exhausted_test.ResourceExhaustedTest
FAILED: pypy.test.unit._rpc_test.RPCTest
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherParamsChecks
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertConfigReuse
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithClientAuth
FAILED: pypy.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithoutClientAuth
FAILED: pypy.test.unit.beta._beta_features_test.BetaFeaturesTest
FAILED: pypy.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTest
FAILED: pypy.test.unit.beta._connectivity_channel_test.ConnectivityStatesTest
FAILED: pypy.test.unit.beta._implementations_test.CallCredentialsTest
FAILED: pypy.test.unit.beta._implementations_test.ChannelCredentialsTest
FAILED: pypy.test.unit.beta._not_found_test.NotFoundTest
FAILED: pypy.test.unit.beta._utilities_test.ChannelConnectivityTest
FAILED: pypy.test.unit.framework.foundation._logging_pool_test.LoggingPoolTest
FAILED: Some tests failed
I don't know what invalid command name '' means but it seems like the tests don't run correctly.
Still an issue with grpcio==1.12.1 and pypy3-6.0. It builds fine, but trying to use google pubsub client fails with:
2018-06-26T22:23:44.343 140677719111424: root ERROR ## AuthMetadataPluginCallback "<google.auth.transport.grpc.AuthMetadataPlugin object at 0x00000000030b3670>" raised exception! _plugin_wrapping.__call__:81
Traceback (most recent call last):
File "/.../site-packages/grpc/_plugin_wrapping.py", line 77, in __call__
callback_state, callback))
File "/.../site-packages/google/auth/transport/grpc.py", line 77, in __call__
callback(self._get_authorization_headers(context), None)
File "/.../site-packages/grpc/_plugin_wrapping.py", line 59, in __call__
self._callback(metadata, cygrpc.StatusCode.ok, None)
File "src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi", line 52, in grpc._cython.cygrpc._get_metadata.callback
TypeError: expected bytes, NoneType found
@haizaar Do you have a test case I can use?
Here you are (Ubuntu 16.04, 64-bit):
mkdir /tmp/grpc-nogo; cd /tmp/grpc-nogo
/tmp/pypy3-v6.0.0-linux64/bin/pypy3 -mvenv venv
pip install google-cloud-pubsub
python -c 'from google.cloud import pubsub; s = pubsub.SubscriberClient(); s.subscribe("no-sub", lambda m: m).result()'
The last line fails with the message from my previous comment. Works just fine with CPython.
Here is my pip freeze:
cachetools==2.1.0
certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
google-api-core==1.2.1
google-auth==1.5.0
google-cloud-pubsub==0.35.4
googleapis-common-protos==1.5.3
greenlet==0.4.13
grpc-google-iam-v1==0.11.4
grpcio==1.12.1
idna==2.7
protobuf==3.6.0
pyasn1==0.4.3
pyasn1-modules==0.2.1
pytz==2018.4
readline==6.2.4.1
requests==2.19.1
rsa==3.4.2
six==1.11.0
urllib3==1.23
Hmm, I need credentials to Google Cloud in order to run this.
Can we narrow down the test case a bit?
@mehrdada I still can't find a way to run the tests. See output above.
@thedrow I'll get back to you on that in a couple days.
Hi guys,
Do you think you can fix it any soon?
On Thu, 28 Jun 2018 at 01:58, Mehrdad Afshari notifications@github.com
wrote:
@thedrow https://github.com/thedrow I'll get back to you on that in a
couple days.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/4221#issuecomment-400729197, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADjWY9blEAsDiun59zZYglul8Mo10UVks5uA6uSgaJpZM4GsBFJ
.
--
Zaar
@haizaar I doubt we will have resources to make PyPy work in the near future and this will have to be community-supported for the time being. I still haven't found time to investigate why run_tests seems to be failing to test properly.
@mehrdada What we need right now is to know which parts of CPyExt aren't working properly yet.
Running the tests would be the first step.
Hi,
I just opened a pull request that fixes the bug encountered with the Pubsub client.
As it is my first PR to this project, let me know if I did anything wrong.
I hope I will find the time in the future to try to make Pypy run the full test suite. For now I just focused on the aforementioned bug, because I needed to make PubSub work with Pypy.
@mehrdada Any luck?
gRPC team is not actively working on this. Community contributions towards supporting PyPy are welcomed.
I'm unable to run the tests on PyPy myself.
I don't mind working on this, but I need the support of the core team to do so.
I can pinpoint it to the run_python.sh.
$PYTHON "$ROOT/src/python/grpcio_tests/setup.py" "$2"
The second argument is not provided and thus is empty.
I have no idea from where run_python.sh is run.
These are the contents of one_run which are used to determine the jobspec.
Indeed no arguments are passed to run_python.sh.
{JobSpec(shortname=pypy3.test._sanity._sanity_test.SanityTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.channelz._channelz_servicer_test.ChannelzServicerTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.health_check._health_servicer_test.HealthServicerTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.interop._insecure_intraop_test.InsecureIntraopTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.interop._secure_intraop_test.SecureIntraopTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._python_plugin_test.PythonPluginTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtoProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpcProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExecutionProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProtoProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrpcProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocExecutionProtocStyleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.reflection._reflection_servicer_test.ReflectionServicerTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.testing._client_test.ClientTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.testing._server_test.FirstServiceServicerTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.testing._time_test.StrictFakeTimeTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.testing._time_test.StrictRealTimeTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._api_test.AllTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._api_test.ChannelConnectivityTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._api_test.ChannelTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._auth_context_test.AuthContextTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._auth_test.AccessTokenAuthMetadataPluginTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._auth_test.GoogleCallCredentialsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._channel_args_test.ChannelArgsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._channel_close_test.ChannelCloseTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._channel_connectivity_test.ChannelConnectivityTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._channel_ready_future_test.ChannelReadyFutureTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._compression_test.CompressionTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._credentials_test.CredentialsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._cancel_many_calls_test.CancelManyCallsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._channel_test.ChannelTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._fork_test.ForkPosixTester, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._fork_test.ForkWindowsTester, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._no_messages_server_completion_queue_per_call_test.Test, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._no_messages_single_server_completion_queue_test.Test, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeButNotAllResponsesTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython._server_test.Test, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython.cygrpc_test.InsecureServerInsecureClient, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython.cygrpc_test.SecureServerSecureClient, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._cython.cygrpc_test.TypeSmokeTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._empty_message_test.EmptyMessageTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._error_message_encoding_test.ErrorMessageEncodingTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._exit_test.ExitTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._interceptor_test.InterceptorTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._invalid_metadata_test.InvalidMetadataTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._invocation_defects_test.InvocationDefectsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._logging_test.LoggingTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._metadata_code_details_test.MetadataCodeDetailsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._metadata_flags_test.MetadataFlagsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._metadata_test.MetadataTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._reconnect_test.ReconnectTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._resource_exhausted_test.ResourceExhaustedTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._rpc_test.RPCTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherParamsChecks, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertConfigReuse, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithClientAuth, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithoutClientAuth, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._server_test.ServerTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit._session_cache_test.SSLSessionCacheTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._beta_features_test.BetaFeaturesTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._connectivity_channel_test.ConnectivityStatesTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._implementations_test.CallCredentialsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._implementations_test.ChannelCredentialsTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._not_found_test.NotFoundTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.beta._utilities_test.ChannelConnectivityTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python']),
JobSpec(shortname=pypy3.test.unit.framework.foundation._logging_pool_test.LoggingPoolTest, cmdline=['/home/omer/Documents/Projects/grpc/tools/run_tests/helper_scripts/run_python.sh', 'pypy3/bin/python'])}
Unlike PyPy when running the tests in Python 3.6 I get:
set([JobSpec(shortname=py36_native.test.unit._channel_close_test.ChannelCloseTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._invalid_metadata_test.InvalidMetadataTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._fork_test.ForkWindowsTester, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.framework.foundation._logging_pool_test.LoggingPoolTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._channel_ready_future_test.ChannelReadyFutureTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._python_plugin_test.PythonPluginTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._no_messages_single_server_completion_queue_test.Test, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExecutionProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithClientAuth, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._channel_args_test.ChannelArgsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertConfigReuse, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.interop._insecure_intraop_test.InsecureIntraopTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._api_test.ChannelTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._auth_test.GoogleCallCredentialsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.reflection._reflection_servicer_test.ReflectionServicerTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._channel_connectivity_test.ChannelConnectivityTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.channelz._channelz_servicer_test.ChannelzServicerTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._exit_test.ExitTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._metadata_flags_test.MetadataFlagsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._rpc_test.RPCTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._metadata_test.MetadataTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython.cygrpc_test.InsecureServerInsecureClient, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.testing._client_test.ClientTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProtoProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._channel_test.ChannelTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._logging_test.LoggingTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._server_test.ServerTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test._sanity._sanity_test.SanityTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._utilities_test.ChannelConnectivityTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._metadata_code_details_test.MetadataCodeDetailsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._api_test.ChannelConnectivityTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrpcProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherParamsChecks, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.testing._server_test.FirstServiceServicerTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._beta_features_test.BetaFeaturesTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpcProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._reconnect_test.ReconnectTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._invocation_defects_test.InvocationDefectsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._api_test.AllTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._fork_test.ForkPosixTester, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._auth_test.AccessTokenAuthMetadataPluginTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._no_messages_server_completion_queue_per_call_test.Test, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._not_found_test.NotFoundTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._interceptor_test.InterceptorTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._error_message_encoding_test.ErrorMessageEncodingTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._compression_test.CompressionTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._implementations_test.CallCredentialsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._server_test.Test, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.testing._time_test.StrictFakeTimeTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython.cygrpc_test.TypeSmokeTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtoProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._cancel_many_calls_test.CancelManyCallsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._auth_context_test.AuthContextTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._implementations_test.ChannelCredentialsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.testing._time_test.StrictRealTimeTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeButNotAllResponsesTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._empty_message_test.EmptyMessageTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit.beta._connectivity_channel_test.ConnectivityStatesTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.interop._secure_intraop_test.SecureIntraopTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithoutClientAuth, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._resource_exhausted_test.ResourceExhaustedTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._credentials_test.CredentialsTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._cython.cygrpc_test.SecureServerSecureClient, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocExecutionProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocStyleTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.health_check._health_servicer_test.HealthServicerTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite']),
JobSpec(shortname=py36_native.test.unit._session_cache_test.SSLSessionCacheTest, cmdline=['/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh', 'py36_native/bin/python', 'test_lite'])])
So test_lite is appended to each list in the set.
So after forcing run_python.sh to pass test_lite to setup.py I get the following output:
START: pypy3.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeButSTART: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProtWAITING: 62 queued, 8 jobs running, 0 complete, 0 failed (load 8.00) next: pypy3PASSED: pypy3.test.unit.beta._connectivity_channel_test.ConnectivityStatesTest [WAITING: ETA 377.7 sec; 60 queued, 8 jobs running, 2 complete, 0 failed (load 8.PASSED: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoGrpcBeforeProWAITING: ETA 250.1 sec; 59 queued, 8 jobs running, 3 complete, 0 failed (load 8.PASSED: pypy3.test.unit._cython._read_some_but_not_all_responses_test.ReadSomeBuWAITING: ETA 186.8 sec; 58 queued, 8 jobs running, 4 complete, 0 failed (load 8.WAITING: ETA 148.9 sec; 57 queued, 8 jobs running, 5 complete, 0 failed (load 8.PASSED: pypy3.test.unit._cython._cancel_many_calls_test.CancelManyCallsTest [timWAITING: ETA 123.4 sec; 56 queued, 8 jobs running, 6 complete, 0 failed (load 8.PASSED: pypy3.test.unit._interceptor_test.InterceptorTest [time=19.6sec, retriesWAITING: ETA 176.4 sec; 55 queued, 8 jobs running, 7 complete, 0 failed (load 8.00) next: pypy3.test.unit._cython.cygrpc_test.SecureServerSecureClient @ 1.00 cpPASSED: pypy3.test.unit._credentials_test.CredentialsTest [time=9.2sec, retries=WAITING: ETA 138.3 sec; 53 queued, 8 jobs running, 9 complete, 0 failed (load 8.PASSED: pypy3.test.unit.beta._beta_features_test.BetaFeaturesTest [time=10.0sec,WAITING: ETA 127.7 sec; 52 queued, 8 jobs running, 10 complete, 0 failed (load 8.00) next: pypy3.test.protoc_plugin._python_plugin_test.PythonPluginTest @ 1.00 PASSED: pypy3.test.unit._invocation_defects_test.InvocationDefectsTest [time=10.WAITING: ETA 114.7 sec; 51 queued, 8 jobs running, 11 complete, 0 failed (load 8PASSED: pypy3.test.interop._secure_intraop_test.SecureIntraopTest [time=10.9sec,WAITING: ETA 108.8 sec; 50 queued, 8 jobs running, 12 complete, 0 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtSTART: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocExWAITING: ETA 99.5 sec; 49 queued, 8 jobs running, 13 complete, 0 failed (load 8.00) next: pypy3.test.unit._cython.cygrpc_test.InsecureServerInsecureClient @ 1.0PASSED: pypy3.test.testing._time_test.StrictFakeTimeTest [time=15.0sec, retries=WAITING: ETA 105.8 sec; 48 queued, 8 jobs running, 14 complete, 0 failed (load 8.00) next: pypy3.test.unit._resource_exhausted_test.ResourceExhaustedTest @ 1.00PASSED: pypy3.test.unit._compression_test.CompressionTest [time=9.4sec, retries=WAITING: ETA 106.4 sec; 47 queued, 8 jobs running, 15 complete, 0 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SameProtoSingleProtoSTART: pypy3.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExeWAITING: ETA 101.6 sec; 46 queued, 8 jobs running, 16 complete, 0 failed (load 8PASSED: pypy3.test.reflection._reflection_servicer_test.ReflectionServicerTest [WAITING: ETA 94.4 sec; 45 queued, 8 jobs running, 17 complete, 0 failed (load 8.PASSED: pypy3.test.unit.beta._not_found_test.NotFoundTest [time=8.7sec, retries=WAITING: ETA 90.2 sec; 44 queued, 8 jobs running, 18 complete, 0 failed (load 8.PASSED: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoSingleProtocEWAITING: ETA 85.0 sec; 43 queued, 8 jobs running, 19 complete, 0 failed (load 8.00) next: pypy3.test.health_check._health_servicer_test.HealthServicerTest @ 1.0
++ dirname /var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /var/local/git/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy3/bin/python
+ PYTHON=/var/local/git/grpc/pypy3/bin/pypy3
++ pwd
+ ROOT=/var/local/git/grpc
+ /var/local/git/grpc/pypy3/bin/pypy3 /var/local/git/grpc/src/python/grpcio_tests/setup.py test_lite
running test_lite
Running unit._cython.cygrpc_test.SecureServerSecureClient.test_6522
Testing gRPC Python...
SUCCESS unit._cython.cygrpc_test.SecureServerSecureClient.test_6522
Running unit._cython.cygrpc_test.SecureServerSecureClient.test_echo
/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh: line 27: 6401 Aborted (core dumped) $PYTHON "$ROOT/src/python/grpcio_tests/setup.py" "${2:-test_lite}"
FAILED: pypy3.test.unit._cython.cygrpc_test.SecureServerSecureClient [ret=134, pid=6391, time=12.1sec]
WAITING: ETA 81.2 sec; 42 queued, 8 jobs running, 20 complete, 1 failed (load 8.00) next: pypy3.test.interop._insecure_intraop_test.InsecureIntraopTest @ 1.00 c
++ dirname /var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /var/local/git/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy3/bin/python
+ PYTHON=/var/local/git/grpc/pypy3/bin/pypy3
++ pwd
+ ROOT=/var/local/git/grpc
+ /var/local/git/grpc/pypy3/bin/pypy3 /var/local/git/grpc/src/python/grpcio_tests/setup.py test_lite
running test_lite
Running unit._cython.cygrpc_test.InsecureServerInsecureClient.test_6522
Testing gRPC Python...
SUCCESS unit._cython.cygrpc_test.InsecureServerInsecureClient.test_6522
Running unit._cython.cygrpc_test.InsecureServerInsecureClient.test_echo
/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh: line 27: 6574 Aborted (core dumped) $PYTHON "$ROOT/src/python/grpcio_tests/setup.py" "${2:-test_lite}"
FAILED: pypy3.test.unit._cython.cygrpc_test.InsecureServerInsecureClient [ret=134, pid=6570, time=9.2sec]
WAITING: ETA 83.2 sec; 41 queued, 8 jobs running, 21 complete, 2 failed (load 8.00) next: pypy3.test.unit.framework.foundation._logging_pool_test.LoggingPoolTesPASSED: pypy3.test.protoc_plugin._split_definitions_test.SameProtoSingleProtocExWAITING: ETA 83.6 sec; 40 queued, 8 jobs running, 22 complete, 2 failed (load 8.WAITING: ETA 80.2 sec; 39 queued, 8 jobs running, 23 complete, 2 failed (load 8.00) next: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWiPASSED: pypy3.test.unit._invalid_metadata_test.InvalidMetadataTest [time=9.4sec,START: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithCWAITING: ETA 77.9 sec; 38 queued, 8 jobs running, 24 complete, 2 failed (load 8.PASSED: pypy3.test.health_check._health_servicer_test.HealthServicerTest [time=9WAITING: ETA 75.8 sec; 37 queued, 8 jobs running, 25 complete, 2 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtoPASSED: pypy3.test.unit._empty_message_test.EmptyMessageTest [time=10.8sec, retrSTART: pypy3.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocStWAITING: ETA 71.8 sec; 36 queued, 8 jobs running, 26 complete, 2 failed (load 8.00) next: pypy3.test.unit.beta._beta_features_test.ContextManagementAndLifecyclePASSED: pypy3.test.interop._insecure_intraop_test.InsecureIntraopTest [time=10.2START: pypy3.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTesWAITING: ETA 73.0 sec; 35 queued, 8 jobs running, 27 complete, 2 failed (load 8.PASSED: pypy3.test.unit.framework.foundation._logging_pool_test.LoggingPoolTest WAITING: ETA 71.1 sec; 34 queued, 8 jobs running, 28 complete, 2 failed (load 8.WAITING: ETA 67.1 sec; 33 queued, 8 jobs running, 29 complete, 2 failed (load 8.00) next: pypy3.test.unit.beta._utilities_test.ChannelConnectivityTest @ 1.00 cpPASSED: pypy3.test.unit._resource_exhausted_test.ResourceExhaustedTest [time=20.WAITING: ETA 65.8 sec; 32 queued, 8 jobs running, 30 complete, 2 failed (load 8.00) next: pypy3.test.unit._metadata_code_details_test.MetadataCodeDetailsTest @ PASSED: pypy3.test.protoc_plugin._split_definitions_test.SameProtoMid2016ProtocSWAITING: ETA 63.7 sec; 31 queued, 8 jobs running, 31 complete, 2 failed (load 8.00) next: pypy3.test.unit._cython._no_messages_single_server_completion_queue_tePASSED: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithSTART: pypy3.test.unit._cython._no_messages_single_server_completion_queue_test.WAITING: ETA 60.5 sec; 30 queued, 8 jobs running, 32 complete, 2 failed (load 8.PASSED: pypy3.test.protoc_plugin._python_plugin_test.PythonPluginTest [time=32.5WAITING: ETA 60.4 sec; 29 queued, 8 jobs running, 33 complete, 2 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforePrPASSED: pypy3.test.unit._api_test.ChannelConnectivityTest [time=9.2sec, retries=START: pypy3.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtoWAITING: ETA 60.0 sec; 28 queued, 8 jobs running, 34 complete, 2 failed (load 8.PASSED: pypy3.test.unit._cython._fork_test.ForkPosixTester [time=9.3sec, retriesWAITING: ETA 56.7 sec; 27 queued, 8 jobs running, 35 complete, 2 failed (load 8.PASSED: pypy3.test.unit.beta._utilities_test.ChannelConnectivityTest [time=9.6seWAITING: ETA 55.7 sec; 26 queued, 8 jobs running, 36 complete, 2 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforePASSED: pypy3.test.unit.beta._beta_features_test.ContextManagementAndLifecycleTeSTART: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrpWAITING: ETA 55.4 sec; 25 queued, 8 jobs running, 37 complete, 2 failed (load 8.PASSED: pypy3.test.unit._session_cache_test.SSLSessionCacheTest [time=9.8sec, reWAITING: ETA 53.7 sec; 24 queued, 8 jobs running, 38 complete, 2 failed (load 8.PASSED: pypy3.test.protoc_plugin._split_definitions_test.SameProtoGrpcBeforeProtWAITING: ETA 52.1 sec; 23 queued, 8 jobs running, 39 complete, 2 failed (load 8.00) next: pypy3.test.unit._error_message_encoding_test.ErrorMessageEncodingTest PASSED: pypy3.test.testing._server_test.FirstServiceServicerTest [time=10.7sec, WAITING: ETA 50.6 sec; 22 queued, 8 jobs running, 40 complete, 2 failed (load 8.00) next: pypy3.test.unit._auth_test.AccessTokenAuthMetadataPluginTest @ 1.00 cpPASSED: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoProtoBeforeGrWAITING: ETA 50.1 sec; 21 queued, 8 jobs running, 41 complete, 2 failed (load 8.PASSED: pypy3.test.unit._metadata_code_details_test.MetadataCodeDetailsTest [timWAITING: ETA 47.8 sec; 20 queued, 8 jobs running, 42 complete, 2 failed (load 8.PASSED: pypy3.test.unit._channel_args_test.ChannelArgsTest [time=8.7sec, retriesWAITING: ETA 45.5 sec; 19 queued, 8 jobs running, 43 complete, 2 failed (load 8.00) next: pypy3.test.unit._channel_connectivity_test.ChannelConnectivityTest @ 1
++ dirname /var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /var/local/git/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy3/bin/python
+ PYTHON=/var/local/git/grpc/pypy3/bin/pypy3
++ pwd
+ ROOT=/var/local/git/grpc
+ /var/local/git/grpc/pypy3/bin/pypy3 /var/local/git/grpc/src/python/grpcio_tests/setup.py test_lite
running test_lite
Running unit._cython.cygrpc_test.TypeSmokeTest.testChannelUpDown
Testing gRPC Python...
SUCCESS unit._cython.cygrpc_test.TypeSmokeTest.testChannelUpDown
Running unit._cython.cygrpc_test.TypeSmokeTest.testCompletionQueueUpDown
SUCCESS unit._cython.cygrpc_test.TypeSmokeTest.testCompletionQueueUpDown
Running unit._cython.cygrpc_test.TypeSmokeTest.testServerStartNoExplicitShutdown
/var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh: line 27: 8323 Aborted (core dumped) $PYTHON "$ROOT/src/python/grpcio_tests/setup.py" "${2:-test_lite}"
FAILED: pypy3.test.unit._cython.cygrpc_test.TypeSmokeTest [ret=134, pid=8316, time=8.8sec]
WAITING: ETA 43.9 sec; 18 queued, 8 jobs running, 44 complete, 3 failed (load 8.00) next: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWiPASSED: pypy3.test.unit._error_message_encoding_test.ErrorMessageEncodingTest [tSTART: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithoWAITING: ETA 42.2 sec; 17 queued, 8 jobs running, 45 complete, 3 failed (load 8.PASSED: pypy3.test.testing._time_test.StrictRealTimeTest [time=17.8sec, retries=WAITING: ETA 40.0 sec; 16 queued, 8 jobs running, 46 complete, 3 failed (load 8.00) next: pypy3.test.unit._cython._no_messages_server_completion_queue_per_call_PASSED: pypy3.test.unit._auth_test.AccessTokenAuthMetadataPluginTest [time=8.2seSTART: pypy3.test.unit._cython._no_messages_server_completion_queue_per_call_tesWAITING: ETA 38.7 sec; 15 queued, 8 jobs running, 47 complete, 3 failed (load 8.PASSED: pypy3.test.unit._auth_test.GoogleCallCredentialsTest [time=8.3sec, retriWAITING: ETA 36.6 sec; 14 queued, 8 jobs running, 48 complete, 3 failed (load 8.00) next: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetchePASSED: pypy3.test.unit._metadata_flags_test.MetadataFlagsTest [time=13.6sec, reSTART: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherPaWAITING: ETA 36.9 sec; 13 queued, 8 jobs running, 49 complete, 3 failed (load 8.00) next: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCePASSED: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestWithSTART: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertCWAITING: ETA 34.4 sec; 12 queued, 8 jobs running, 50 complete, 3 failed (load 8.PASSED: pypy3.test.unit._cython._fork_test.ForkWindowsTester [time=8.0sec, retriWAITING: ETA 32.7 sec; 11 queued, 8 jobs running, 51 complete, 3 failed (load 8.PASSED: pypy3.test.unit._channel_connectivity_test.ChannelConnectivityTest [timeWAITING: ETA 31.6 sec; 10 queued, 8 jobs running, 52 complete, 3 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtPASSED: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertConfigFetcherPSTART: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocSWAITING: ETA 29.9 sec; 9 queued, 8 jobs running, 53 complete, 3 failed (load 8.0PASSED: pypy3.test.unit._server_ssl_cert_config_test.ServerSSLCertReloadTestCertWAITING: ETA 28.0 sec; 8 queued, 8 jobs running, 54 complete, 3 failed (load 8.0PASSED: pypy3.test.unit._auth_context_test.AuthContextTest [time=9.1sec, retriesWAITING: ETA 27.4 sec; 7 queued, 8 jobs running, 55 complete, 3 failed (load 8.00) next: pypy3.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrPASSED: pypy3.test.unit._reconnect_test.ReconnectTest [time=12.9sec, retries=0:0START: pypy3.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpcWAITING: ETA 25.2 sec; 6 queued, 8 jobs running, 56 complete, 3 failed (load 8.00) next: pypy3.test.channelz._channelz_servicer_test.ChannelzServicerTest @ 1.00PASSED: pypy3.test.protoc_plugin._split_definitions_test.SplitProtoMid2016ProtocWAITING: ETA 23.0 sec; 5 queued, 8 jobs running, 57 complete, 3 failed (load 8.0WAITING: ETA 21.6 sec; 4 queued, 8 jobs running, 58 complete, 3 failed (load 8.00) next: pypy3.test.unit.beta._implementations_test.CallCredentialsTest @ 1.00 cPASSED: pypy3.test.protoc_plugin._split_definitions_test.SameProtoProtoBeforeGrpWAITING: ETA 20.3 sec; 3 queued, 8 jobs running, 59 complete, 3 failed (load 8.00) next: pypy3.test.unit._channel_ready_future_test.ChannelReadyFutureTest @ 1.0WAITING: ETA 18.6 sec; 2 queued, 8 jobs running, 60 complete, 3 failed (load 8.00) next: pypy3.test.unit.beta._implementations_test.ChannelCredentialsTest @ 1.0PASSED: pypy3.test.unit._channel_close_test.ChannelCloseTest [time=19.4sec, retrWAITING: ETA 16.8 sec; 1 queued, 8 jobs running, 61 complete, 3 failed (load 8.00) next: pypy3.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest @ 1.0PASSED: pypy3.test.unit.beta._implementations_test.CallCredentialsTest [time=7.1WAITING: ETA 14.9 sec; 0 queued, 8 jobs running, 62 complete, 3 failed (load 8.0WAITING: ETA 12.9 sec; 0 queued, 7 jobs running, 63 complete, 3 failed (load 7.0PASSED: pypy3.test.unit.beta._implementations_test.ChannelCredentialsTest [time=WAITING: ETA 11.5 sec; 0 queued, 6 jobs running, 64 complete, 3 failed (load 6.0
++ dirname /var/local/git/grpc/tools/run_tests/helper_scripts/run_python.sh
+ cd /var/local/git/grpc/tools/run_tests/helper_scripts/../../..
++ realpath pypy3/bin/python
+ PYTHON=/var/local/git/grpc/pypy3/bin/pypy3
++ pwd
+ ROOT=/var/local/git/grpc
+ /var/local/git/grpc/pypy3/bin/pypy3 /var/local/git/grpc/src/python/grpcio_tests/setup.py test_lite
running test_lite
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_failed_request
Testing gRPC Python...
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_failed_request
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_get_one_server
FAILURE channelz._channelz_servicer_test.ChannelzServicerTest.test_get_one_server
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_get_top_channels_basic
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_get_top_channels_basic
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_get_top_channels_high_start_id
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_get_top_channels_high_start_id
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_channel
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_channel
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_server
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_server
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_server_sockets
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_server_sockets
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_socket
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_socket
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_subchannel
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_invalid_query_get_subchannel
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_many_channel
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_many_channel
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_many_requests
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_many_requests
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_many_requests_many_channel
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_many_requests_many_channel
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_many_subchannels
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_many_subchannels
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_many_subchannels_and_sockets
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_many_subchannels_and_sockets
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_server_basic
FAILURE channelz._channelz_servicer_test.ChannelzServicerTest.test_server_basic
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_server_call
FAILURE channelz._channelz_servicer_test.ChannelzServicerTest.test_server_call
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_server_listen_sockets
FAILURE channelz._channelz_servicer_test.ChannelzServicerTest.test_server_listen_sockets
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_server_sockets
FAILURE channelz._channelz_servicer_test.ChannelzServicerTest.test_server_sockets
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_streaming_rpc
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_streaming_rpc
Running channelz._channelz_servicer_test.ChannelzServicerTest.test_successful_request
SUCCESS channelz._channelz_servicer_test.ChannelzServicerTest.test_successful_request
20 tests finished:
15 successful
5 unsuccessful
0 skipped
0 expected failures
0 unexpected successes
Interrupted Tests:
[]
Errors/Failures:
channelz._channelz_servicer_test.ChannelzServicerTest.test_get_one_server
traceback:
Traceback (most recent call last):
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 601, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py", line 287, in test_get_one_server
self.assertEqual(len(gss_resp.server), 1)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 814, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 2 != 1
stdout:
stderr:
D1210 11:49:34.192941720 13147 dns_resolver.cc:279] Start resolving.
I1210 11:49:34.193411826 13072 subchannel.cc:841] New connected subchannel at 0x7f4d74004810 for subchannel 0x7f4d74000d40
channelz._channelz_servicer_test.ChannelzServicerTest.test_server_basic
traceback:
Traceback (most recent call last):
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 601, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py", line 281, in test_server_basic
self.assertEqual(len(resp.server), 1)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 814, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 22 != 1
stdout:
stderr:
D1210 11:49:41.203092223 14268 dns_resolver.cc:279] Start resolving.
I1210 11:49:41.204889589 14268 subchannel.cc:841] New connected subchannel at 0x7f4d7cb6a880 for subchannel 0x7f4d74009f60
channelz._channelz_servicer_test.ChannelzServicerTest.test_server_call
traceback:
Traceback (most recent call last):
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 601, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py", line 305, in test_server_call
self.assertEqual(len(resp.server), 1)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 814, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 23 != 1
stdout:
stderr:
D1210 11:49:41.835434498 14390 dns_resolver.cc:279] Start resolving.
I1210 11:49:41.836388460 14390 subchannel.cc:841] New connected subchannel at 0x7f4d7cba5950 for subchannel 0x7f4d70002810
D1210 11:49:42.244098718 14390 dns_resolver.cc:279] Start resolving.
I1210 11:49:42.247093986 14390 subchannel.cc:841] New connected subchannel at 0x7f4d7cbe4b20 for subchannel 0x7f4d70006670
channelz._channelz_servicer_test.ChannelzServicerTest.test_server_listen_sockets
traceback:
Traceback (most recent call last):
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 601, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py", line 411, in test_server_listen_sockets
self.assertEqual(len(gss_resp.server), 1)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 814, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 24 != 1
stdout:
stderr:
D1210 11:49:43.005728771 14614 dns_resolver.cc:279] Start resolving.
I1210 11:49:43.006163842 14614 subchannel.cc:841] New connected subchannel at 0x7f4d7ce576e0 for subchannel 0x7f4d700049f0
channelz._channelz_servicer_test.ChannelzServicerTest.test_server_sockets
traceback:
Traceback (most recent call last):
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 59, in testPartExecutor
yield
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 601, in run
testMethod()
File "/var/local/git/grpc/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py", line 395, in test_server_sockets
self.assertEqual(len(gs_resp.server), 1)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 821, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/pypy3.5-6.0.0-linux_x86_64-portable/lib-python/3/unittest/case.py", line 814, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 25 != 1
stdout:
stderr:
D1210 11:49:44.106419199 14775 dns_resolver.cc:279] Start resolving.
I1210 11:49:44.107262351 13073 subchannel.cc:841] New connected subchannel at 0x7f4d70003270 for subchannel 0x7f4d70002a90
D1210 11:49:44.168486966 14775 dns_resolver.cc:279] Start resolving.
I1210 11:49:44.169179891 14775 subchannel.cc:841] New connected subchannel at 0x7f4d7d55b670 for subchannel 0x7f4d70009310
Unexpected successes: []
Test failure
FAILED: pypy3.test.channelz._channelz_servicer_test.ChannelzServicerTest [ret=1, pid=11851, time=21.7sec]
WAITING: ETA 9.4 sec; 0 queued, 5 jobs running, 65 complete, 4 failed (load 5.00PASSED: pypy3.test.unit._channel_ready_future_test.ChannelReadyFutureTest [time=WAITING: ETA 7.5 sec; 0 queued, 4 jobs running, 66 complete, 4 failed (load 4.00PASSED: pypy3.test.unit._cython._channel_test.ChannelTest [time=47.2sec, retriesWAITING: ETA 5.5 sec; 0 queued, 3 jobs running, 67 complete, 4 failed (load 3.00PASSED: pypy3.test.unit._cython._no_messages_single_server_completion_queue_testWAITING: ETA 3.7 sec; 0 queued, 2 jobs running, 68 complete, 4 failed (load 2.00WAITING: ETA 4.0 sec; 0 queued, 2 jobs running, 68 complete, 4 failed (load 2.00PASSED: pypy3.test.unit._cython._no_messages_server_completion_queue_per_call_teWAITING: ETA 2.0 sec; 0 queued, 1 jobs running, 69 complete, 4 failed (load 1.00PASSED: pypy3.test.protoc_plugin.beta_python_plugin_test.PythonPluginTest [time=FAILED: pypy3.test.channelz._channelz_servicer_test.ChannelzServicerTest
FAILED: pypy3.test.unit._cython.cygrpc_test.InsecureServerInsecureClient
FAILED: pypy3.test.unit._cython.cygrpc_test.SecureServerSecureClient
FAILED: pypy3.test.unit._cython.cygrpc_test.TypeSmokeTest
FAILED: Some tests failed
The tests finally run. The following tests segfaults:
Unfortunately there is no stack trace.
I still can't figure out how the test suite is supposed to work.
Locally some of the tests fail because of #16900.
It's extremely hard to work like this.
Ok I'm getting somewhere using the Docker build feature.
pypy -m unittest cygrpc_test.py
..RPython traceback:
File "pypy_interpreter_1.c", line 12030, in Arguments__match_signature
File "pypy_objspace_std.c", line 7156, in makespecialisedtuple
*** Invalid usage of a dying CPython object ***
cpyext, the emulation layer, detected that while it is calling
an object's tp_dealloc, the C code calls back a function that
tries to recreate the PyPy version of the object. Usually it
means that tp_dealloc calls some general PyXxx() API. It is
a dangerous and potentially buggy thing to do: even in CPython
the PyXxx() function could, in theory, cause a reference to the
object to be taken and stored somewhere, for an amount of time
exceeding tp_dealloc itself. Afterwards, the object will be
freed, making that reference point to garbage.
>>> PyPy could contain some workaround to still work if
you are lucky, but it is not done so far; better fix the bug in
the CPython extension.
Aborted (core dumped)
The root source of that crash is in https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi#L99.
The server_shutdown_tag hold a reference to self which should survive in PyPy because of the increased reference to server_shutdown_tag.
Since we're already in __dealloc__, the parallel PyPy object holding the equivalent PyObject* is already released.
We're thinking about a fix.
@thedrow Thanks for working on this! The last error in particular is worrisome, but also quite believable. It looks like it's taken quite a bit of work to get the tests building this far. Could you provide instructions for reproducing this test run with PyPy and/or a pointer to your branch with the necessary changes to get the tests with PyPy running?
Edit: I see you just found the cause of the crash - that's a troublesome bit of code that is slated to go away soon, see https://github.com/grpc/grpc/pull/17444. Although it looks like this will help resolve the TODO left on the PR about deciding what may be safe (apparently, very little) to invoke in the cython __dealloc__ method.
I'll create a PR with some working environments soon.
It shouldn't be merged since the build system is somehow broken when you run the tests with PyPy.
Sounds good, thanks! Would also be interested in hearing the result of patching #17444 into your local build and seeing if that particular PyPy error is resolved
Yes. #17444 indeed resolves that crash and that test suite passes.
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions!
Still hope to see it fixed one day.
On Thu, 5 Sep. 2019, 03:44 stale[bot], notifications@github.com wrote:
This issue/PR has been automatically marked as stale because it has not
had any update (including commits, comments, labels, milestones, etc) for
180 days. It will be closed automatically if no further update occurs in 1
day. Thank you for your contributions!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/4221?email_source=notifications&email_token=AAAOGWKAKWCV2P2BBUQP76LQH7XWPA5CNFSM4BVQCFE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD54MJEQ#issuecomment-528008338,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAOGWPNCA5KXVHOH5MCRP3QH7XWPANCNFSM4BVQCFEQ
.
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 180 days. It will be closed automatically if no further update occurs in 1 day. Thank you for your contributions!
HPy is now in progress.
Maybe we can try to use it to support PyPy?
This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions!
This feature is valuable and might need helpers.
Looks like for PyPy3 (i.e their 3.6.9 version) grpcio==1.26.0 builds from PyPi, but after that it starts to fail:
src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘int __Pyx_async_gen_init_hooks(__pyx_PyAsyncGenObject*)’:
src/python/grpcio/grpc/_cython/cygrpc.cpp:120531:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘async_gen_finalizer’
finalizer = tstate->async_gen_finalizer;
^~~~~~~~~~~~~~~~~~~
src/python/grpcio/grpc/_cython/cygrpc.cpp:120536:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘async_gen_firstiter’
firstiter = tstate->async_gen_firstiter;
^~~~~~~~~~~~~~~~~~~
I'll see if I can get the Pypy 3.7 alpha running and see if that changes anything. I've been using grpcio 1.9.1 on Pypy2 for quite some time successfully. I wish I could take on the work but my c++ skills aren't good enough
FYI for anyone following along, I just tried installing grpcio==1.33.1 using the new pypy 3.7 build, and got the same error that @bivald saw for pypy 3.6.9:
src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘int __Pyx_async_gen_init_hooks(__pyx_PyAsyncGenObject*)’:
src/python/grpcio/grpc/_cython/cygrpc.cpp:146036:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘async_gen_finalizer’
finalizer = tstate->async_gen_finalizer;
^~~~~~~~~~~~~~~~~~~
src/python/grpcio/grpc/_cython/cygrpc.cpp:146041:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘async_gen_firstiter’
firstiter = tstate->async_gen_firstiter;
^~~~~~~~~~~~~~~~~~~
I was, however, successfully able to install grpcio==1.9.1 using pypy 3.7. It's possible there is an even newer compatible grpcio version, but 1.9.1 is enough for my purposes.
@gkaemmer I've brute-forced it, and the "newest" version that works for PyPy3 (at least 3.6) is grpcio==1.26.0
Also tested with the "current" latest PyPy (3.7) with grpcio==1.26.0 and it works:
Dockerfile:
FROM pypy:3.7-7.3
RUN pip install grpcio==1.26.0
$ docker build -t pypy-grpc-test .
Sending build context to Docker daemon 5.12kB
Step 1/2 : FROM pypy:3.7-7.3
---> 0f2352e346b5
Step 2/2 : RUN pip install grpcio==1.26.0
---> Running in 8623d87af950
Collecting grpcio==1.26.0
Downloading grpcio-1.26.0.tar.gz (15.4 MB)
Collecting six>=1.5.2
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: grpcio
Building wheel for grpcio (setup.py): started
Building wheel for grpcio (setup.py): still running...
Building wheel for grpcio (setup.py): still running...
Building wheel for grpcio (setup.py): still running...
Building wheel for grpcio (setup.py): finished with status 'done'
Created wheel for grpcio: filename=grpcio-1.26.0-pp37-pypy37_pp73-linux_x86_64.whl size=2202705 sha256=6ff0e0129725f48fe88a19e079ce9e9844456fa7df3334ec1983e777a1a37a8e
Stored in directory: /root/.cache/pip/wheels/d2/9c/6d/3d58ff44c53a071f8eb672edc75321c6227519bed6a775914e
Successfully built grpcio
Installing collected packages: six, grpcio
Successfully installed grpcio-1.26.0 six-1.15.0
Removing intermediate container 8623d87af950
---> e08f75f9a2cd
Successfully built e08f75f9a2cd
Successfully tagged pypy-grpc-test:latest
Is there any open issue to support PyPy in the latest grpcio version?
Most helpful comment
Still hope to see it fixed one day.
On Thu, 5 Sep. 2019, 03:44 stale[bot], notifications@github.com wrote: