Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17945

Improve error reporting of Python CI tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      While working on some changes, I noticed that the error reporting of the Python tests is sometimes not very detailed.

      Example:

      >       self._j_elasticsearch = gateway.jvm.Elasticsearch()
      E       TypeError: 'JavaPackage' object is not callable
      

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dian.fu Dian Fu
            rmetzger Robert Metzger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment