Re: [Geotools-devel] Fwd: [GeoTools Master] H2DataStoreFactoryTest Failure

2017-05-31 Thread Devon Tucker
I think we've figured it out. It was hosts business. The hostname on the
machine didn't have a hosts entry loopback.

On Fri, May 26, 2017 at 10:15 AM, Andrea Aime 
wrote:

> Wondering, could the solutions in this mail thread apply on the new build
> server too?
>
> https://groups.google.com/forum/#!topic/h2-database/y3XoNVXyu1w
>
> Cheers
> Andrea
>
>
> On Fri, May 26, 2017 at 7:02 PM, Devon Tucker 
> wrote:
>
>> Hi all,
>>
>> Nick asked me to forward this. Apparently there's nothing running on that
>> port, so we're at a loss as to what the issue could be. I've created a gist
>> for the whole log, since it's fairly big.
>>
>> https://gist.github.com/dvntucker/6a3f6e0c828ef21b6e4d31fc8c0c2a05
>>
>> Cheers,
>> Devon
>>
>>
>> -- Forwarded message --
>> From: Nick Stires 
>> Date: Fri, May 26, 2017 at 8:58 AM
>> Subject: [GeoTools Master] H2DataStoreFactoryTest Failure
>> To: Devon Tucker 
>>
>>
>> Apologies if this is a duplicate. I've had reports this didn't make it in
>> the bucket...
>>
>> Hello!
>>
>> I'm working to replace the aging Ares build server, and I've been stuck
>> on an issue with one of the GeoTools tests. The error is as follows:
>>
>> Running org.geotools.data.h2.H2DataStoreFactoryTest
>>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.879
>>> sec <<< FAILURE! - in org.geotools.data.h2.H2DataStoreFactoryTest
>>> testTCP(org.geotools.data.h2.H2DataStoreFactoryTest)  Time elapsed:
>>> 1.578 sec  <<< ERROR!
>>> org.h2.jdbc.JdbcSQLException: Exception opening port H2 TCP Server
>>> (tcp://localhost:9092) (port may be in use), cause: timeout [90061-119]
>>> at org.h2.message.Message.getSQLException(Message.java:106)
>>> at org.h2.message.Message.getSQLException(Message.java:117)
>>> at org.h2.tools.Server.start(Server.java:361)
>>> at org.geotools.data.h2.H2DataStoreFactoryTest.testTCP(H2DataSt
>>> oreFactoryTest.java:94)
>>
>>
>> I'm hesitant to blame H2 itself, since other tests utilize it and run
>> without issue. Attached are the full debug log from:
>>
>>> geotools-master]$ mvn test 
>>> -Dtest=org.geotools.data.h2.H2DataStoreFactoryTest
>>> -DfailIfNoTests=false -X
>>
>>
>> Some more about the server itself. It's running Amazon Linux (CentOS
>> 6.8). SELinux and IPTables are both disabled. Per the logs, the software
>> versions are:
>>
>>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>>> 2015-11-10T16:41:47+00:00)
>>> Maven home: /opt/apache-maven
>>> Java version: 1.8.0_131, vendor: Oracle Corporation
>>> Java home: /usr/java/jdk1.8.0_131/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "4.9.27-14.31.amzn1.x86_64", arch: "amd64",
>>> family: "unix"
>>
>>
>> I have tried a handful of different Java flavors. Another build server on
>> the same OS is able to run with 1.8.0-101 OpenJDK.
>>
>> Any ideas on what could be causing this?
>>
>> Thanks!
>>
>> --
>> *Nick Stires*
>> DevOps Engineer | Boundless 
>> nsti...@boundlessgeo.com
>> Mobile: +1 561-713-0922 <%28561%29%20713-0922>
>>
>>
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> 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 di Montramito 3/A
> 55054  Massarosa (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> 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 

Re: [Geotools-devel] Fwd: [GeoTools Master] H2DataStoreFactoryTest Failure

2017-05-26 Thread Andrea Aime
Wondering, could the solutions in this mail thread apply on the new build
server too?

https://groups.google.com/forum/#!topic/h2-database/y3XoNVXyu1w

Cheers
Andrea


On Fri, May 26, 2017 at 7:02 PM, Devon Tucker 
wrote:

> Hi all,
>
> Nick asked me to forward this. Apparently there's nothing running on that
> port, so we're at a loss as to what the issue could be. I've created a gist
> for the whole log, since it's fairly big.
>
> https://gist.github.com/dvntucker/6a3f6e0c828ef21b6e4d31fc8c0c2a05
>
> Cheers,
> Devon
>
>
> -- Forwarded message --
> From: Nick Stires 
> Date: Fri, May 26, 2017 at 8:58 AM
> Subject: [GeoTools Master] H2DataStoreFactoryTest Failure
> To: Devon Tucker 
>
>
> Apologies if this is a duplicate. I've had reports this didn't make it in
> the bucket...
>
> Hello!
>
> I'm working to replace the aging Ares build server, and I've been stuck on
> an issue with one of the GeoTools tests. The error is as follows:
>
> Running org.geotools.data.h2.H2DataStoreFactoryTest
>> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.879 sec
>> <<< FAILURE! - in org.geotools.data.h2.H2DataStoreFactoryTest
>> testTCP(org.geotools.data.h2.H2DataStoreFactoryTest)  Time elapsed:
>> 1.578 sec  <<< ERROR!
>> org.h2.jdbc.JdbcSQLException: Exception opening port H2 TCP Server
>> (tcp://localhost:9092) (port may be in use), cause: timeout [90061-119]
>> at org.h2.message.Message.getSQLException(Message.java:106)
>> at org.h2.message.Message.getSQLException(Message.java:117)
>> at org.h2.tools.Server.start(Server.java:361)
>> at org.geotools.data.h2.H2DataStoreFactoryTest.testTCP(H2DataSt
>> oreFactoryTest.java:94)
>
>
> I'm hesitant to blame H2 itself, since other tests utilize it and run
> without issue. Attached are the full debug log from:
>
>> geotools-master]$ mvn test -Dtest=org.geotools.data.h2.H2DataStoreFactoryTest
>> -DfailIfNoTests=false -X
>
>
> Some more about the server itself. It's running Amazon Linux (CentOS 6.8).
> SELinux and IPTables are both disabled. Per the logs, the software versions
> are:
>
>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>> 2015-11-10T16:41:47+00:00)
>> Maven home: /opt/apache-maven
>> Java version: 1.8.0_131, vendor: Oracle Corporation
>> Java home: /usr/java/jdk1.8.0_131/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "4.9.27-14.31.amzn1.x86_64", arch: "amd64",
>> family: "unix"
>
>
> I have tried a handful of different Java flavors. Another build server on
> the same OS is able to run with 1.8.0-101 OpenJDK.
>
> Any ideas on what could be causing this?
>
> Thanks!
>
> --
> *Nick Stires*
> DevOps Engineer | Boundless 
> nsti...@boundlessgeo.com
> Mobile: +1 561-713-0922 <%28561%29%20713-0922>
>
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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 di Montramito 3/A
55054  Massarosa (LU)
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