[ 
https://issues.apache.org/jira/browse/BEAM-4784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543551#comment-16543551
 ] 

Thomas Weise commented on BEAM-4784:
------------------------------------

Error in generate_proto_files:
{code:java}
Successfully installed enum34-1.1.6 futures-3.2.0 grpcio-1.13.0 
grpcio-tools-1.13.0 protobuf-3.6.0 setuptools-40.0.0 six-1.11.0
WARNING:root:Installing grpcio-tools took 7.48 seconds.
Process 
Process-1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:
Traceback (most recent call last):
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py",
 line 258, in _bootstrap
    self.run()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py",
 line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/tweise/src/beam/sdks/python/gen_protos.py", line 135, in 
_install_grpcio_tools_and_generate_proto_files
    logging.warning('Installing grpcio-tools into %s', install_path)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py",
 line 1617, in warning
    root.warning(msg, *args, **kwargs)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py",
 line 1177, in warning
    self._log(WARNING, msg, args, **kwargs)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py",
 line 1283, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, 
func, extra)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py",
 line 1257, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py",
 line 269, in __init__
    if (args and len(args) == 1 and isinstance(args[0], collections.Mapping)
RuntimeError: maximum recursion depth exceeded
Process 
Process-1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:
Traceback (most recent call last):
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py",
 line 258, in _bootstrap
    self.run()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py",
 line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/tweise/src/beam/sdks/python/gen_protos.py", line 149, in 
_install_grpcio_tools_and_generate_proto_files
    generate_proto_files()
  File "/Users/tweise/src/beam/sdks/python/gen_protos.py", line 95, in 
generate_proto_files
    raise ValueError("Proto generation failed (see log for details).")
ValueError: Proto generation failed (see log for details).{code}

> Python SDK harness container build fails
> ----------------------------------------
>
>                 Key: BEAM-4784
>                 URL: https://issues.apache.org/jira/browse/BEAM-4784
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-harness
>            Reporter: Thomas Weise
>            Assignee: Robert Bradshaw
>            Priority: Major
>             Fix For: 2.6.0
>
>
> A new build failure has surfaced for ./gradlew -p sdks/python/container docker
> It can be reproduced even on a commit that succeeded before. Basically it 
> attempts to retrieve protobuf for several minutes before it finally fails 
> with "RuntimeError: maximum recursion depth exceeded"
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to