Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBB2F173B4 for ; Mon, 10 Nov 2014 09:33:10 +0000 (UTC) Received: (qmail 81720 invoked by uid 500); 10 Nov 2014 09:33:07 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 81695 invoked by uid 500); 10 Nov 2014 09:33:07 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 81680 invoked by uid 99); 10 Nov 2014 09:33:07 -0000 Received: from crius.apache.org (HELO crius) (140.211.11.14) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 09:33:07 +0000 Received: from crius.apache.org (localhost [127.0.0.1]) by crius (Postfix) with ESMTP id 0F906E001A9; Mon, 10 Nov 2014 09:33:05 +0000 (UTC) Date: Mon, 10 Nov 2014 09:33:03 +0000 (UTC) From: Apache Jenkins Server To: commits@cayenne.apache.org, s.kolbachev@gmail.com, aadamchik@apache.org Message-ID: <373275673.3446.1415611983615.JavaMail.jenkins@crius> In-Reply-To: <1746930337.3423.1415609364865.JavaMail.jenkins@crius> References: <1746930337.3423.1415609364865.JavaMail.jenkins@crius> Subject: =?UTF-8?Q?Build_failed_in_Jenkins:_cayenne-mast?= =?UTF-8?Q?er_=C2=BB_derby,JDK_1.7_(latest),Ubuntu_#78?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Jenkins-Job: derby,JDK 1.7 (latest),Ubuntu X-Jenkins-Result: FAILURE See ------------------------------------------ [...truncated 46354 lines...] [main] INFO org.apache.cayenne.configuration.server.DataDomainProvider - setting DataNode 'lifecycle-db' as default, used by all unlinked DataMaps Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec Results : Tests run: 31, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ cayenne-lifecycle --- [INFO] Building jar: [INFO] [INFO] >>> maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-lifecycle >>> [INFO] [INFO] <<< maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-lifecycle <<< [INFO] [INFO] --- maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-lifecycle --- [INFO] org already added, skipping [INFO] org/apache already added, skipping [INFO] org/apache/cayenne already added, skipping [INFO] org/apache/cayenne/lifecycle already added, skipping [INFO] org/apache/cayenne/lifecycle/sort already added, skipping [INFO] org/apache/cayenne/lifecycle/cache already added, skipping [INFO] org/apache/cayenne/lifecycle/audit already added, skipping [INFO] org/apache/cayenne/lifecycle/changeset already added, skipping [INFO] org/apache/cayenne/lifecycle/relationship already added, skipping [INFO] org/apache/cayenne/lifecycle/id already added, skipping [INFO] Building jar: [INFO] org already added, skipping [INFO] org/apache already added, skipping [INFO] org/apache/cayenne already added, skipping [INFO] org/apache/cayenne/lifecycle already added, skipping [INFO] org/apache/cayenne/lifecycle/sort already added, skipping [INFO] org/apache/cayenne/lifecycle/cache already added, skipping [INFO] org/apache/cayenne/lifecycle/audit already added, skipping [INFO] org/apache/cayenne/lifecycle/changeset already added, skipping [INFO] org/apache/cayenne/lifecycle/relationship already added, skipping [INFO] org/apache/cayenne/lifecycle/id already added, skipping [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cayenne-lifecycle --- [INFO] Installing to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/4.0.M2-SNAPSHOT/cayenne-lifecycle-4.0.M2-SNAPSHOT.jar [INFO] Installing to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/4.0.M2-SNAPSHOT/cayenne-lifecycle-4.0.M2-SNAPSHOT.pom [INFO] Installing to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/4.0.M2-SNAPSHOT/cayenne-lifecycle-4.0.M2-SNAPSHOT-sources.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Cayenne Maven Plugins 4.0.M2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cayenne-plugins-parent --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ cayenne-plugins-parent --- [INFO] [INFO] >>> maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-plugins-parent >>> [INFO] [INFO] <<< maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-plugins-parent <<< [INFO] [INFO] --- maven-source-plugin:2.1.2:jar (bundle-source-jar) @ cayenne-plugins-parent --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ cayenne-plugins-parent --- [INFO] Installing to /home/jenkins/.m2/repository/org/apache/cayenne/plugins/cayenne-plugins-parent/4.0.M2-SNAPSHOT/cayenne-plugins-parent-4.0.M2-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Cayenne Maven Plugin 4.0.M2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ maven-cayenne-plugin --- [INFO] [INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ maven-cayenne-plugin --- [WARNING] File encoding has not been set, using platform encoding ISO-8859-1, i.e. build is platform dependent! [INFO] Starting audit... :79: Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. :151: Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description. :227:11: warning: Catching 'Exception' is not allowed. :171:11: warning: Catching 'Exception' is not allowed. :226:19: warning: Catching 'Exception' is not allowed. Audit done. [WARNING] checkstyle:check violations detected but failOnViolation set to false [INFO] [INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin >>> [INFO] [INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-plugin --- [INFO] [INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin <<< [INFO] [INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin --- [INFO] PMD Warning: org.apache.cayenne.tools.CayenneGeneratorMojo:226 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Warning: org.apache.cayenne.tools.DbGeneratorMojo:171 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Warning: org.apache.cayenne.tools.DbGeneratorMojo:177 Rule:UseStringBufferForStringAppends Priority:4 Prefer StringBuffer over += for concatenating strings. [INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:227 Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block. [INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:233 Rule:UseStringBufferForStringAppends Priority:4 Prefer StringBuffer over += for concatenating strings. [INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:241 Rule:DefaultPackage Priority:5 Use explicit scoping instead of the default package private level. [INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:281 Rule:NullAssignment Priority:5 Assigning an Object to null is a code smell. Consider refactoring.. [INFO] PMD Failure: org.apache.cayenne.tools.DbGeneratorMojo:181 Rule:PreserveStackTrace Priority:1 New exception is thrown in catch block, original stack trace may be lost. [INFO] PMD Failure: org.apache.cayenne.tools.DbImporterMojo:237 Rule:PreserveStackTrace Priority:1 New exception is thrown in catch block, original stack trace may be lost. [INFO] You have 2 PMD violations and 7 warnings. For more details see: [INFO] [INFO] --- maven-plugin-plugin:2.9:descriptor (default-descriptor) @ maven-cayenne-plugin --- [ERROR] Artifact Ids of the format maven-___-plugin are reserved for plugins in the Group Id org.apache.maven.plugins Please change your artifactId to the format ___-maven-plugin In the future this error will break the build. [WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, i.e. build is platform dependent! [INFO] Applying mojo extractor for language: java [INFO] Mojo extractor for language: java found 3 mojo descriptors. [INFO] Applying mojo extractor for language: bsh [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ maven-cayenne-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ maven-cayenne-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ maven-cayenne-plugin --- [INFO] Compiling 4 source files to [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ maven-cayenne-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 18 resources [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ maven-cayenne-plugin --- [INFO] Compiling 2 source files to [INFO] [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ maven-cayenne-plugin --- [INFO] Surefire report directory: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.cayenne.tools.CayenneGeneratorMojoTest [INFO] Generating superclass file: [INFO] Generating class file: [INFO] Generating superclass file: [INFO] Generating class file: [INFO] Generating superclass file: [INFO] Generating class file: Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.772 sec Running org.apache.cayenne.tools.DbImporterMojoTest [WARNING] 'meaningfulPk' property is deprecated. Use 'meaningfulPkTables' pattern instead Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.003 sec <<< FAILURE! Results : Tests in error: testImportNewDataMap(org.apache.cayenne.tools.DbImporterMojoTest) testImportAddTableAndColumn(org.apache.cayenne.tools.DbImporterMojoTest) testImportWithoutChanges(org.apache.cayenne.tools.DbImporterMojoTest) Tests run: 6, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Cayenne ........................................... SUCCESS [0.403s] [INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.015s] [INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.025s] [INFO] Common Unit Test Utilities ........................ SUCCESS [0.905s] [INFO] Cayenne Code Checkers ............................. SUCCESS [0.070s] [INFO] Cayenne Dependency Injection Container ............ SUCCESS [10.583s] [INFO] Cayenne Server .................................... SUCCESS [2:35.362s] [INFO] Cayenne ROP Client ................................ SUCCESS [32.540s] [INFO] Cayenne Project ................................... SUCCESS [6.545s] [INFO] Cayenne Tools ..................................... SUCCESS [8.536s] [INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [7.439s] [INFO] Cayenne Maven Plugins ............................. SUCCESS [0.015s] [INFO] Cayenne Maven Plugin .............................. FAILURE [8.427s] [INFO] Cayenne Cryptography Extensions ................... SKIPPED [INFO] Cayenne Integration Tests Parent .................. SKIPPED [INFO] Integration Tests - Cayenne Tools ................. SKIPPED [INFO] Cayenne Modeler Parent ............................ SKIPPED [INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED [INFO] Cayenne Modeler ................................... SKIPPED [INFO] Cayenne Modeler Generic and Windows Extensions .... SKIPPED [INFO] Cayenne Modeler Generic ........................... SKIPPED [INFO] Cayenne Modeler Mac OS X Extensions ............... SKIPPED [INFO] Cayenne Modeler Mac OS X .......................... SKIPPED [INFO] Cayenne Modeler Mac OS X - Old Apple Java ......... SKIPPED [INFO] Cayenne Modeler Windows ........................... SKIPPED [INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED [INFO] Cayenne Tutorial .................................. SKIPPED [INFO] Cayenne ROP Server Tutorial ....................... SKIPPED [INFO] Cayenne ROP Client Tutorial ....................... SKIPPED [INFO] Cayenne Tutorials ................................. SKIPPED [INFO] Cayenne Documenation Parent ....................... SKIPPED [INFO] Cayenne Documentation ............................. SKIPPED [INFO] Cayenne Docbook Documentation ..................... SKIPPED [INFO] Docbook: Cayenne Stylesheets ...................... SKIPPED [INFO] Docbook: Cayenne Guide ............................ SKIPPED [INFO] Docbook: Getting Started with Cayenne ............. SKIPPED [INFO] Docbook: Getting Started with Cayenne ROP ......... SKIPPED [INFO] Docbook: Cayenne New Features and Upgrade Guide ... SKIPPED [INFO] Cayenne Release Assembly .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:53.152s [INFO] Finished at: Mon Nov 10 09:32:25 UTC 2014 [INFO] Final Memory: 96M/463M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project maven-cayenne-plugin: There are test failures. [ERROR] [ERROR] Please refer to for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project maven-cayenne-plugin: There are test failures. Please refer to for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :maven-cayenne-plugin Build step 'Invoke top-level Maven targets' marked build as failure Recording test results