[ 
https://issues.apache.org/jira/browse/BEAM-9507?focusedWorklogId=408622&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-408622
 ]

ASF GitHub Bot logged work on BEAM-9507:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Mar/20 09:41
            Start Date: 24/Mar/20 09:41
    Worklog Time Spent: 10m 
      Work Description: kamilwu commented on pull request #11194: [BEAM-9507] 
Fix python dependency check task
URL: https://github.com/apache/beam/pull/11194#discussion_r397019242
 
 

 ##########
 File path: sdks/python/build.gradle
 ##########
 @@ -89,6 +89,7 @@ task depSnapshot {
 
 task dependencyUpdates {
   dependsOn ':dependencyUpdates'
+  dependsOn buildPython
 
 Review comment:
   I think this tasks does not install all dependencies we need. 
   
   We'd like to install all extras (there are currently five of them: docs, 
test, gcp, interactive, aws. You can see them in `setup.py`
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 408622)
    Time Spent: 0.5h  (was: 20m)

> Beam dependency check failing
> -----------------------------
>
>                 Key: BEAM-9507
>                 URL: https://issues.apache.org/jira/browse/BEAM-9507
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Michał Walenia
>            Assignee: Piotr Szuberski
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Here are the logs:
> [https://builds.apache.org/job/beam_Dependency_Check/257/console]
>  
>        from grpc_tools import protoc*13:04:25*     ImportError: No module 
> named 'grpc_tools'*13:04:25* *13:04:25*     During handling of the above 
> exception, another exception occurred:*13:04:25* *13:04:25*     Traceback 
> (most recent call last):*13:04:25*       File 
> "/usr/lib/python3.5/multiprocessing/process.py", line 249, in 
> _bootstrap*13:04:25*         self.run()*13:04:25*       File 
> "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run*13:04:25*    
>      self._target(*self._args, **self._kwargs)*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/gen_protos.py",
>  line 378, in _install_grpcio_tools_and_generate_proto_files*13:04:25*        
>  generate_proto_files(force=force)*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/gen_protos.py",
>  line 315, in generate_proto_files*13:04:25*         protoc_gen_mypy = 
> _find_protoc_gen_mypy()*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/gen_protos.py",
>  line 233, in _find_protoc_gen_mypy*13:04:25*         (fname, ', 
> '.join(search_paths)))*13:04:25*     RuntimeError: Could not find 
> protoc-gen-mypy in 
> /home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/sdks/python/bin,
>  
> /home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/sdks/python/bin,
>  /home/jenkins/tools/java/latest1.8/bin, /usr/local/sbin, /usr/local/bin, 
> /usr/sbin, /usr/bin, /sbin, /bin, /usr/games, /usr/local/games*13:04:25*     
> Traceback (most recent call last):*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/gen_protos.py",
>  line 292, in generate_proto_files*13:04:25*         from grpc_tools import 
> protoc*13:04:25*     ImportError: No module named 'grpc_tools'*13:04:25* 
> *13:04:25*     During handling of the above exception, another exception 
> occurred:*13:04:25* *13:04:25*     Traceback (most recent call 
> last):*13:04:25*       File "<string>", line 1, in <module>*13:04:25*       
> File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/setup.py",
>  line 315, in <module>*13:04:25*         'mypy': 
> generate_protos_first(mypy),*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/sdks/python/lib/python3.5/site-packages/setuptools/__init__.py",
>  line 144, in setup*13:04:25*         return 
> distutils.core.setup(**attrs)*13:04:25*       File 
> "/usr/lib/python3.5/distutils/core.py", line 148, in setup*13:04:25*         
> dist.run_commands()*13:04:25*       File 
> "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands*13:04:25*   
>       self.run_command(cmd)*13:04:25*       File 
> "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command*13:04:25*    
>      cmd_obj.run()*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/setup.py",
>  line 239, in run*13:04:25*         
> gen_protos.generate_proto_files()*13:04:25*       File 
> "/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/gen_protos.py",
>  line 310, in generate_proto_files*13:04:25*         raise ValueError("Proto 
> generation failed (see log for details).")*13:04:25*     ValueError: Proto 
> generation failed (see log for details).*13:04:25*     
> ----------------------------------------*13:04:25* ERROR: Command errored out 
> with exit status 1: python setup.py egg_info Check the logs for full command 
> output.*13:04:25* *13:04:25* >
>  *Task :sdks:python:dependencyUpdates*
>  FAILED*13:04:25* *13:04:25* FAILURE: Build failed with an 
> exception.*13:04:25* *13:04:25* * Where:*13:04:25* Build file 
> '/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/sdks/python/build.gradle'
>  line: 94*13:04:25* *13:04:25* * What went wrong:*13:04:25* Execution failed 
> for task ':sdks:python:dependencyUpdates'.*13:04:25* > Process 'command 'sh'' 
> finished with non-zero exit value 1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to