[jira] [Commented] (BEAM-9405) Python PostCommit is flaky: 'PortableRunner' object has no attribute 'create_job_service'

2020-03-02 Thread Kamil Wasilewski (Jira)


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

Kamil Wasilewski commented on BEAM-9405:


Thanks. I'll mark a fix version as 2.20, it'd be good to have this fix on 
release branch.

> Python PostCommit is flaky: 'PortableRunner' object has no attribute 
> 'create_job_service'
> -
>
> Key: BEAM-9405
> URL: https://issues.apache.org/jira/browse/BEAM-9405
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-core, test-failures
>Reporter: Kamil Wasilewski
>Assignee: Chad Dombrova
>Priority: Major
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> See: [https://builds.apache.org/job/beam_PostCommit_Python2/]
> It seems that it is caused by [this 
> |https://github.com/apache/beam/commit/1856d8533c879ab236d0593be1f9c7fff41edd7f]commit.
> An example log:
> {code:java}
> :sdks:python:test-suites:portable:py2:crossLanguagePortableWordCount FAILED
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
> Please upgrade your Python as Python 2.7 is no longer maintained. A future 
> version of pip will drop support for Python 2.7. More details about Python 2 
> support in pip, can be found at 
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
> apache_beam/__init__.py:82: UserWarning: You are using Apache Beam with 
> Python 2. New releases of Apache Beam will soon support Python 3 only.
>   'You are using Apache Beam with Python 2. '
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
> details.
> ERROR StatusLogger Log4j2 could not find a logging implementation. Please add 
> log4j-core to the classpath. Using SimpleLogger to log to the console...
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 137, in 
> main()
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 128, in main
> p.runner.create_job_service(pipeline_options)
> AttributeError: 'PortableRunner' object has no attribute 'create_job_service'
> {code}



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


[jira] [Commented] (BEAM-9405) Python PostCommit is flaky: 'PortableRunner' object has no attribute 'create_job_service'

2020-02-28 Thread Chad Dombrova (Jira)


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

Chad Dombrova commented on BEAM-9405:
-

PR is up: [https://github.com/apache/beam/pull/11001]

> Python PostCommit is flaky: 'PortableRunner' object has no attribute 
> 'create_job_service'
> -
>
> Key: BEAM-9405
> URL: https://issues.apache.org/jira/browse/BEAM-9405
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-core, test-failures
>Reporter: Kamil Wasilewski
>Assignee: Chad Dombrova
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> See: [https://builds.apache.org/job/beam_PostCommit_Python2/]
> It seems that it is caused by [this 
> |https://github.com/apache/beam/commit/1856d8533c879ab236d0593be1f9c7fff41edd7f]commit.
> An example log:
> {code:java}
> :sdks:python:test-suites:portable:py2:crossLanguagePortableWordCount FAILED
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
> Please upgrade your Python as Python 2.7 is no longer maintained. A future 
> version of pip will drop support for Python 2.7. More details about Python 2 
> support in pip, can be found at 
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
> apache_beam/__init__.py:82: UserWarning: You are using Apache Beam with 
> Python 2. New releases of Apache Beam will soon support Python 3 only.
>   'You are using Apache Beam with Python 2. '
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
> details.
> ERROR StatusLogger Log4j2 could not find a logging implementation. Please add 
> log4j-core to the classpath. Using SimpleLogger to log to the console...
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 137, in 
> main()
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 128, in main
> p.runner.create_job_service(pipeline_options)
> AttributeError: 'PortableRunner' object has no attribute 'create_job_service'
> {code}



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


[jira] [Commented] (BEAM-9405) Python PostCommit is flaky: 'PortableRunner' object has no attribute 'create_job_service'

2020-02-28 Thread Chad Dombrova (Jira)


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

Chad Dombrova commented on BEAM-9405:
-

I will have a look at this first thing in the morning.

On Fri, Feb 28, 2020 at 6:13 AM Kamil Wasilewski (Jira) 



> Python PostCommit is flaky: 'PortableRunner' object has no attribute 
> 'create_job_service'
> -
>
> Key: BEAM-9405
> URL: https://issues.apache.org/jira/browse/BEAM-9405
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-core, test-failures
>Reporter: Kamil Wasilewski
>Assignee: Chad Dombrova
>Priority: Major
>
> See: [https://builds.apache.org/job/beam_PostCommit_Python2/]
> It seems that it is caused by [this 
> |https://github.com/apache/beam/commit/1856d8533c879ab236d0593be1f9c7fff41edd7f]commit.
> An example log:
> {code:java}
> :sdks:python:test-suites:portable:py2:crossLanguagePortableWordCount FAILED
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. 
> Please upgrade your Python as Python 2.7 is no longer maintained. A future 
> version of pip will drop support for Python 2.7. More details about Python 2 
> support in pip, can be found at 
> https://pip.pypa.io/en/latest/development/release-process/#python-2-support
> apache_beam/__init__.py:82: UserWarning: You are using Apache Beam with 
> Python 2. New releases of Apache Beam will soon support Python 3 only.
>   'You are using Apache Beam with Python 2. '
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
> details.
> ERROR StatusLogger Log4j2 could not find a logging implementation. Please add 
> log4j-core to the classpath. Using SimpleLogger to log to the console...
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 137, in 
> main()
>   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/sdks/python/apache_beam/examples/wordcount_xlang.py",
>  line 128, in main
> p.runner.create_job_service(pipeline_options)
> AttributeError: 'PortableRunner' object has no attribute 'create_job_service'
> {code}



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