See <https://builds.apache.org/job/Kylin-Master-JDK-1.7/568/display/redirect?page=changes>
Changes: [liyang] KYLIN-1351 Add unit tests for JDBC source ------------------------------------------ [...truncated 2.52 MB...] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at org.apache.kylin.common.restclient.RestClient.wipeCache(RestClient.java:125) ... 4 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ... 11 more 2017-07-05 09:17:49,949 INFO [main] common.KylinConfig:109 : Destroy KylinConfig Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.599 sec - in org.apache.kylin.tool.HybridCubeCLITest Running org.apache.kylin.tool.CubeMetaIngesterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec - in org.apache.kylin.tool.CubeMetaIngesterTest Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 1 [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.8:report (post-test) @ kylin-tool --- [INFO] Skipping JaCoCo execution due to missing execution data file. [PMD] No report found for mojo report [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Kylin - Tool Assembly 2.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-tool-assembly --- [INFO] Deleting <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/target> [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ kylin-tool-assembly --- [INFO] Starting audit... Audit done. [CHECKSTYLE] Parsing file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/target/checkstyle-result.xml> [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/target/checkstyle-result.xml> of module Apache Kylin - Tool Assembly with 0 unique warnings and 0 duplicates. [CHECKSTYLE] Computing warning deltas based on reference build #567 [PMD] No report found for mojo check [INFO] [INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (pre-test) @ kylin-tool-assembly --- [INFO] surefireArgLine set to -javaagent:/home/jenkins/jenkins-slave/maven-repositories/0/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=<https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/../target/jacoco.exec,append=true> [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ kylin-tool-assembly --- [INFO] [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ kylin-tool-assembly --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ kylin-tool-assembly --- [INFO] No sources to compile [INFO] [INFO] --- maven-dependency-plugin:2.10:copy (copy-jamm) @ kylin-tool-assembly --- [INFO] Configured Artifact: com.github.jbellis:jamm:?:jar [INFO] Copying jamm-0.3.1.jar to <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/target/test-classes/jamm.jar> [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ kylin-tool-assembly --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ kylin-tool-assembly --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ kylin-tool-assembly --- [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.8:report (post-test) @ kylin-tool-assembly --- [INFO] Skipping JaCoCo execution due to missing execution data file. [PMD] No report found for mojo report [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Kylin - Integration Test 2.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-it --- [INFO] Deleting <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/target> [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ kylin-it --- [INFO] Starting audit... [ERROR] <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/src/test/java/org/apache/kylin/source/jdbc/ITJdbcSourceTableLoaderTest.java>:1: Line does not match expected header line of '/*'. [Header] [ERROR] <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/src/test/java/org/apache/kylin/source/jdbc/ITJdbcTableReaderTest.java>:1: Line does not match expected header line of '/*'. [Header] Audit done. [CHECKSTYLE] Parsing file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/target/checkstyle-result.xml> [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/target/checkstyle-result.xml> of module Apache Kylin - Integration Test with 2 unique warnings and 0 duplicates. [CHECKSTYLE] Computing warning deltas based on reference build #567 [PMD] No report found for mojo check [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Kylin - Tomcat Extension 2.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-tomcat-ext --- [INFO] Deleting <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/target> [INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (check-style) @ kylin-tomcat-ext --- [INFO] Starting audit... Audit done. [CHECKSTYLE] Parsing file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/target/checkstyle-result.xml> [CHECKSTYLE] Successfully parsed file <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/target/checkstyle-result.xml> of module Apache Kylin - Tomcat Extension with 0 unique warnings and 0 duplicates. [CHECKSTYLE] Computing warning deltas based on reference build #567 [PMD] No report found for mojo check [INFO] [INFO] --- jacoco-maven-plugin:0.7.8:prepare-agent (pre-test) @ kylin-tomcat-ext --- [INFO] surefireArgLine set to -javaagent:/home/jenkins/jenkins-slave/maven-repositories/0/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=<https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/../target/jacoco.exec,append=true> [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ kylin-tomcat-ext --- [INFO] [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ kylin-tomcat-ext --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ kylin-tomcat-ext --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/target/classes> [INFO] [INFO] --- maven-dependency-plugin:2.10:copy (copy-jamm) @ kylin-tomcat-ext --- [INFO] Configured Artifact: com.github.jbellis:jamm:?:jar [INFO] Copying jamm-0.3.1.jar to <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/target/test-classes/jamm.jar> [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ kylin-tomcat-ext --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ kylin-tomcat-ext --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ kylin-tomcat-ext --- [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.8:report (post-test) @ kylin-tomcat-ext --- [INFO] Skipping JaCoCo execution due to missing execution data file. [PMD] No report found for mojo report [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Kylin ....................................... SUCCESS [ 29.828 s] [INFO] Apache Kylin - Calcite Overrides ................... SUCCESS [ 13.992 s] [INFO] Apache Kylin - Core Common ......................... SUCCESS [ 20.259 s] [INFO] Apache Kylin - Core Metadata ....................... SUCCESS [ 33.501 s] [INFO] Apache Kylin - Core Dictionary ..................... SUCCESS [ 45.480 s] [INFO] Apache Kylin - Core Cube ........................... SUCCESS [01:34 min] [INFO] Apache Kylin - Core Job ............................ SUCCESS [ 48.816 s] [INFO] Apache Kylin - Core Storage ........................ SUCCESS [ 29.402 s] [INFO] Apache Kylin - MapReduce Engine .................... SUCCESS [ 56.554 s] [INFO] Apache Kylin - HBase Storage ....................... SUCCESS [ 47.068 s] [INFO] Apache Kylin - Spark Engine ........................ SUCCESS [ 41.338 s] [INFO] Apache Kylin - Hive Source ......................... SUCCESS [ 26.517 s] [INFO] Apache Kylin - Kafka Source ........................ SUCCESS [ 22.806 s] [INFO] Apache Kylin - Query ............................... SUCCESS [ 31.430 s] [INFO] Apache Kylin - REST Server Base .................... SUCCESS [ 48.531 s] [INFO] Apache Kylin - REST Server ......................... SUCCESS [01:27 min] [INFO] Apache Kylin - JDBC Driver ......................... SUCCESS [ 38.242 s] [INFO] Apache Kylin - Assembly ............................ SUCCESS [ 31.916 s] [INFO] Apache Kylin - Tool ................................ SUCCESS [ 36.883 s] [INFO] Apache Kylin - Tool Assembly ....................... SUCCESS [ 17.808 s] [INFO] Apache Kylin - Integration Test .................... FAILURE [ 7.759 s] [INFO] Apache Kylin - Tomcat Extension .................... SUCCESS [ 18.567 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14:45 min [INFO] Finished at: 2017-07-05T09:19:09+00:00 [INFO] Final Memory: 92M/824M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (check-style) on project kylin-it: Failed during checkstyle execution: There are 2 errors reported by Checkstyle 6.19 with dev-support/checkstyle.xml ruleset. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (check-style) on project kylin-it: Failed during checkstyle execution at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:139) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:336) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed during checkstyle execution at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:547) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 30 more Caused by: org.apache.maven.plugin.checkstyle.exec.CheckstyleExecutorException: There are 2 errors reported by Checkstyle 6.19 with dev-support/checkstyle.xml ruleset. at org.apache.maven.plugin.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle(DefaultCheckstyleExecutor.java:313) at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:538) ... 32 more [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :kylin-it [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/server/pom.xml> to org.apache.kylin/kylin-server/2.1.0-SNAPSHOT/kylin-server-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/jdbc/pom.xml> to org.apache.kylin/kylin-jdbc/2.1.0-SNAPSHOT/kylin-jdbc-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-metadata/pom.xml> to org.apache.kylin/kylin-core-metadata/2.1.0-SNAPSHOT/kylin-core-metadata-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/storage-hbase/pom.xml> to org.apache.kylin/kylin-storage-hbase/2.1.0-SNAPSHOT/kylin-storage-hbase-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/server-base/pom.xml> to org.apache.kylin/kylin-server-base/2.1.0-SNAPSHOT/kylin-server-base-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/source-hive/pom.xml> to org.apache.kylin/kylin-source-hive/2.1.0-SNAPSHOT/kylin-source-hive-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-job/pom.xml> to org.apache.kylin/kylin-core-job/2.1.0-SNAPSHOT/kylin-core-job-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/atopcalcite/pom.xml> to org.apache.kylin/atopcalcite/2.1.0-SNAPSHOT/atopcalcite-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool/pom.xml> to org.apache.kylin/kylin-tool/2.1.0-SNAPSHOT/kylin-tool-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tomcat-ext/pom.xml> to org.apache.kylin/kylin-tomcat-ext/2.1.0-SNAPSHOT/kylin-tomcat-ext-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/pom.xml> to org.apache.kylin/kylin/2.1.0-SNAPSHOT/kylin-2.1.0-SNAPSHOT.pom Compressed 67.35 KB of artifacts by 95.0% relative to #567 [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/engine-spark/pom.xml> to org.apache.kylin/kylin-engine-spark/2.1.0-SNAPSHOT/kylin-engine-spark-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-cube/pom.xml> to org.apache.kylin/kylin-core-cube/2.1.0-SNAPSHOT/kylin-core-cube-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/assembly/pom.xml> to org.apache.kylin/kylin-assembly/2.1.0-SNAPSHOT/kylin-assembly-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-common/pom.xml> to org.apache.kylin/kylin-core-common/2.1.0-SNAPSHOT/kylin-core-common-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/source-kafka/pom.xml> to org.apache.kylin/kylin-source-kafka/2.1.0-SNAPSHOT/kylin-source-kafka-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/tool-assembly/pom.xml> to org.apache.kylin/kylin-tool-assembly/2.1.0-SNAPSHOT/kylin-tool-assembly-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/query/pom.xml> to org.apache.kylin/kylin-query/2.1.0-SNAPSHOT/kylin-query-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/kylin-it/pom.xml> to org.apache.kylin/kylin-it/2.1.0-SNAPSHOT/kylin-it-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-dictionary/pom.xml> to org.apache.kylin/kylin-core-dictionary/2.1.0-SNAPSHOT/kylin-core-dictionary-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/core-storage/pom.xml> to org.apache.kylin/kylin-core-storage/2.1.0-SNAPSHOT/kylin-core-storage-2.1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Kylin-Master-JDK-1.7/ws/engine-mr/pom.xml> to org.apache.kylin/kylin-engine-mr/2.1.0-SNAPSHOT/kylin-engine-mr-2.1.0-SNAPSHOT.pom channel stopped