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 » hsql,JDK 1.6 (latest),Ubuntu #75
Date Sat, 08 Nov 2014 11:57:46 GMT
See <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/75/changes>

Changes:

[aadamchik] Squashed commit of the following:

[aadamchik] CAY-1962 | Implement CayenneTable column resize on double-click on the header
separator

[aadamchik] Squashed commit of the following:

[aadamchik] noop commit... testing notifications

[aadamchik] noop commit... testing notifications .. take 2

[s.kolbachev] Installing Maven Failsafe Plugin

[s.kolbachev] Apply JUnit4 instead of JUnit3 in cayenne-server

[aadamchik] cleanup of poms before merging pull request 15

[s.kolbachev] CAY-1964 | Fix convertAdditionalDataMaps() in CayenneGeneratorMojo.java

[s.kolbachev] Apply JUnit4 instead of JUnit3 in other modules

[s.kolbachev] Rename Integration Tests in cayenne-client (*IT.java instead of *Test.java)

[aadamchik] CAY-1964 | Fix convertAdditionalDataMaps() in CayenneGeneratorMojo.java

[aadamchik] CAY-1965 Change version from 3.2 to 4.0

[aadamchik] Java 7 API crept in

[aadamchik] CAY-1965 Change version from 3.2 to 4.0

[aadamchik] CAY-1965 Change version from 3.2 to 4.0

[aadamchik] cleanup before refactoring .. mostly generics-related

[aadamchik] cleanup: unused var passed to non-public method

[aadamchik] cleanup

[aadamchik] CAY-1967 Deprecate SQLTemplate parameter batches

[aadamchik] CAY-1966 SQLTemplate/SQLSelect positional parameter binding

[aadamchik] CAY-1966 SQLTemplate/SQLSelect positional parameter binding

[aadamchik] CAY-1966 SQLTemplate/SQLSelect positional parameter binding

[aadamchik] for cleaner output of unit tests bridging Cayenne with SLF4J

[aadamchik] CAY-1966 SQLTemplate/SQLSelect positional parameter binding

[aadamchik] CAY-1966 SQLTemplate/SQLSelect positional parameter binding

[aadamchik] javadocs errors that are failing Java 8 build

[aadamchik] javadocs errors that are failing Java 8 build

[s.kolbachev] Apply JUnit4 instead of JUnit3 in IT

[s.kolbachev] Optimize Imports in cayenne-client module

[aadamchik] adding generics spec to the new parameterized tests

[aadamchik] random tests cleanup

[s.kolbachev] Organize Assert Imports

[s.kolbachev] Refactor Multi Tier Project

------------------------------------------
[...truncated 50296 lines...]
63/63 KB   360/578 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 121.7 KB/sec)
364/578 KB              
368/578 KB   
372/578 KB   
376/578 KB   
380/578 KB   
384/578 KB   
388/578 KB   
392/578 KB   
396/578 KB   
400/578 KB   
404/578 KB   
408/578 KB   
412/578 KB   
416/578 KB   
419/578 KB   
423/578 KB   
427/578 KB   
431/578 KB   
433/578 KB   
437/578 KB   
441/578 KB   
445/578 KB   
449/578 KB   
453/578 KB   
457/578 KB   
461/578 KB   
465/578 KB   
469/578 KB   
473/578 KB   
477/578 KB   
481/578 KB   
485/578 KB   
489/578 KB   
493/578 KB   
495/578 KB   
499/578 KB   
503/578 KB   
507/578 KB   
511/578 KB   
512/578 KB   
516/578 KB   
520/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   
575/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 525.2 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=hsql,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=hsql,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=hsql,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=hsql,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.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,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.
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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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=hsql,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.822 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.481 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.398s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.039s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.278s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.091s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.136s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [11.337s]
[INFO] Cayenne Server .................................... SUCCESS [3:37.298s]
[INFO] Cayenne ROP Client ................................ SUCCESS [39.389s]
[INFO] Cayenne Project ................................... SUCCESS [7.846s]
[INFO] Cayenne Tools ..................................... SUCCESS [8.720s]
[INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [7.510s]
[INFO] Cayenne Maven Plugins ............................. SUCCESS [0.057s]
[INFO] Cayenne Maven Plugin .............................. FAILURE [16.184s]
[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:12.991s
[INFO] Finished at: Sat Nov 08 11:57:18 UTC 2014
[INFO] Final Memory: 89M/436M
[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=hsql,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=hsql,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=hsql,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