cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.apache.org>
Subject Build failed in Hudson: Cayenne-trunk » derby,JDK 1.5 (latest),Ubuntu #427
Date Sun, 20 Feb 2011 21:01:37 GMT
See <https://hudson.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/427/changes>

Changes:

[aadamchik] refreshing 3.1 docs from wiki

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

release notes

[aadamchik] comment on JDBC 3 limitations
eager loop exit when registering listeners

[aadamchik] javadocs

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

adding manual lifecycle management code for created objects to DelegatingDataSourceFactory

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

removing shutdown code from DataNode - DI should take care of it
other refactoring

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

correct implementation of thread 'dispose' method

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

make sure DataSourceFactories read properties from a DI service

[aadamchik] CAY-1542 DI container is not shutting down Cayenne-managed connection pool

preliminary refactoring - shortening the chain of objects not managed by DI that participate
in creation of DataSource. Now DataSourceFactory is bound in the DI container directly.

------------------------------------------
[...truncated 8179 lines...]
Feb 20, 2011 8:51:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:51:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:51:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:52:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:52:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:52:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:53:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:53:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:53:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:54:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:54:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:54:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:55:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:55:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Feb 20, 2011 8:55:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_TABLE2
Tests run: 17, Failures: 0, Errors: 17, Skipped: 0, Time elapsed: 340.043 sec <<<
FAILURE!
Running org.apache.cayenne.exp.ExpressionFactoryTest
Feb 20, 2011 8:56:39 PM org.apache.cayenne.log.CommonsJdbcEventLogger logQueryError
INFO: *** error.
java.sql.SQLException: Can't obtain connection. Request timed out. Total used connections:
1
	at org.apache.cayenne.conn.PoolManager.uncheckPooledConnection(PoolManager.java:423)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:353)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:346)
	at org.apache.cayenne.access.DataNode$TransactionDataSource.getConnection(DataNode.java:324)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:233)
	at org.apache.cayenne.access.DataDomainFlushAction.runQueries(DataDomainFlushAction.java:226)
	at org.apache.cayenne.access.DataDomainFlushAction.flush(DataDomainFlushAction.java:144)
	at org.apache.cayenne.access.DataDomain.onSyncFlush(DataDomain.java:798)
	at org.apache.cayenne.access.DataDomain$2.transform(DataDomain.java:765)
	at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:824)
	at org.apache.cayenne.access.DataDomain.onSyncNoFilters(DataDomain.java:762)
	at org.apache.cayenne.access.DataDomain$DataDomainSyncFilterChain.onSync(DataDomain.java:966)
	at org.apache.cayenne.access.DataDomain.onSync(DataDomain.java:733)
	at org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:811)
	at org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:750)
	at org.apache.cayenne.exp.ExpressionFactoryTest.testIn(ExpressionFactoryTest.java:319)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Feb 20, 2011 8:56:59 PM org.apache.cayenne.log.CommonsJdbcEventLogger logQueryError
INFO: *** error.
java.sql.SQLException: Can't obtain connection. Request timed out. Total used connections:
1
	at org.apache.cayenne.conn.PoolManager.uncheckPooledConnection(PoolManager.java:423)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:353)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:346)
	at org.apache.cayenne.access.DataNode$TransactionDataSource.getConnection(DataNode.java:324)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:233)
	at org.apache.cayenne.access.DataDomainFlushAction.runQueries(DataDomainFlushAction.java:226)
	at org.apache.cayenne.access.DataDomainFlushAction.flush(DataDomainFlushAction.java:144)
	at org.apache.cayenne.access.DataDomain.onSyncFlush(DataDomain.java:798)
	at org.apache.cayenne.access.DataDomain$2.transform(DataDomain.java:765)
	at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:824)
	at org.apache.cayenne.access.DataDomain.onSyncNoFilters(DataDomain.java:762)
	at org.apache.cayenne.access.DataDomain$DataDomainSyncFilterChain.onSync(DataDomain.java:966)
	at org.apache.cayenne.access.DataDomain.onSync(DataDomain.java:733)
	at org.apache.cayenne.access.DataContext.flushToParent(DataContext.java:811)
	at org.apache.cayenne.access.DataContext.commitChanges(DataContext.java:750)
	at org.apache.cayenne.exp.ExpressionFactoryTest.testMatchObject(ExpressionFactoryTest.java:286)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Feb 20, 2011 8:57:19 PM org.apache.cayenne.log.CommonsJdbcEventLogger logQueryError
