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 2020/05/26 14:23:00 UTC
[jira] [Updated] (FLINK-17945) Improve error reporting of Python CI
tests
[ https://issues.apache.org/jira/browse/FLINK-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-17945:
-----------------------------------
Description:
While working on some changes, I noticed that the error reporting of the Python tests is sometimes not very detailed.
Example:
{code}
> self._j_elasticsearch = gateway.jvm.Elasticsearch()
E TypeError: 'JavaPackage' object is not callable
{code}
https://dev.azure.com/rmetzger/Flink/_build/results?buildId=8081&view=logs&j=584fa981-f71a-5840-1c49-f800c954fe4b&t=532bf1f8-8c75-59c3-eaad-8c773769bc3a
The probably root cause is that required JAR files are missing. It would be nice if the tests would show the underlying (java)Flink error / Flink logs.
> Improve error reporting of Python CI tests
> ------------------------------------------
>
> Key: FLINK-17945
> URL: https://issues.apache.org/jira/browse/FLINK-17945
> Project: Flink
> Issue Type: Improvement
> Components: API / Python, Tests
> Reporter: Robert Metzger
> Priority: Major
>
> While working on some changes, I noticed that the error reporting of the Python tests is sometimes not very detailed.
> Example:
> {code}
> > self._j_elasticsearch = gateway.jvm.Elasticsearch()
> E TypeError: 'JavaPackage' object is not callable
> {code}
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=8081&view=logs&j=584fa981-f71a-5840-1c49-f800c954fe4b&t=532bf1f8-8c75-59c3-eaad-8c773769bc3a
> The probably root cause is that required JAR files are missing. It would be nice if the tests would show the underlying (java)Flink error / Flink logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)