You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2019/12/05 19:31:00 UTC
[jira] [Commented] (FLINK-15056) Python test:
ExecutionEnvironmentCompletenessTests.test_completeness failed
[ https://issues.apache.org/jira/browse/FLINK-15056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989087#comment-16989087 ]
Robert Metzger commented on FLINK-15056:
----------------------------------------
Mh, something is a bit messed up around the ticket and the PR. The PR's changes do not touch anything related to executeAsync(), and the commits in the PR are not referencing FLINK-15042: https://github.com/apache/flink/pull/10404/files.
The commit still seems to have made it into master: https://github.com/apache/flink/commit/89bd90dc67cf35575ec7b8de1d1d2cdf512fffdf
> 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
> Assignee: Kostas Kloudas
> Priority: Major
> Labels: test-stability
> Fix For: 1.10.0
>
>
> This build failed [https://travis-ci.org/apache/flink/builds/620110967] with an error from the python tests:
>
> {code:java}
> =================================== 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'>.
> {code}
>
> 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)