See <http://hudson.opengeo.org/hudson/job/geotools-trunk/2801/changes>

Changes:

[aaime] [GEOT-2335] Allow transactions to work against an externally provided 
connection

------------------------------------------
[...truncated 8495 lines...]
        at org.h2.command.Parser.parseSelectSimple(Parser.java:1593)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1490)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1335)
        at org.h2.command.Parser.parseSelect(Parser.java:1323)
        at org.h2.command.Parser.parsePrepared(Parser.java:392)
        at org.h2.command.Parser.parse(Parser.java:288)
        at org.h2.command.Parser.parse(Parser.java:260)
        at org.h2.command.Parser.prepareCommand(Parser.java:232)
        at org.h2.engine.Session.prepareLocal(Session.java:352)
        at org.h2.engine.Session.prepareCommand(Session.java:313)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
        at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.geotools.data.h2.H2Dialect.getGeometrySRID(H2Dialect.java:279)
        at 
org.geotools.data.h2.H2DialectPrepared.getGeometrySRID(H2DialectPrepared.java:119)
        at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:279)
        at 
org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:752)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:384)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:349)
        at 
org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:334)
        at 
org.geotools.jdbc.JDBCDataStore.addVirtualTable(JDBCDataStore.java:271)
        at 
org.geotools.jdbc.JDBCVirtualTableTest.connect(JDBCVirtualTableTest.java:51)
        at org.geotools.test.OnlineTestCase.setUp(OnlineTestCase.java:241)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:121)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for riverReducedPk.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCFeatureSource buildFeatureType
WARNING: Error occured determing srid for riverReducedPk.geom
org.h2.jdbc.JdbcSQLException: Table riverReducedPk not found; SQL statement:
SELECT ST_SRID("geom") FROM "geotools"."riverReducedPk" WHERE "geom" is not 
null LIMIT 1 [42102-104]
        at org.h2.message.Message.getSQLException(Message.java:103)
        at org.h2.message.Message.getSQLException(Message.java:114)
        at org.h2.message.Message.getSQLException(Message.java:77)
        at org.h2.schema.Schema.getTableOrView(Schema.java:359)
        at org.h2.command.Parser.readTableOrView(Parser.java:4217)
        at org.h2.command.Parser.readTableFilter(Parser.java:967)
        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1496)
        at org.h2.command.Parser.parseSelectSimple(Parser.java:1593)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1490)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1335)
        at org.h2.command.Parser.parseSelect(Parser.java:1323)
        at org.h2.command.Parser.parsePrepared(Parser.java:392)
        at org.h2.command.Parser.parse(Parser.java:288)
        at org.h2.command.Parser.parse(Parser.java:260)
        at org.h2.command.Parser.prepareCommand(Parser.java:232)
        at org.h2.engine.Session.prepareLocal(Session.java:352)
        at org.h2.engine.Session.prepareCommand(Session.java:313)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
        at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.geotools.data.h2.H2Dialect.getGeometrySRID(H2Dialect.java:279)
        at 
org.geotools.data.h2.H2DialectPrepared.getGeometrySRID(H2DialectPrepared.java:119)
        at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:279)
        at 
org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:752)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:384)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:349)
        at 
org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:334)
        at 
org.geotools.jdbc.JDBCDataStore.addVirtualTable(JDBCDataStore.java:271)
        at 
org.geotools.jdbc.JDBCVirtualTableTest.connect(JDBCVirtualTableTest.java:55)
        at org.geotools.test.OnlineTestCase.setUp(OnlineTestCase.java:241)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:121)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for riverReduced.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCFeatureSource buildFeatureType
