[
https://issues.apache.org/jira/browse/FLINK-15056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Metzger updated FLINK-15056:
-----------------------------------
Description:
This build failed [https://travis-ci.org/apache/flink/builds/620110967] with an
error from the python tests:
=================================== FAILURES ===================================
___________ ExecutionEnvironmentCompletenessTests.test_completeness ____________
self =
<pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests
testMethod=test_completeness>
def test_completeness(self):
> self.check_methods()
pyflink/testing/test_case_utils.py:249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class
'pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests'>
@classmethod
def check_methods(cls):
java_primary_methods = {'getClass', 'notifyAll', 'equals', 'hashCode',
'toString',
'notify', 'wait'}
java_methods =
PythonAPICompletenessTestCase.get_java_class_methods(cls.java_class())
python_methods = cls.get_python_class_methods(cls.python_class())
missing_methods = java_methods - python_methods - cls.excluded_methods() \
- java_primary_methods
if len(missing_methods) > 0:
raise Exception('Methods: %s in Java class %s have not been added in Python
class %s.'
> % (missing_methods, cls.java_class(), cls.python_class()))
E Exception: Methods: \{'executeAsync'} in Java class
org.apache.flink.api.java.ExecutionEnvironment have not been added in Python
class <class 'pyflink.dataset.execution_environment.ExecutionEnvironment'>.
{{Since no commit after this one mentioned python, I assume this is a test
instability?}}
was:
This build failed [https://travis-ci.org/apache/flink/builds/620110967] with an
error from the python tests:
{{=================================== FAILURES
=================================== ___________
ExecutionEnvironmentCompletenessTests.test_completeness ____________ self =
<pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests
testMethod=test_completeness> def test_completeness(self): >
self.check_methods() pyflink/testing/test_case_utils.py:249: _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = <class
'pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests'>
@classmethod def check_methods(cls): java_primary_methods = \{'getClass',
'notifyAll', 'equals', 'hashCode', 'toString', 'notify', 'wait'} java_methods =
PythonAPICompletenessTestCase.get_java_class_methods(cls.java_class())
python_methods = cls.get_python_class_methods(cls.python_class())
missing_methods = java_methods - python_methods - cls.excluded_methods() \ -
java_primary_methods if len(missing_methods) > 0: raise Exception('Methods: %s
in Java class %s have not been added in Python class %s.' > % (missing_methods,
cls.java_class(), cls.python_class())) E Exception: Methods: \{'executeAsync'}
in Java class org.apache.flink.api.java.ExecutionEnvironment have not been
added in Python class <class
'pyflink.dataset.execution_environment.ExecutionEnvironment'>.}}
{{Since no commit after this one mentioned python, I assume this is a test
instability?}}
> Python test: ExecutionEnvironmentCompletenessTests.test_completeness failed
> ---------------------------------------------------------------------------
>
> Key: FLINK-15056
> URL: https://issues.apache.org/jira/browse/FLINK-15056
> Project: Flink
> Issue Type: Bug
> Components: API / Python, Tests
> Reporter: Robert Metzger
> Priority: Major
> Labels: test-stability
>
> This build failed [https://travis-ci.org/apache/flink/builds/620110967] with
> an error from the python tests:
>
> =================================== FAILURES
> ===================================
> ___________ ExecutionEnvironmentCompletenessTests.test_completeness
> ____________
> self =
> <pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests
> testMethod=test_completeness>
> def test_completeness(self):
> > self.check_methods()
> pyflink/testing/test_case_utils.py:249:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> cls = <class
> 'pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests'>
> @classmethod
> def check_methods(cls):
> java_primary_methods = {'getClass', 'notifyAll', 'equals', 'hashCode',
> 'toString',
> 'notify', 'wait'}
> java_methods =
> PythonAPICompletenessTestCase.get_java_class_methods(cls.java_class())
> python_methods = cls.get_python_class_methods(cls.python_class())
> missing_methods = java_methods - python_methods - cls.excluded_methods() \
> - java_primary_methods
> if len(missing_methods) > 0:
> raise Exception('Methods: %s in Java class %s have not been added in Python
> class %s.'
> > % (missing_methods, cls.java_class(), cls.python_class()))
> E Exception: Methods: \{'executeAsync'} in Java class
> org.apache.flink.api.java.ExecutionEnvironment have not been added in Python
> class <class 'pyflink.dataset.execution_environment.ExecutionEnvironment'>.
>
> {{Since no commit after this one mentioned python, I assume this is a test
> instability?}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)