执行integration-test失败

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

执行integration-test失败

gaofeilong198810@163.com
我在linux上对flink的flink-connector-kafka-0.10 这个module进行测试,执行mvn test 没有问题,但是执行 mvn integration-test 失败,如下:
执行命令:
cd flink-connectors/flink-connector-kafka-0.10
mvn integration-test -Dtest=Kafka010ProducerITCase
日志:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.flink:flink-connector-kafka-0.10_2.11:jar:1.10-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @ org.apache.flink:flink-connector-kafka-0.10_${scala.binary.version}:[unknown-version], /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/pom.xml, line 33, column 14
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------< org.apache.flink:flink-connector-kafka-0.10_2.11 >----------
[INFO] Building flink-connector-kafka-0.10 1.10-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- directory-maven-plugin:0.1:highest-basedir (directories) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Highest basedir set to: /home/j-gaofeilong-jk/software/flink/flink-master
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Surefire report directory: /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.26 s <<< FAILURE! - in org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
[ERROR] org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase  Time elapsed: 0.259 s  <<< ERROR!
java.io.IOException: No such file or directory

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   Kafka010ProducerITCase.org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase » IO
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.063 s
[INFO] Finished at: 2019-09-30T16:31:39+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-connector-kafka-0.10_2.11: There are test failures.
[ERROR]
[ERROR] Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-connector-kafka-0.10_2.11: There are test failures.

Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:289)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:161)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:364)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1041)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:857)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: 执行integration-test失败

gaofeilong198810@163.com
补充一下,我在windows上的idea里边执行这个命令是没有问题的,我怀疑是不是linux里边有什么依赖关系找不到?或者是需要额外指定什么参数吗?

文件 /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports/org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase.txt的内容如下:
-------------------------------------------------------------------------------
Test set: org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.273 s <<< FAILURE! - in org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase  Time elapsed: 0.272 s  <<< ERROR!
java.io.IOException: No such file or directory


