Ah, you didn't, now I saw the other thread:

at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.228 sec
<<< FAILURE! - in org.geotools.data.oracle.OracleJNDIDataSourceOnlineTest
testExtraParams(org.geotools.data.oracle.OracleJNDIDataSourceOnlineTest)
 Time elapsed: 0.623 sec  <<< ERROR!
javax.naming.ContextNotEmptyException: null
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.factory.GeoTools.getInitialContext(GeoTools.java:612)
at org.geotools.jdbc.JDBCJNDITestSetup.tearDown(JDBCJNDITestSetup.java:111)
at org.geotools.jdbc.JDBCTestSupport.disconnect(JDBCTestSupport.java:162)
at org.geotools.test.OnlineTestCase.tearDown(OnlineTestCase.java:271)
at junit.framework.TestCase.runBare(TestCase.java:146)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123)
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)

I've spend quite some time trying to get those pass, but the old
app-context just won't go away...

Cheers
Andrea

On Sun, Oct 11, 2015 at 8:13 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Wait... whaaa?? :-)
> How did you fix the JNDI failures?
>
> Cheers
> Andrea
>
> On Sun, Oct 11, 2015 at 7:10 AM, Ben Caradoc-Davies <b...@transient.nz>
> wrote:
>
>> Success!
>>
>> http://ares.boundlessgeo.com/jenkins/view/geotools/job/geotools-master-online/270/
>>
>> http://ares.boundlessgeo.com/jenkins/view/geotools/job/geotools-master-online/270/consoleText
>>
>> I think email notifications are disabled.
>>
>> On 11/10/15 14:18, Ben Caradoc-Davies wrote:
>> > In an effort to get geotools-master-online working again and so recover
>> > some online jdbc test coverage in Boundless Jenkins, I have removed
>> > skip.on.failure=false from the fixture files for postgis, oracle, and
>> > mysql, as these seem to be failing only on JNDI. Yes, Torben, you are
>> > right that this flag should be used, and you can re-enable it as soon as
>> > the JNDI tests are fixed.
>> >
>> > I have also disabled sqlserver as this has an unrelated failure.
>> >
>> > Here is the log of the most recent failing build:
>> >
>> http://ares.boundlessgeo.com/jenkins/view/geotools/job/geotools-master-online/269/consoleText
>> >
>> > Kind regards,
>> > Ben.
>> >
>> >
>> > -------- Forwarded Message --------
>> > Subject: Re: [Geotools-devel] online tests
>> > Date: Sun, 20 Sep 2015 09:08:27 +1200
>> > From: Ben Caradoc-Davies <b...@transient.nz>
>> > To: Ian Turton <ijtur...@gmail.com>, Geotools-Devel list
>> > <geotools-devel@lists.sourceforge.net>
>> >
>> > Ian,
>> >
>> > I expect JNDI failures if skip.on.failure=false is used.
>> >
>> > See:
>> >
>> >
>> http://osgeo-org.1560.x6.nabble.com/A-possibly-simple-fix-for-the-postgis-online-test-cases-hidden-failure-td5200948.html
>> >
>> http://osgeo-org.1560.x6.nabble.com/Oracle-Tests-failing-on-Jenkins-td5210111.html
>> >
>> > Online tests work fine for me on master against postgis.
>> >
>> > Kind regards,
>> > Ben.
>> >
>> >
>>
>> --
>> Ben Caradoc-Davies <b...@transient.nz>
>> Director
>> Transient Software Limited <http://transient.nz/>
>> New Zealand
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> -------------------------------------------------------
>



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to