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 » h2,JDK 1.6 (latest),Ubuntu #97
Date Mon, 24 Nov 2014 20:43:34 GMT
See <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=JDK%201.6%20(latest),label=Ubuntu/97/changes>

Changes:

[s.kolbachev] Refactor TestMap Project

[s.kolbachev] Fix license header

[s.kolbachev] Refactor Default Project

[aadamchik] CAY-1968 SQLSelect cleanup and omissions

[aadamchik] undeprecating 'isFetchingDataRows' - at least the getter is still valid

[aadamchik] refactoring, cleanup

[aadamchik] unit test cleanup

[aadamchik] ensuring non-null cache strategy

[aadamchik] CAY-1959 Chainable API for SelectQuery

[s.kolbachev] Implement DBCleaner

[apl] [CAY-1969] Malformed EJBQL Yields NPE

[s.kolbachev] fix DBCleaner for Derby

[s.kolbachev] improve DBCleaner without filtering

[s.kolbachev] improve DBCleaner with filtering

[s.kolbachev] fix procedure names

[apl] CAY-1970 Minor Improvements to EJBQL Coverage in "Cayenne Guide"

[aadamchik] CAY-1959 Chainable API for SelectQuery

[aadamchik] CAY-1959 ObjectSelect query - a fluent API alternative to SelectQuery

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] re-categorizing Test vs IT

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] javadocs

[aadamchik] cleanup, no change

[aadamchik] CAY-1972 A property to override DataSources of multi-module projects

[aadamchik] fixing some PMD warnings

[aadamchik] CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

[aadamchik] clarifying tx UPGRADE notes

[s.kolbachev] fixing tests

[aadamchik] ensuring PEOPLE schema is consistently cleaned up via a common superclass

[aadamchik] relaxing Java 8 javadoc policies

------------------------------------------
[...truncated 63556 lines...]
366/578 KB   63/63 KB   
370/578 KB   63/63 KB   
374/578 KB   63/63 KB   
378/578 KB   63/63 KB   
382/578 KB   63/63 KB   
386/578 KB   63/63 KB   
390/578 KB   63/63 KB   
394/578 KB   63/63 KB   
398/578 KB   63/63 KB   
400/578 KB   63/63 KB   
404/578 KB   63/63 KB   
408/578 KB   63/63 KB   
409/578 KB   63/63 KB   
413/578 KB   63/63 KB   
414/578 KB   63/63 KB   
418/578 KB   63/63 KB   
422/578 KB   63/63 KB   
423/578 KB   63/63 KB   
                        
Downloaded: http://maven.objectstyle.org/nexus/content/groups/cayenne-deps/org/apache/maven/maven-aether-provider/3.2.3/maven-aether-provider-3.2.3.jar
(63 KB at 127.6 KB/sec)
427/578 KB              
431/578 KB   
435/578 KB   
439/578 KB   
443/578 KB   
447/578 KB   
451/578 KB   
455/578 KB   
459/578 KB   
463/578 KB   
467/578 KB   
471/578 KB   
475/578 KB   
479/578 KB   
482/578 KB   
485/578 KB   
489/578 KB   
493/578 KB   
497/578 KB   
501/578 KB   
505/578 KB   
509/578 KB   
510/578 KB   
513/578 KB   
517/578 KB   
521/578 KB   
525/578 KB   
529/578 KB   
533/578 KB   
537/578 KB   
541/578 KB   
545/578 KB   
549/578 KB   
553/578 KB   
557/578 KB   
561/578 KB   
565/578 KB   
569/578 KB   
573/578 KB   
577/578 KB   
578/578 KB   
             
Downloaded: http://maven.objectstyle.org/nexus/content/groups/cayenne-deps/org/apache/maven/maven-core/3.2.3/maven-core-3.2.3.jar
(578 KB at 535.9 KB/sec)
[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...
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/CayenneGeneratorMojo.java>: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:<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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 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 <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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: 1.768 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.39 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.489s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.066s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.434s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [0.952s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.152s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [11.688s]
[INFO] Cayenne Server .................................... SUCCESS [3:54.499s]
[INFO] Cayenne ROP Client ................................ SUCCESS [44.224s]
[INFO] Cayenne Project ................................... SUCCESS [7.251s]
[INFO] Cayenne Tools ..................................... SUCCESS [8.496s]
[INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [7.510s]
[INFO] Cayenne Maven Plugins ............................. SUCCESS [0.035s]
[INFO] Cayenne Maven Plugin .............................. FAILURE [19.392s]
[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: 5:37.979s
[INFO] Finished at: Mon Nov 24 20:41:30 UTC 2014
[INFO] Final Memory: 91M/446M
[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=h2,jdk=JDK%201.6%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=h2,jdk=JDK%201.6%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:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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=h2,jdk=JDK%201.6%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
Recording test results

Mime
View raw message