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

ES5: ElasticsearchSinkITCase failing

    XMLWordPrintableJSON

    Details

      Description

      On Google Cloud VMs (Ubuntu 18.04), the surefire tests are failing with the following error:

      Running org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.972 sec <<< FAILURE! - in org.apache.flin
      k.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase
      org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase Time elapsed: 14.972 sec <<<
      ERROR!
      java.lang.IllegalStateException: No match found
      at java.util.regex.Matcher.group(Matcher.java:536)
      at org.elasticsearch.monitor.os.OsProbe.getControlGroups(OsProbe.java:213)
      at org.elasticsearch.monitor.os.OsProbe.getCgroup(OsProbe.java:402)
      at org.elasticsearch.monitor.os.OsProbe.osStats(OsProbe.java:454)
      at org.elasticsearch.monitor.os.OsService.<init>(OsService.java:45)
      at org.elasticsearch.monitor.MonitorService.<init>(MonitorService.java:45)
      at org.elasticsearch.node.Node.<init>(Node.java:345)
      at org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl$Plug
      inNode.<init>(EmbeddedElasticsearchNodeEnvironmentImpl.java:78)
      at org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl.star
      t(EmbeddedElasticsearchNodeEnvironmentImpl.java:54)
      at org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase.prepare(Elasticsear
      chSinkTestBase.java:72)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      or

      org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase Time elapsed: 3.196 s <<< FAILURE!
      java.lang.AssertionError: 0::/user.slice/user-1001.slice/session-33.scope

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rmetzger Robert Metzger
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: