db-torque-dev 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: torque4-test-project-derby #235
Date Mon, 27 Aug 2012 05:17:12 GMT
See <https://builds.apache.org/job/torque4-test-project-derby/235/changes>

Changes:

[tfischer] TORQUE-220 add test for no-arg constructor of PeerImpl class

------------------------------------------
[...truncated 2338 lines...]
[ERROR] Failed to execute:  drop table SUMMARIZE1
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'SUMMARIZE1' because it
does not exist.
[ERROR] Failed to execute:  drop table ABSTRACT
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'ABSTRACT' because it does
not exist.
[ERROR] Failed to execute:  
 
 
 
 ALTER TABLE course_number
 ADD CONSTRAINT course_number_FK_1
 FOREIGN KEY (course_id)
 REFERENCES course (id)
 ON UPDATE cascade
 ON DELETE cascade
[ERROR] java.sql.SQLException: Syntax error: Encountered "cascade" at line 9, column 12.
[ERROR] Failed to execute:  ALTER TABLE reference_to_included
 ADD CONSTRAINT reference_to_included_FK_1
 FOREIGN KEY (included_id)
 REFERENCES included (id)
[ERROR] java.sql.SQLException: Constraint 'REFERENCE_TO_INCLUDED_FK_1' is invalid: referenced
table INCLUDED does not exist.
[ERROR] Failed to execute:  ALTER TABLE reference_to_included
 ADD CONSTRAINT reference_to_included_FK_2
 FOREIGN KEY (included_from_included_id)
 REFERENCES included_from_included (id)
[ERROR] java.sql.SQLException: Constraint 'REFERENCE_TO_INCLUDED_FK_2' is invalid: referenced
table INCLUDED_FROM_INCLUDED does not exist.
[ERROR] Failed to execute:  ALTER TABLE ext_schema
 ADD CONSTRAINT ext_schema_FK_1
 FOREIGN KEY (ext_id)
 REFERENCES ext (ext_id)
[ERROR] java.sql.SQLException: Constraint 'EXT_SCHEMA_FK_1' is invalid: referenced table EXT
does not exist.
[ERROR] Failed to execute:  ALTER TABLE extext_schema
 ADD CONSTRAINT extext_schema_FK_1
 FOREIGN KEY (extext_id)
 REFERENCES extext (extext_id)
[ERROR] java.sql.SQLException: Constraint 'EXTEXT_SCHEMA_FK_1' is invalid: referenced table
EXTEXT does not exist.
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema.sql>
[ERROR] Failed to execute:  
 
 drop table bit_value
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'BIT_VALUE' because it
does not exist.
[ERROR] Failed to execute:  drop table blob_test
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'BLOB_TEST' because it
does not exist.
[ERROR] Failed to execute:  drop table clob_test
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'CLOB_TEST' because it
does not exist.
[ERROR] Failed to execute:  drop table bint_bchar_value
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'BINT_BCHAR_VALUE' because
it does not exist.
[ERROR] Failed to execute:  drop table DATE_TIME_TIMESTAMP
[ERROR] java.sql.SQLException: 'DROP TABLE' cannot be performed on 'DATE_TIME_TIMESTAMP' because
it does not exist.
[INFO] 120 of 255 SQL statements executed successfully
[INFO] [sql:execute {execution: execute-idtable-sql}]
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/bookstore-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/databaseMapInit-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/default-value-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/ext-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/extext-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/foreign-key-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/included-from-included-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/included-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/pk-schema-idtable-init.sql>
[ERROR] Failed to execute:  insert into ID_TABLE (id_table_id, table_name, next_id, quantity)
VALUES (143, 'VARCHAR_PK', 1000, 10)
[ERROR] java.sql.SQLException: The statement was aborted because it would have caused a duplicate
key value in a unique or primary key constraint or unique index identified by 'ID_TABLE_UQ_1'
defined on 'ID_TABLE'.
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/save-method-in-peer-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/test-schema-idtable-init.sql>
[INFO] Executing file: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema-idtable-init.sql>
[INFO] 86 of 87 SQL statements executed successfully
[INFO] [sql:execute {execution: shutdown-db-after-ddl}]
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 38 source files to <https://builds.apache.org/job/torque4-test-project-derby/ws/target/test-classes>
[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <https://builds.apache.org/job/torque4-test-project-derby/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.torque.oid.IDBrokerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.74 sec
Running org.apache.torque.DocsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.974 sec
Running org.apache.torque.util.LargeSelectTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.997 sec
Running org.apache.torque.generated.dataobject.SaveTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.5 sec
Running org.apache.torque.generated.peer.WhereClauseSubselectTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.243 sec
Running org.apache.torque.generated.peer.ImplInitialisationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.548 sec
Running org.apache.torque.DataTest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.021 sec
Running org.apache.torque.map.DatabaseMapTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.168 sec
Running org.apache.torque.datatypes.BitTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 sec
Running org.apache.torque.generated.peer.DefaultValuesFromDatabaseTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.916 sec
Running org.apache.torque.generated.dataobject.ForeignKeyGetterTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.652 sec
Running org.apache.torque.JndiConfigurationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.667 sec
Running org.apache.torque.generated.peer.DateTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.862 sec
Running org.apache.torque.generated.peer.DefaultValuesFromJavaTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.566 sec
Running org.apache.torque.adapter.AdapterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.052 sec
Running org.apache.torque.generated.peer.SelectFunctionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.008 sec
Running org.apache.torque.datatypes.BooleanIntCharTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.105 sec
Running org.apache.torque.generated.peer.FillerTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.562 sec
Running org.apache.torque.generated.peer.SelectInTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.805 sec
Running org.apache.torque.generated.dataobject.ForeignKeyAdderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.643 sec
Running org.apache.torque.om.OMByNameMethodsTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.992 sec
Running org.apache.torque.InitShutdownTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.999 sec
Running org.apache.torque.generated.peer.SaveMethodsInPeerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.598 sec
Running org.apache.torque.util.SummaryHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.841 sec
Running org.apache.torque.generated.peer.SelectTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.464 sec
Running org.apache.torque.generated.dataobject.ViewTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.908 sec
Running org.apache.torque.generated.peer.GetRelatedObjectsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.259 sec
Running org.apache.torque.util.BasePeerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.497 sec
Running org.apache.torque.sql.SkipSqlTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.368 sec
Running org.apache.torque.avalon.AvalonMapBuildersTest
[DEBUG] Starting container...
[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Setting applicationRootDir to <https://builds.apache.org/job/torque4-test-project-derby/ws/>
[DEBUG] Service Framework is starting up
[DEBUG] Using the following applicationRootDir : <https://builds.apache.org/job/torque4-test-project-derby/ws/>
[DEBUG] Using the following tempRootDir : /tmp
[DEBUG] Looking for src/test/resources/TestComponentConfig.xml in the application directory
[DEBUG] Successfully located src/test/resources/TestComponentConfig.xml
[DEBUG] Looking for src/test/resources/TestRoleConfig.xml in the application directory
[DEBUG] Successfully located src/test/resources/TestRoleConfig.xml
[DEBUG] Looking for /parameters.properties as absolute file location
[DEBUG] Looking for /parameters.properties using the class loader
[WARNING] Unable to locate /parameters.properties
[DEBUG] Loading the implementation class for TorqueComponent
[DEBUG] Instantiating the implementation class for TorqueComponent
[DEBUG] Incarnating the service TorqueComponent
[DEBUG] LogEnabled.enableLogging() for TorqueComponent
[DEBUG] Contextualizable.contextualize() for TorqueComponent
[DEBUG] Configurable.configure() for TorqueComponent
[DEBUG] configure(TorqueComponent::<no value>:@null:20:22)
[DEBUG] Config File changes to src/test/resources/TurbineResources.properties
[DEBUG] Config File is <https://builds.apache.org/job/torque4-test-project-derby/ws/src/test/resources/TurbineResources.properties>
[DEBUG] Initializable.initialize() for TorqueComponent
[DEBUG] initialize()
[DEBUG] Service Framework is up and running
[INFO] YaffiContainer ready.
[DEBUG] Disposing of container...
[INFO] Disposing all services
[DEBUG] Decommisioning the service TorqueComponent
[DEBUG] Disposable.dispose() for TorqueComponent
[DEBUG] dispose()
[DEBUG] All services are disposed
[INFO] YaffiContainer has been disposed.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.136 sec
Running org.apache.torque.generated.peer.DeleteTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.961 sec
Running org.apache.torque.generated.peer.JoinTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.759 sec

Results :

Tests run: 247, Failures: 0, Errors: 0, Skipped: 0

Aug 27, 2012 5:17:10 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel channel
java.io.StreamCorruptedException
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
	at hudson.remoting.Command.readFrom(Command.java:90)
	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
channel stopped[INFO] 
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.reflect.UndeclaredThrowableException
	at $Proxy1.fetch2(Unknown Source)
	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:122)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101)
	at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:127)
	at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:327)
	at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:285)
	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	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:592)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at hudson.maven.agent.Main.launch(Main.java:185)
	at hudson.maven.MavenBuilder.call(MavenBuilder.java:151)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:77)
	at hudson.maven.Maven2Builder.call(Maven2Builder.java:53)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:595)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
	at hudson.remoting.Channel.send(Channel.java:492)
	at hudson.remoting.Request.call(Request.java:129)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:160)
	... 32 more
Caused by: java.io.StreamCorruptedException
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
	at hudson.remoting.Command.readFrom(Command.java:90)
	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 22 seconds
[INFO] Finished at: Mon Aug 27 05:17:10 UTC 2012
[INFO] Final Memory: 49M/320M
[INFO] ------------------------------------------------------------------------
ERROR: Maven JVM terminated unexpectedly with exit code 0


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message