文件/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports/TEST-org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase.xml 的内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase" time="0.273" tests="1" errors="1" skipped="0" failures="0">
  <properties>
    <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
    <property name="log4j.configuration" value="log4j-test.properties"/>
    <property name="file.encoding.pkg" value="sun.io"/>
    <property name="java.specification.version" value="1.8"/>
    <property name="sun.cpu.isalist" value=""/>
    <property name="forkNumber" value="01"/>
    <property name="sun.jnu.encoding" value="UTF-8"/>
    <property name="java.class.path" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/test-classes:/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/classes:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-0.9_2.11/1.10-SNAPSHOT/flink-connector-kafka-0.9_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-base_2.11/1.10-SNAPSHOT/flink-connector-kafka-base_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-java_2.11/1.10-SNAPSHOT/flink-streaming-java_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-core/1.10-SNAPSHOT/flink-core-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-annotations/1.10-SNAPSHOT/flink-annotations-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-metrics-core/1.10-SNAPSHOT/flink-metrics-core-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/com/esotericsoftware/kryo/kryo/2.24.0/kryo-2.24.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/esotericsoftware/minlog/minlog/1.2/minlog-1.2.jar:/home/j-gaofeilong-jk/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-compress/1.18/commons-compress-1.18.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-runtime_2.11/1.10-SNAPSHOT/flink-runtime_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-clients_2.11/1.10-SNAPSHOT/flink-clients_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-optimizer_2.11/1.10-SNAPSHOT/flink-optimizer_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-guava/18.0-8.0/flink-shaded-guava-18.0-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-math3/3.5/commons-math3-3.5.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/kafka/kafka-clients/0.10.2.1/kafka-clients-0.10.2.1.jar:/home/j-gaofeilong-jk/.m2/repository/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/xerial/snappy/snappy-java/1.1.4/snappy-java-1.1.4.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-java-bridge_2.11/1.10-SNAPSHOT/flink-table-api-java-bridge_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-java/1.10-SNAPSHOT/flink-table-api-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-java/1.10-SNAPSHOT/flink-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-planner_2.11/1.10-SNAPSHOT/flink-table-planner_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-common/1.10-SNAPSHOT/flink-table-common-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-scala-bridge_2.11/1.10-SNAPSHOT/flink-table-api-scala-bridge_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-scala_2.11/1.10-SNAPSHOT/flink-table-api-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-scala_2.11/1.10-SNAPSHOT/flink-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-scala_2.11/1.10-SNAPSHOT/flink-streaming-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-java_2.11/1.10-SNAPSHOT/flink-streaming-java_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-0.9_2.11/1.10-SNAPSHOT/flink-connector-kafka-0.9_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-base_2.11/1.10-SNAPSHOT/flink-connector-kafka-base_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/kafka/kafka_2.11/0.10.2.1/kafka_2.11-0.10.2.1.jar:/home/j-gaofeilong-jk/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/j-gaofeilong-jk/.m2/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/com/101tec/zkclient/0.10/zkclient-0.10.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/zookeeper/zookeeper/3.4.10/zookeeper-3.4.10.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.1.1/scala-parser-combinators_2.11-1.1.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-tests/1.10-SNAPSHOT/flink-tests-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-test-utils_2.11/1.10-SNAPSHOT/flink-test-utils_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/curator/curator-test/2.12.0/curator-test-2.12.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-runtime_2.11/1.10-SNAPSHOT/flink-runtime_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-queryable-state-client-java/1.10-SNAPSHOT/flink-queryable-state-client-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-hadoop-fs/1.10-SNAPSHOT/flink-hadoop-fs-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-netty/4.1.39.Final-8.0/flink-shaded-netty-4.1.39.Final-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-asm-7/7.1-8.0/flink-shaded-asm-7-7.1-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-jackson/2.9.8-8.0/flink-shaded-jackson-2.9.8-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/j-gaofeilong-jk/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-actor_2.11/2.5.21/akka-actor_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/config/1.3.0/config-1.3.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-java8-compat_2.11/0.7.0/scala-java8-compat_2.11-0.7.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-stream_2.11/2.5.21/akka-stream_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/ssl-config-core_2.11/0.3.7/ssl-config-core_2.11-0.3.7.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-protobuf_2.11/2.5.21/akka-protobuf_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-slf4j_2.11/2.5.21/akka-slf4j_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/org/clapper/grizzled-slf4j_2.11/1.3.2/grizzled-slf4j_2.11-1.3.2.jar:/home/j-gaofeilong-jk/.m2/repository/com/github/scopt/scopt_2.11/3.5.0/scopt_2.11-3.5.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/twitter/chill_2.11/0.7.6/chill_2.11-0.7.6.jar:/home/j-gaofeilong-jk/.m2/repository/com/twitter/chill-java/0.7.6/chill-java-0.7.6.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-metrics-jmx_2.11/1.10-SNAPSHOT/flink-metrics-jmx_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-planner_2.11/1.10-SNAPSHOT/flink-table-planner_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/slf4j/slf4j-api/1.7.15/slf4j-api-1.7.15.jar:/home/j-gaofeilong-jk/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-test-utils-junit/1.10-SNAPSHOT/flink-test-utils-junit-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/force-shading/1.10-SNAPSHOT/force-shading-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/j-gaofeilong-jk/.m2/repository/org/mockito/mockito-core/2.21.0/mockito-core-2.21.0.jar:/home/j-gaofeilong-jk/.m2/repository/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar:/home/j-gaofeilong-jk/.m2/repository/net/bytebuddy/byte-buddy-agent/1.8.15/byte-buddy-agent-1.8.15.jar:/home/j-gaofeilong-jk/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-module-junit4/2.0.2/powermock-module-junit4-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-module-junit4-common/2.0.2/powermock-module-junit4-common-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-reflect/2.0.2/powermock-reflect-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-core/2.0.2/powermock-core-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-api-mockito2/2.0.2/powermock-api-mockito2-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-api-support/2.0.2/powermock-api-support-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar:/home/j-gaofeilong-jk/.m2/repository/org/slf4j/slf4j-log4j12/1.7.15/slf4j-log4j12-1.7.15.jar:/home/j-gaofeilong-jk/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:"/>
    <property name="java.vm.vendor" value="Oracle Corporation"/>
    <property name="sun.arch.data.model" value="64"/>
    <property name="java.vendor.url" value="http://java.oracle.com/"/>
    <property name="user.timezone" value=""/>
    <property name="java.vm.specification.version" value="1.8"/>
    <property name="os.name" value="Linux"/>
    <property name="user.country" value="US"/>
    <property name="sun.java.launcher" value="SUN_STANDARD"/>
    <property name="sun.boot.library.path" value="/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/amd64"/>
    <property name="sun.java.command" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire/surefirebooter4427455875034356399.jar /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire 2019-09-30T16-40-49_503-jvmRun1 surefire202244440183018191tmp surefire_04505111616721145797tmp"/>
    <property name="test" value="Kafka010ProducerITCase"/>
    <property name="surefire.test.class.path" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/test-classes:/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/classes:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-0.9_2.11/1.10-SNAPSHOT/flink-connector-kafka-0.9_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-base_2.11/1.10-SNAPSHOT/flink-connector-kafka-base_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-java_2.11/1.10-SNAPSHOT/flink-streaming-java_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-core/1.10-SNAPSHOT/flink-core-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-annotations/1.10-SNAPSHOT/flink-annotations-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-metrics-core/1.10-SNAPSHOT/flink-metrics-core-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/com/esotericsoftware/kryo/kryo/2.24.0/kryo-2.24.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/esotericsoftware/minlog/minlog/1.2/minlog-1.2.jar:/home/j-gaofeilong-jk/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-compress/1.18/commons-compress-1.18.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-runtime_2.11/1.10-SNAPSHOT/flink-runtime_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-clients_2.11/1.10-SNAPSHOT/flink-clients_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-optimizer_2.11/1.10-SNAPSHOT/flink-optimizer_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-guava/18.0-8.0/flink-shaded-guava-18.0-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-math3/3.5/commons-math3-3.5.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/kafka/kafka-clients/0.10.2.1/kafka-clients-0.10.2.1.jar:/home/j-gaofeilong-jk/.m2/repository/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/xerial/snappy/snappy-java/1.1.4/snappy-java-1.1.4.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-java-bridge_2.11/1.10-SNAPSHOT/flink-table-api-java-bridge_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-java/1.10-SNAPSHOT/flink-table-api-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-java/1.10-SNAPSHOT/flink-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-planner_2.11/1.10-SNAPSHOT/flink-table-planner_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-common/1.10-SNAPSHOT/flink-table-common-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-scala-bridge_2.11/1.10-SNAPSHOT/flink-table-api-scala-bridge_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-api-scala_2.11/1.10-SNAPSHOT/flink-table-api-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-xml_2.11/1.0.5/scala-xml_2.11-1.0.5.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-scala_2.11/1.10-SNAPSHOT/flink-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-scala_2.11/1.10-SNAPSHOT/flink-streaming-scala_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-streaming-java_2.11/1.10-SNAPSHOT/flink-streaming-java_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-0.9_2.11/1.10-SNAPSHOT/flink-connector-kafka-0.9_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-connector-kafka-base_2.11/1.10-SNAPSHOT/flink-connector-kafka-base_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/kafka/kafka_2.11/0.10.2.1/kafka_2.11-0.10.2.1.jar:/home/j-gaofeilong-jk/.m2/repository/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/j-gaofeilong-jk/.m2/repository/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar:/home/j-gaofeilong-jk/.m2/repository/com/101tec/zkclient/0.10/zkclient-0.10.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/zookeeper/zookeeper/3.4.10/zookeeper-3.4.10.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.11/1.1.1/scala-parser-combinators_2.11-1.1.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-tests/1.10-SNAPSHOT/flink-tests-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-test-utils_2.11/1.10-SNAPSHOT/flink-test-utils_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/curator/curator-test/2.12.0/curator-test-2.12.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-runtime_2.11/1.10-SNAPSHOT/flink-runtime_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-queryable-state-client-java/1.10-SNAPSHOT/flink-queryable-state-client-java-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-hadoop-fs/1.10-SNAPSHOT/flink-hadoop-fs-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-netty/4.1.39.Final-8.0/flink-shaded-netty-4.1.39.Final-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-asm-7/7.1-8.0/flink-shaded-asm-7-7.1-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-shaded-jackson/2.9.8-8.0/flink-shaded-jackson-2.9.8-8.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/j-gaofeilong-jk/.m2/repository/commons-cli/commons-cli/1.3.1/commons-cli-1.3.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-actor_2.11/2.5.21/akka-actor_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/config/1.3.0/config-1.3.0.jar:/home/j-gaofeilong-jk/.m2/repository/org/scala-lang/modules/scala-java8-compat_2.11/0.7.0/scala-java8-compat_2.11-0.7.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-stream_2.11/2.5.21/akka-stream_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/ssl-config-core_2.11/0.3.7/ssl-config-core_2.11-0.3.7.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-protobuf_2.11/2.5.21/akka-protobuf_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/com/typesafe/akka/akka-slf4j_2.11/2.5.21/akka-slf4j_2.11-2.5.21.jar:/home/j-gaofeilong-jk/.m2/repository/org/clapper/grizzled-slf4j_2.11/1.3.2/grizzled-slf4j_2.11-1.3.2.jar:/home/j-gaofeilong-jk/.m2/repository/com/github/scopt/scopt_2.11/3.5.0/scopt_2.11-3.5.0.jar:/home/j-gaofeilong-jk/.m2/repository/com/twitter/chill_2.11/0.7.6/chill_2.11-0.7.6.jar:/home/j-gaofeilong-jk/.m2/repository/com/twitter/chill-java/0.7.6/chill-java-0.7.6.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-metrics-jmx_2.11/1.10-SNAPSHOT/flink-metrics-jmx_2.11-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-table-planner_2.11/1.10-SNAPSHOT/flink-table-planner_2.11-1.10-SNAPSHOT-tests.jar:/home/j-gaofeilong-jk/.m2/repository/org/slf4j/slf4j-api/1.7.15/slf4j-api-1.7.15.jar:/home/j-gaofeilong-jk/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/flink-test-utils-junit/1.10-SNAPSHOT/flink-test-utils-junit-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/org/apache/flink/force-shading/1.10-SNAPSHOT/force-shading-1.10-SNAPSHOT.jar:/home/j-gaofeilong-jk/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/j-gaofeilong-jk/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/j-gaofeilong-jk/.m2/repository/org/mockito/mockito-core/2.21.0/mockito-core-2.21.0.jar:/home/j-gaofeilong-jk/.m2/repository/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar:/home/j-gaofeilong-jk/.m2/repository/net/bytebuddy/byte-buddy-agent/1.8.15/byte-buddy-agent-1.8.15.jar:/home/j-gaofeilong-jk/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-module-junit4/2.0.2/powermock-module-junit4-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-module-junit4-common/2.0.2/powermock-module-junit4-common-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-reflect/2.0.2/powermock-reflect-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-core/2.0.2/powermock-core-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-api-mockito2/2.0.2/powermock-api-mockito2-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/powermock/powermock-api-support/2.0.2/powermock-api-support-2.0.2.jar:/home/j-gaofeilong-jk/.m2/repository/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar:/home/j-gaofeilong-jk/.m2/repository/org/slf4j/slf4j-log4j12/1.7.15/slf4j-log4j12-1.7.15.jar:/home/j-gaofeilong-jk/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:"/>
    <property name="sun.cpu.endian" value="little"/>
    <property name="user.home" value="/home/j-gaofeilong-jk"/>
    <property name="user.language" value="en"/>
    <property name="java.specification.vendor" value="Oracle Corporation"/>
    <property name="java.home" value="/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre"/>
    <property name="basedir" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10"/>
    <property name="file.separator" value="/"/>
    <property name="line.separator" value="&#10;"/>
    <property name="java.vm.specification.vendor" value="Oracle Corporation"/>
    <property name="java.specification.name" value="Java Platform API Specification"/>
    <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
    <property name="mvn.forkNumber" value="1"/>
    <property name="surefire.real.class.path" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire/surefirebooter4427455875034356399.jar"/>
    <property name="sun.boot.class.path" value="/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/resources.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/rt.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/sunrsasign.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/jsse.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/jce.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/charsets.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/jfr.jar:/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/classes"/>
    <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
    <property name="java.runtime.version" value="1.8.0_201-b09"/>
    <property name="user.name" value="j-gaofeilong-jk"/>
    <property name="path.separator" value=":"/>
    <property name="os.version" value="2.6.32-642.15.1.el6.x86_64"/>
    <property name="java.endorsed.dirs" value="/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/endorsed"/>
    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
    <property name="file.encoding" value="UTF-8"/>
    <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
    <property name="localRepository" value="/home/j-gaofeilong-jk/.m2/repository"/>
    <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
    <property name="java.io.tmpdir" value="/tmp"/>
    <property name="java.version" value="1.8.0_201"/>
    <property name="user.dir" value="/home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10"/>
    <property name="os.arch" value="amd64"/>
    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
    <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
    <property name="sun.os.patch.level" value="unknown"/>
    <property name="java.library.path" value="/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib"/>
    <property name="java.vm.info" value="mixed mode"/>
    <property name="java.vendor" value="Oracle Corporation"/>
    <property name="java.vm.version" value="25.201-b09"/>
    <property name="jobmanager.scheduler" value=""/>
    <property name="java.ext.dirs" value="/home/j-gaofeilong-jk/software/java/jdk1.8.0_201/jre/lib/ext:/usr/java/packages/lib/ext"/>
    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
    <property name="java.class.version" value="52.0"/>
  </properties>
  <testcase name="org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase" classname="org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase" time="0.272">
    <error message="No such file or directory" type="java.io.IOException">java.io.IOException: No such file or directory
