See 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/77/changes>

Changes:

[aadamchik] CAY-1959 Chainable API for SelectQuery

------------------------------------------
[...truncated 40047 lines...]
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

testIncrementalFaultList_Negative(org.apache.cayenne.DataContextMaxIdQualifierIT)
  Time elapsed: 0 sec  <<< ERROR!
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: 
"CONSTRAINT_551: PUBLIC.PAINTING1 FOREIGN KEY(ARTIST_ID) REFERENCES 
PUBLIC.ARTIST(ARTIST_ID) (228)"; SQL statement:
delete from ARTIST [23503-175]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
        at org.h2.message.DbException.get(DbException.java:172)
        at org.h2.message.DbException.get(DbException.java:149)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:421)
        at 
org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:438)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

testIncrementalFaultList_Higher(org.apache.cayenne.DataContextMaxIdQualifierIT) 
 Time elapsed: 0 sec  <<< ERROR!
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: 
"CONSTRAINT_551: PUBLIC.PAINTING1 FOREIGN KEY(ARTIST_ID) REFERENCES 
PUBLIC.ARTIST(ARTIST_ID) (228)"; SQL statement:
delete from ARTIST [23503-175]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
        at org.h2.message.DbException.get(DbException.java:172)
        at org.h2.message.DbException.get(DbException.java:149)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:421)
        at 
org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:438)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

testIncrementalFaultList_Lower(org.apache.cayenne.DataContextMaxIdQualifierIT)  
Time elapsed: 0 sec  <<< ERROR!
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: 
"CONSTRAINT_551: PUBLIC.PAINTING1 FOREIGN KEY(ARTIST_ID) REFERENCES 
PUBLIC.ARTIST(ARTIST_ID) (228)"; SQL statement:
delete from ARTIST [23503-175]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
        at org.h2.message.DbException.get(DbException.java:172)
        at org.h2.message.DbException.get(DbException.java:149)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:421)
        at 
org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:438)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

testDisjointByIdPrefetch_Negative(org.apache.cayenne.DataContextMaxIdQualifierIT)
  Time elapsed: 0 sec  <<< ERROR!
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: 
"CONSTRAINT_551: PUBLIC.PAINTING1 FOREIGN KEY(ARTIST_ID) REFERENCES 
PUBLIC.ARTIST(ARTIST_ID) (228)"; SQL statement:
delete from ARTIST [23503-175]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
        at org.h2.message.DbException.get(DbException.java:172)
        at org.h2.message.DbException.get(DbException.java:149)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:421)
        at 
org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:438)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

testIncrementalFaultList_Zero(org.apache.cayenne.DataContextMaxIdQualifierIT)  
Time elapsed: 0.074 sec  <<< ERROR!
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: 
"CONSTRAINT_551: PUBLIC.PAINTING1 FOREIGN KEY(ARTIST_ID) REFERENCES 
PUBLIC.ARTIST(ARTIST_ID) (228)"; SQL statement:
delete from ARTIST [23503-175]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
        at org.h2.message.DbException.get(DbException.java:172)
        at org.h2.message.DbException.get(DbException.java:149)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:421)
        at 
org.h2.constraint.ConstraintReferential.checkRowRefTable(ConstraintReferential.java:438)
        at 
org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:314)
        at org.h2.table.Table.fireConstraints(Table.java:894)
        at org.h2.table.Table.fireAfterRow(Table.java:911)
        at org.h2.command.dml.Delete.update(Delete.java:100)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:253)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
        at 
org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
        at 
org.apache.cayenne.test.jdbc.UpdateTemplate.execute(UpdateTemplate.java:78)
        at org.apache.cayenne.test.jdbc.SQLBuilder.execute(SQLBuilder.java:51)
        at org.apache.cayenne.test.jdbc.DBHelper.deleteAll(DBHelper.java:189)
        at 
org.apache.cayenne.DataContextMaxIdQualifierIT.setUpAfterInjection(DataContextMaxIdQualifierIT.java:67)

Running org.apache.cayenne.CayenneDataObjectValidationIT
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/cayenne-testmap.xml>
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/tstmap.map.xml>
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from ARTIST to PAINTING1
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/cayenne-testmap.xml>
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/tstmap.map.xml>
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from ARTIST to PAINTING1
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML configuration resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/cayenne-testmap.xml>
[main] INFO org.apache.cayenne.configuration.XMLDataChannelDescriptorLoader - 
Loading XML DataMap resource from 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/test-classes/tstmap.map.xml>
[main] INFO org.apache.cayenne.map.EntityResolver - added runtime complimentary 
DbRelationship from ARTIST to PAINTING1
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.cayenne.CayenneDataObjectValidationIT
Running org.apache.cayenne.PersistentObjectIT
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.cayenne.PersistentObjectIT

Results :

Tests in error: 
  DataContextClobIT>DICase.setUp:37->setUpAfterInjection:57 » JdbcSQL 
Referentia...
  DataContextClobIT>DICase.setUp:37->setUpAfterInjection:57 » JdbcSQL 
Referentia...
  DataContextClobIT>DICase.setUp:37->setUpAfterInjection:57 » JdbcSQL 
Referentia...
  DataContextClobIT>DICase.setUp:37->setUpAfterInjection:57 » JdbcSQL 
Referentia...
  DataContextClobIT>DICase.setUp:37->setUpAfterInjection:57 » JdbcSQL 
Referentia...
  CayenneDataObjectRelationshipsIT.testReflexiveRelationshipInsertOrder1:199 » 
CayenneRuntime
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...
  DataContextMaxIdQualifierIT>DICase.setUp:37->setUpAfterInjection:67 » JdbcSQL 
...

Tests run: 1429, Failures: 0, Errors: 13, Skipped: 0

[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:verify (integration-test) @ 
cayenne-server ---
[INFO] Failsafe report directory: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.376s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.015s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [0.867s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [1.094s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.061s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [9.263s]
[INFO] Cayenne Server .................................... FAILURE [3:25.624s]
[INFO] Cayenne ROP Client ................................ SKIPPED
[INFO] Cayenne Project ................................... SKIPPED
[INFO] Cayenne Tools ..................................... SKIPPED
[INFO] Cayenne Lifecycle Utilities ....................... SKIPPED
[INFO] Cayenne Maven Plugins ............................. SKIPPED
[INFO] Cayenne Maven Plugin .............................. SKIPPED
[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:37.978s
[INFO] Finished at: Mon Nov 10 08:48:39 UTC 2014
[INFO] Final Memory: 109M/2296M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (integration-test) 
on project cayenne-server: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/failsafe-reports>
 for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (integration-test) 
on project cayenne-server: There are test failures.

Please refer to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/failsafe-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=h2,jdk=jdk-1.8.0,label=Ubuntu/ws/cayenne-server/target/failsafe-reports>
 for the individual test results.
        at 
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
        at 
org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:194)
        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 :cayenne-server
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Reply via email to