Yes, I think Daniele made the hstore tests robust against the absence of the hstore extension.

Kind regards,
Ben.

On 02/05/18 11:09, Torben Barsballe wrote:
As of the latest tests, it seems like the H2 failure is the only thing
causing the geotools-master-online-postgis tests to fail - the PostGIS
tests pass fine.
(As an aside, I was able to "create extension hstore" on the PostGIS DB,
but the PostGIS tests were passing before that)

Torben

On Wed, Apr 18, 2018 at 7:50 AM, Torben Barsballe <
tbarsba...@boundlessgeo.com> wrote:



On Wed, Apr 18, 2018 at 7:01 AM, Andrea Aime <andrea.a...@geo-solutions.it
wrote:

Hum:

Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.32 sec <<< 
FAILURE! - in org.geotools.data.h2.H2DataStoreFactoryTest
testTCP(org.geotools.data.h2.H2DataStoreFactoryTest)  Time elapsed: 12.316 sec  
<<< ERROR!
org.h2.jdbc.JdbcSQLException: Exception opening port H2 TCP Server 
(tcp://172.16.1.87: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(H2DataStoreFactoryTest.java:94)


What's keeping port 9092 busy? don't know...

I've seen similar errors locally (with various different tests that use
H2) if a previous H2 test didn't close its connections properly or
terminated in a non-standard fashion. When that is the issue the problem
typically goes away after a few hours (or a machine restart).

Not sure if that is the case here though.

Torben



Cheers
Andrea


On Wed, Apr 18, 2018 at 1:49 PM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

Hi again,

Good news:
The 2 test classes (HSTORE and JSON) aren't failing anymore:
https://build.geoserver.org/view/geotools/job/geotools-maste
r-online-postgis/571/console

However that the build is still failing on different H2 related stuff
which seems failing since long time too.
Cheers,
Daniele


On Wed, Apr 18, 2018 at 12:16 PM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

Hi everybody.
 From my previous understanding, the https://osgeo-org.atlassia
n.net/browse/GEOT-5876 JIRA was closed as "Not a bug" so I didn't
spend additional time on it.
However, it looks like is still causing issues with online tests so I
was able to replicate it locally and made a couple of fixes for HSTORE and
JSON
Let's see if the next builds are happy for these tests.

Regards,
Daniele


On Tue, Apr 17, 2018 at 11:53 PM, Ben Caradoc-Davies <b...@transient.nz>
wrote:

All I know is that I needed a one-time "create extension hstore;" to
turn on hstore support in my test database. I do not know anything about
the JSON failure.

Kind regards,
Ben.


On 18/04/18 07:23, Torben Barsballe wrote:

As far as I can tell, this is a GeoTools failure - the PostGIS
instance
does seem to be working (I know this has been an issue in the past,
but I
don't think PostGIS is the problem this time)

I'm not familiar enough with the failing tests
(PostGISHStoreOnlineTest and PostGISJsonOnlineTest) to
say for certain though.

Torben

On Fri, Mar 30, 2018 at 9:22 PM, Ben Caradoc-Davies <b...@transient.nz

wrote:

https://build.geoserver.org/view/geotools/job/geotools-maste
r-online-postgis/

Builds that are already broken do cause new breakage to be noticed:
https://osgeo-org.atlassian.net/browse/GEOT-5981
https://github.com/geotools/geotools/pull/1846

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

------------------------------------------------------------
------------------
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



--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

------------------------------------------------------------
------------------
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




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

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

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.




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

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

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.


------------------------------------------------------------
------------------
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




--

Regards,

Andrea Aime

==
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
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.


------------------------------------------------------------
------------------
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






------------------------------------------------------------------------------
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


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

------------------------------------------------------------------------------
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

Reply via email to