</error>
  </testcase>
</testsuite>


[hidden email]
 
发件人: [hidden email]
发送时间: 2019-09-30 16:38
收件人: [hidden email]
主题: 执行integration-test失败
我在linux上对flink的flink-connector-kafka-0.10 这个module进行测试,执行mvn test 没有问题,但是执行 mvn integration-test 失败,如下:
执行命令:
cd flink-connectors/flink-connector-kafka-0.10
mvn integration-test -Dtest=Kafka010ProducerITCase
日志:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.flink:flink-connector-kafka-0.10_2.11:jar:1.10-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @ org.apache.flink:flink-connector-kafka-0.10_${scala.binary.version}:[unknown-version], /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/pom.xml, line 33, column 14
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------< org.apache.flink:flink-connector-kafka-0.10_2.11 >----------
[INFO] Building flink-connector-kafka-0.10 1.10-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- directory-maven-plugin:0.1:highest-basedir (directories) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Highest basedir set to: /home/j-gaofeilong-jk/software/flink/flink-master
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ flink-connector-kafka-0.10_2.11 ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ flink-connector-kafka-0.10_2.11 ---
[INFO] Surefire report directory: /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.26 s <<< FAILURE! - in org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase
[ERROR] org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase  Time elapsed: 0.259 s  <<< ERROR!
java.io.IOException: No such file or directory
 
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   Kafka010ProducerITCase.org.apache.flink.streaming.connectors.kafka.Kafka010ProducerITCase » IO
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.063 s
[INFO] Finished at: 2019-09-30T16:31:39+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-connector-kafka-0.10_2.11: There are test failures.
[ERROR]
[ERROR] Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-connector-kafka-0.10_2.11: There are test failures.
 
Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
 
Please refer to /home/j-gaofeilong-jk/software/flink/flink-master/flink-connectors/flink-connector-kafka-0.10/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:289)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:161)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:364)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1041)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:857)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 
 
[hidden email]