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,jdk1.8.0_11,Ubuntu #253
Date Tue, 13 Oct 2015 09:24:36 GMT
See <https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk1.8.0_11,label=Ubuntu/253/changes>

Changes:

[Alex.Kolonitsky] fix db relationship order for flatten many-to-many test

------------------------------------------
[...truncated 63180 lines...]
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO]   Table: .APP.A
[INFO]   Table: .APP.A_B
[INFO]   Table: .APP.B
[INFO] 
[INFO] Detected changes: No changes to import.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.access.DbLoader load
INFO: Schema loading...
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO]   Table: .APP.PARENT
[INFO] 
[INFO] Map file does not exist. Loaded db model will be saved into '<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk1.8.0_11,label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/test-classes/org/apache/cayenne/tools/dbimport/testSimpleFiltering.map.xml'>
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.access.DbLoader load
INFO: Schema loading...
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO]   Table: .APP.A
[INFO]   Table: .APP.B
[INFO]   Table: .APP.C
[INFO] 
[INFO] Detected changes: 
[INFO]     Create Table         C
[INFO] 
[INFO] Migration Complete Successfully.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.access.DbLoader load
INFO: Schema loading...
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO]   Table: .APP.A
[INFO]   Table: .APP.A_B
[INFO]   Table: .APP.B
[INFO]   Table: .APP.C
[INFO]   Table: .APP.X
[INFO]   Table: .APP.X_Y
[INFO]   Table: .APP.Y
[INFO]     Db Relationship : toOne  (A_B.A_ID, A.ID)
[INFO]     Db Relationship : toMany (A.ID, A_B.A_ID)
[INFO]     Db Relationship : toOne  (X_Y.X_ID, X.ID)
[INFO]     Db Relationship : toMany (X.ID, X_Y.X_ID)
[INFO]     Db Relationship : toOne  (X_Y.Y_ID, Y.ID)
[INFO]     Db Relationship : toMany (Y.ID, X_Y.Y_ID)
[INFO]     Db Relationship : toOne  (A_B.B_ID, B.ID)
[INFO]     Db Relationship : toMany (B.ID, A_B.B_ID)
[INFO] 
[INFO] Detected changes: 
[INFO]     Create Table         C
[INFO]     Create Table         X
[INFO]     Create Table         X_Y
[INFO]     Create Table         Y
[INFO] 
Oct 13, 2015 9:25:14 AM org.apache.cayenne.util.EntityMergeSupport addMissingRelationships
WARNING: Can't find ObjEntity for X_Y
Oct 13, 2015 9:25:14 AM org.apache.cayenne.util.EntityMergeSupport addMissingRelationships
WARNING: Db Relationship (Db Relationship : toMany (X.ID, X_Y.X_ID)) will have GUESSED Obj
Relationship reflection. 
Oct 13, 2015 9:25:14 AM org.apache.cayenne.util.EntityMergeSupport addMissingRelationships
WARNING: Can't find ObjEntity for Y
Oct 13, 2015 9:25:14 AM org.apache.cayenne.util.EntityMergeSupport addMissingRelationships
WARNING: Db Relationship (Db Relationship : toOne  (X_Y.Y_ID, Y.ID)) will have GUESSED Obj
Relationship reflection. 
[INFO] Migration Complete Successfully.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.access.DbLoader load
INFO: Schema loading...
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO]   Table: .SCHEMA_01.CHILD
[INFO]   Table: .SCHEMA_01.PARENT
[INFO] 
[INFO] Map file does not exist. Loaded db model will be saved into '<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk1.8.0_11,label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/test-classes/org/apache/cayenne/tools/dbimport/testFilteringWithSchema.map.xml'>
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.access.DbLoader load
INFO: Schema loading...
[INFO]   Table: .APP.PERSON
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource logConnect
INFO: Connecting to 'jdbc:derby:memory:DbImporterMojoTest;create=true' as 'null'
Oct 13, 2015 9:25:14 AM org.apache.cayenne.datasource.DriverDataSource getConnection
INFO: +++ Connecting: SUCCESS.
Oct 13, 2015 9:25:14 AM org.apache.cayenne.log.CommonsJdbcEventLogger log
INFO: Detected and installed adapter: org.apache.cayenne.dba.derby.DerbyAdapter
[INFO] 
[INFO] Map file does not exist. Loaded db model will be saved into '<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=derby,jdk=jdk1.8.0_11,label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/test-classes/org/apache/cayenne/tools/dbimport/testTableTypes.map.xml'>
Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.675 sec <<< FAILURE!

Results :

Failed tests: 
  testFlattensManyToManyWithRecursiveLink(org.apache.cayenne.tools.DbImporterMojoTest)

Tests run: 29, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.306s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.008s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.097s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.387s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.063s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [12.362s]
[INFO] Cayenne Server .................................... SUCCESS [1:44.450s]
[INFO] Cayenne ROP Client ................................ SUCCESS [29.445s]
[INFO] Cayenne Project ................................... SUCCESS [6.609s]
[INFO] Cayenne Tools ..................................... SUCCESS [10.818s]
[INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [9.413s]
[INFO] Cayenne Maven Plugins ............................. SUCCESS [0.320s]
[INFO] Cayenne Maven Plugin .............................. FAILURE [15.814s]
[INFO] Cayenne Cryptography Extensions ................... SKIPPED
[INFO] Cayenne Joda Extensions ........................... SKIPPED
[INFO] Cayenne DBCP2 Extension ........................... 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 Windows ........................... SKIPPED
[INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED
[INFO] Cayenne Tutorials ................................. SKIPPED
[INFO] Cayenne Tutorial .................................. SKIPPED
[INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
[INFO] Cayenne ROP Client Tutorial ....................... 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 Java8 Extensions .......................... SKIPPED
[INFO] Cayenne Release Assembly .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:13.240s
[INFO] Finished at: Tue Oct 13 09:25:15 UTC 2015
[INFO] Final Memory: 135M/678M
[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=jdk1.8.0_11,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=jdk1.8.0_11,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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	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=jdk1.8.0_11,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