A quick search through jira suggests that they are new issues. I have
created bug reports here:
https://jira.codehaus.org/browse/GEOT-5027
https://jira.codehaus.org/browse/GEOT-5028

Torben

On Thu, Feb 19, 2015 at 11:24 AM, Jody Garnett <[email protected]>
wrote:

> Are these new or have they already been reported to Jira.
>
> --
> Jody Garnett
>
> On 19 February 2015 at 10:48, Torben Barsballe <
> [email protected]> wrote:
>
>> Automated online tests are now set up on Jenkins, in the project
>> 'geotools-master-online'.
>>
>> Currently, we have MySQL and PostGIS databases set up for testing.
>>
>> In addition to the PostGIS test failures already discussed, we are seeing
>> a number of other test failures. It would be good to get these fixed so
>> that these online tests are actually usefull.
>>
>> Halfway through the PostGIS tests, we get:
>>
>> Running org.geotools.data.postgis.PostgisJNDIDataSourceOnlineTest
>> javax.naming.ContextNotEmptyException
>>      at 
>> org.osjava.sj.jndi.AbstractContext.destroySubcontext(AbstractContext.java:551)
>>      at 
>> org.osjava.sj.jndi.AbstractContext.destroySubcontext(AbstractContext.java:561)
>>      at 
>> javax.naming.InitialContext.destroySubcontext(InitialContext.java:475)
>>      at 
>> org.osjava.sj.jndi.DelegatingContext.destroySubcontext(DelegatingContext.java:116)
>>      at org.osjava.sj.loader.JndiLoader.jndiPut(JndiLoader.java:316)
>>      at org.osjava.sj.loader.JndiLoader.load(JndiLoader.java:277)
>>      at org.osjava.sj.loader.JndiLoader.loadDirectory(JndiLoader.java:156)
>>      at org.osjava.sj.loader.JndiLoader.loadDirectory(JndiLoader.java:104)
>>      at org.osjava.sj.SimpleContext.<init>(SimpleContext.java:98)
>>      at 
>> org.osjava.sj.SimpleContextFactory.getInitialContext(SimpleContextFactory.java:69)
>>      at 
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
>>      at 
>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
>>      at javax.naming.InitialContext.init(InitialContext.java:242)
>>      at javax.naming.InitialContext.<init>(InitialContext.java:192)
>>      at 
>> org.geotools.jdbc.JDBCJNDITestSetup.createDataSource(JDBCJNDITestSetup.java:92)
>>      at org.geotools.jdbc.JDBCTestSetup.getDataSource(JDBCTestSetup.java:85)
>>      at org.geotools.jdbc.JDBCTestSupport.isOnline(JDBCTestSupport.java:99)
>>      at 
>> org.geotools.test.OnlineTestCase.checkAvailable(OnlineTestCase.java:144)
>>      at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:122)
>>      at junit.framework.TestSuite.runTest(TestSuite.java:255)
>>      at junit.framework.TestSuite.run(TestSuite.java:250)
>>      at 
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
>>      at 
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>>      at 
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>>      at 
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>>      at 
>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>>      at 
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>>      at 
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>>
>>
>>
>> This later causes the next call to JDBCTestSetup.isOnline to fail with a
>> NPE, skipping the rest of the PostGIS tests:
>>
>> Skipping postgis tests, resources not available: 
>> java.lang.NullPointerException
>>
>> Moreover, because the tests are skipped, and all previous tests passed,
>> it does not register as a test failure.
>>
>> We also have a few test failures in the MySQL tests:
>>
>> Failed tests:
>>   
>> MySQLFeatureCollectionOnlineTest>OnlineTestCase.run:123->JDBCFeatureCollectionOnlineTest.testIterator:60->JDBCTestSupport.assertFeatureIterator:300
>>  expected:<0> but was:<1>
>>
>> Tests in error:
>>   
>> MySQLDataStoreOnlineTest>OnlineTestCase.run:123->JDBCDataStoreOnlineTest.testSimpleIndex:214
>>  » IO
>>   
>> MySQLDataStoreOnlineTest>OnlineTestCase.run:123->JDBCDataStoreOnlineTest.testMultiColumnIndex:255
>>  » IO
>>
>>
>> Torben
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> GeoTools-Devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to