INFO: *** error.
java.sql.SQLException: Can't obtain connection. Request timed out. Total used connections:
1
	at org.apache.cayenne.conn.PoolManager.uncheckPooledConnection(PoolManager.java:423)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:353)
	at org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:346)
	at org.apache.cayenne.access.DataNode$TransactionDataSource.getConnection(DataNode.java:324)
	at org.apache.cayenne.access.DataNode.performQueries(DataNode.java:233)
	at org.apache.cayenne.access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:422)
	at org.apache.cayenne.access.DataDomainQueryAction.access$000(DataDomainQueryAction.java:69)
	at org.apache.cayenne.access.DataDomainQueryAction$2.transform(DataDomainQueryAction.java:395)
	at org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:824)
	at org.apache.cayenne.access.DataDomainQueryAction.runQueryInTransaction(DataDomainQueryAction.java:392)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.runQueryInTransaction(UnitTestDomainQueryAction.java:54)
	at org.apache.cayenne.access.DataDomainQueryAction.execute(DataDomainQueryAction.java:121)
	at org.apache.cayenne.access.UnitTestDomainQueryAction.execute(UnitTestDomainQueryAction.java:48)
	at org.apache.cayenne.access.UnitTestDomain.onQueryNoFilters(UnitTestDomain.java:63)
	at org.apache.cayenne.access.DataDomain$DataDomainQueryFilterChain.onQuery(DataDomain.java:944)
	at org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:696)
	at org.apache.cayenne.util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:336)
	at org.apache.cayenne.util.ObjectContextQueryAction.executePostCache(ObjectContextQueryAction.java:104)
	at org.apache.cayenne.util.ObjectContextQueryAction.execute(ObjectContextQueryAction.java:91)
	at org.apache.cayenne.access.DataContext.onQuery(DataContext.java:983)
	at org.apache.cayenne.access.DataContext.performQuery(DataContext.java:972)
	at org.apache.cayenne.exp.ExpressionFactoryTest.testLongIn(ExpressionFactoryTest.java:336)
	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 junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
	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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Tests run: 28, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 60.013 sec <<< FAILURE!
Running org.apache.cayenne.CayenneContextMapRelationshipTest
Feb 20, 2011 8:57:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_MAP_TO_MANY_TARGET
Feb 20, 2011 8:57:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from MT_MAP_TO_MANY_TARGET
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 40.004 sec <<< FAILURE!
Running org.apache.cayenne.xml.XMLEncoderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.apache.cayenne.CayenneDataObjectRelationshipsTest
Feb 20, 2011 8:57:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:58:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:58:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:58:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:59:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:59:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 8:59:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:00:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:00:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:00:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:01:19 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:01:39 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Feb 20, 2011 9:01:59 PM org.apache.cayenne.test.jdbc.UtilityLogger log
INFO: delete from PAINTING_INFO
Build timed out. Aborting
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to <https://hudson.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to <https://hudson.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	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 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <https://hudson.apache.org/hudson/job/Cayenne-trunk/./cayenneTestConnection=derby,jdk=JDK%201.5%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/target/surefire-reports>
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 69 minutes 59 seconds
[INFO] Finished at: Sun Feb 20 21:02:01 UTC 2011
[INFO] Final Memory: 72M/398M
[INFO] ------------------------------------------------------------------------
Recording test results


Mime
View raw message