cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: cayenne-master » derby,JDK 1.7 (latest),Ubuntu #51
Date Fri, 17 Oct 2014 01:35:43 GMT
See <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/51/changes>

Changes:

[aadamchik] Pull request #18 by Alex Kolonitsky

[aadamchik] Pull request #18 by Alex Kolonitsky

------------------------------------------
[...truncated 88719 lines...]

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: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/cayenne-lifecycle/target/cayenne-lifecycle-3.2.M2-SNAPSHOT.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/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/sort already added, skipping
[INFO] org/apache/cayenne/lifecycle/id already added, skipping
[INFO] Building jar: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/cayenne-lifecycle/target/cayenne-lifecycle-3.2.M2-SNAPSHOT-sources.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/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/sort 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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/cayenne-lifecycle/target/cayenne-lifecycle-3.2.M2-SNAPSHOT.jar>
to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/3.2.M2-SNAPSHOT/cayenne-lifecycle-3.2.M2-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/cayenne-lifecycle/pom.xml>
to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/3.2.M2-SNAPSHOT/cayenne-lifecycle-3.2.M2-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/cayenne-lifecycle/target/cayenne-lifecycle-3.2.M2-SNAPSHOT-sources.jar>
to /home/jenkins/.m2/repository/org/apache/cayenne/cayenne-lifecycle/3.2.M2-SNAPSHOT/cayenne-lifecycle-3.2.M2-SNAPSHOT-sources.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Cayenne Maven Plugins 3.2.M2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ cayenne-plugins-parent ---
[INFO] Deleting <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/target>
[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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/pom.xml>
to /home/jenkins/.m2/repository/org/apache/cayenne/plugins/cayenne-plugins-parent/3.2.M2-SNAPSHOT/cayenne-plugins-parent-3.2.M2-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Cayenne Maven Plugin 3.2.M2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ maven-cayenne-plugin ---
[INFO] Deleting <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target>
[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...
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/CayenneGeneratorMojo.java>:225:19:
warning: Catching 'Exception' is not allowed.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbGeneratorMojo.java>:171:11:
warning: Catching 'Exception' is not allowed.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:79:
Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:151:
Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:227:11:
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:225 Rule:AvoidCatchingGenericException
Priority:3 Avoid catching generic exceptions such as NullPointerException, RuntimeException,
Exception in try-catch block.
[INFO] PMD Warning: org.apache.cayenne.tools.CayenneGeneratorMojo:247 Rule:AvoidInstantiatingObjectsInLoops
Priority:4 Avoid instantiating new objects inside loops.
[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 8 warnings. For more details see:<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/pmd.xml>
[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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/classes>
[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 17 resources
[INFO] Copying 8 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ maven-cayenne-plugin
---
[INFO] Compiling 2 source files to <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ maven-cayenne-plugin ---
[INFO] Surefire report directory: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.tools.CayenneGeneratorMojoTest
[INFO] Generating superclass file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_TestEntity.txt>
[INFO] Generating class file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/TestEntity.txt>
[INFO] Generating superclass file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_Embeddable.txt>
[INFO] Generating class file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/Embeddable.txt>
[INFO] Generating superclass file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_TestDomainMap.txt>
[INFO] Generating class file: <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/TestDomainMap.txt>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 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: 1.021 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.435s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.040s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.243s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [0.925s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.086s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [10.972s]
[INFO] Cayenne Server .................................... SUCCESS [10:16.278s]
[INFO] Cayenne ROP Client ................................ SUCCESS [1:36.385s]
[INFO] Cayenne Project ................................... SUCCESS [6.795s]
[INFO] Cayenne Tools ..................................... SUCCESS [9.209s]
[INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [7.609s]
[INFO] Cayenne Maven Plugins ............................. SUCCESS [0.029s]
[INFO] Cayenne Maven Plugin .............................. FAILURE [5.497s]
[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: 12:36.942s
[INFO] Finished at: Fri Oct 17 01:34:36 UTC 2014
[INFO] Final Memory: 92M/509M
[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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=JDK%201.7%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
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 <goals> -rf :maven-cayenne-plugin
Build step 'Invoke top-level Maven targets' marked build as failure

Mime
View raw message