WARNING: Error occured determing srid for riverReduced.geom
org.h2.jdbc.JdbcSQLException: Table riverReduced not found; SQL statement:
SELECT ST_SRID("geom") FROM "geotools"."riverReduced" WHERE "geom" is not null 
LIMIT 1 [42102-104]
        at org.h2.message.Message.getSQLException(Message.java:103)
        at org.h2.message.Message.getSQLException(Message.java:114)
        at org.h2.message.Message.getSQLException(Message.java:77)
        at org.h2.schema.Schema.getTableOrView(Schema.java:359)
        at org.h2.command.Parser.readTableOrView(Parser.java:4217)
        at org.h2.command.Parser.readTableFilter(Parser.java:967)
        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1496)
        at org.h2.command.Parser.parseSelectSimple(Parser.java:1593)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1490)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1335)
        at org.h2.command.Parser.parseSelect(Parser.java:1323)
        at org.h2.command.Parser.parsePrepared(Parser.java:392)
        at org.h2.command.Parser.parse(Parser.java:288)
        at org.h2.command.Parser.parse(Parser.java:260)
        at org.h2.command.Parser.prepareCommand(Parser.java:232)
        at org.h2.engine.Session.prepareLocal(Session.java:352)
        at org.h2.engine.Session.prepareCommand(Session.java:313)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
        at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.geotools.data.h2.H2Dialect.getGeometrySRID(H2Dialect.java:279)
        at 
org.geotools.data.h2.H2DialectPrepared.getGeometrySRID(H2DialectPrepared.java:119)
        at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:279)
        at 
org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:752)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:384)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:349)
        at 
org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:334)
        at 
org.geotools.jdbc.JDBCDataStore.addVirtualTable(JDBCDataStore.java:271)
        at 
org.geotools.jdbc.JDBCVirtualTableTest.connect(JDBCVirtualTableTest.java:51)
        at org.geotools.test.OnlineTestCase.setUp(OnlineTestCase.java:241)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:121)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for riverReducedPk.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCFeatureSource buildFeatureType
WARNING: Error occured determing srid for riverReducedPk.geom
org.h2.jdbc.JdbcSQLException: Table riverReducedPk not found; SQL statement:
SELECT ST_SRID("geom") FROM "geotools"."riverReducedPk" WHERE "geom" is not 
null LIMIT 1 [42102-104]
        at org.h2.message.Message.getSQLException(Message.java:103)
        at org.h2.message.Message.getSQLException(Message.java:114)
        at org.h2.message.Message.getSQLException(Message.java:77)
        at org.h2.schema.Schema.getTableOrView(Schema.java:359)
        at org.h2.command.Parser.readTableOrView(Parser.java:4217)
        at org.h2.command.Parser.readTableFilter(Parser.java:967)
        at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1496)
        at org.h2.command.Parser.parseSelectSimple(Parser.java:1593)
        at org.h2.command.Parser.parseSelectSub(Parser.java:1490)
        at org.h2.command.Parser.parseSelectUnion(Parser.java:1335)
        at org.h2.command.Parser.parseSelect(Parser.java:1323)
        at org.h2.command.Parser.parsePrepared(Parser.java:392)
        at org.h2.command.Parser.parse(Parser.java:288)
        at org.h2.command.Parser.parse(Parser.java:260)
        at org.h2.command.Parser.prepareCommand(Parser.java:232)
        at org.h2.engine.Session.prepareLocal(Session.java:352)
        at org.h2.engine.Session.prepareCommand(Session.java:313)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1043)
        at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at 
org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
        at org.geotools.data.h2.H2Dialect.getGeometrySRID(H2Dialect.java:279)
        at 
org.geotools.data.h2.H2DialectPrepared.getGeometrySRID(H2DialectPrepared.java:119)
        at 
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:279)
        at 
org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:752)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:384)
        at 
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:349)
        at 
org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:334)
        at 
org.geotools.jdbc.JDBCDataStore.addVirtualTable(JDBCDataStore.java:271)
        at 
org.geotools.jdbc.JDBCVirtualTableTest.connect(JDBCVirtualTableTest.java:55)
        at org.geotools.test.OnlineTestCase.setUp(OnlineTestCase.java:241)
        at junit.framework.TestCase.runBare(TestCase.java:132)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:121)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:585)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for riverPolluted.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
Running org.geotools.data.h2.H2NoPrimaryKeyTest
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Jun 19, 2010 2:16:20 PM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec
Running org.geotools.data.h2.H2ForeignKeyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec
Running org.geotools.data.h2.H2AggregateFunctionTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.11 sec

Results :

Tests in error: 
  testExternalConnection(org.geotools.data.h2.H2FeatureStoreExposedPkTest)

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

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/jdbc/jdbc-h2/target/surefire-reports>
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 16 seconds
[INFO] Finished at: Sat Jun 19 14:16:24 EDT 2010
[INFO] Final Memory: 55M/145M
[INFO] ------------------------------------------------------------------------


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to