Re: [Geotools-devel] Build failed in Jenkins: geotools-master-online-postgis #626

2018-06-02 Thread Ben Caradoc-Davies

On 03/06/18 09:33, moni...@boundlessgeo.com wrote:

See 



I kicked it and it failed again:


Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec 
<<< FAILURE! - in 
org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest
testDistance(org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest) 
 Time elapsed: 0 sec  <<< FAILURE!

java.lang.AssertionError: null
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at org.junit.Assert.assertFalse(Assert.java:74)
	at 
org.geotools.temporal.object.DefaultTemporalGeometricPrimitiveTest.testDistance(DefaultTemporalGeometricPrimitiveTest.java:73)



Timezone rollover problem? Month zero is January. Server west of the 
meridian? But why was this passing before?:



@Test
public void testDistance() {
TemporalGeometricPrimitive other;

// calcul Distance with instant objects
cal.set(2000, 0, 1);
Position position = new DefaultPosition(cal.getTime());
other = new DefaultInstant(position);
Duration result = temporalGeomericPrimitive1.distance(other);

assertFalse(temporalGeomericPrimitive2.distance(other).equals(result));


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
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


[Geotools-devel] Build failed in Jenkins: geotools-master-online-postgis #626

2018-06-02 Thread monitor
See 


--
[...truncated 255.31 KB...]
1,1,3 4,4,2 0,4,2 1,1,3
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.geotools.gml.producer.CoordinateWriterTest
Running org.geotools.gml.producer.FeatureTransformerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in 
org.geotools.gml.producer.FeatureTransformerTest
Running org.geotools.ows.ServiceExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.geotools.ows.ServiceExceptionTest
Running org.geotools.renderer.ScreenMapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in 
org.geotools.renderer.ScreenMapTest
Running org.geotools.renderer.crs.ProjectionHandlerTest
2018-06-02T21:33:14.814+  WARNING  Possible use of "Popular Visualisation 
Pseudo Mercator" projection outside its valid area.
Longitude 190°00.0'E is out of range (±180°).
2018-06-02T21:33:14.882+  WARNING  Possible use of "Mercator_1SP" 
projection outside its valid area.
Longitude 200°00.0'W is out of range (±180°).
2018-06-02T21:33:14.894+  WARNING  Possible use of "Mercator_1SP (Inverse 
transform)" projection outside its valid area.
Longitude 190°00.0'E is out of range (±180°).
2018-06-02T21:33:14.918+  WARNING  Possible use of "Mercator_1SP" 
projection outside its valid area.
Longitude 330°00.0'E is out of range (±180°).
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec - in 
org.geotools.renderer.crs.ProjectionHandlerTest
Running org.geotools.styling.ContrastEnhancementImplTest
setMethod
getGammaValue
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.geotools.styling.ContrastEnhancementImplTest
Running org.geotools.styling.DefaultResourceLocatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.geotools.styling.DefaultResourceLocatorTest
Running org.geotools.styling.FeatureTypeStyleImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in 
org.geotools.styling.FeatureTypeStyleImplTest
Running org.geotools.styling.GraphicImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.geotools.styling.GraphicImplTest
Running org.geotools.styling.SLDParserNamespaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
org.geotools.styling.SLDParserNamespaceTest
Running org.geotools.styling.SLDParserTest
  
 
0.1
10.0
 

  
 
0.1
10.0
 

[Fatal Error] :1:1: Premature end of file.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in 
org.geotools.styling.SLDParserTest
Running org.geotools.styling.SLDStyleTest
2018-06-02T21:33:15.019+  WARNING  could not process  content encoding
2018-06-02T21:33:15.019+  WARNING  returning empty icon
2018-06-02T21:33:15.054+  WARNING  could not parse graphic inline content: 
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg==
java.io.IOException: invalid image content
at org.geotools.styling.SLDParser.parseIcon(SLDParser.java:552)
at 
org.geotools.styling.SLDParser.parseExternalGraphic(SLDParser.java:1787)
at org.geotools.styling.SLDParser.parseGraphic(SLDParser.java:1645)
at org.geotools.styling.SLDParser.parseFill(SLDParser.java:2035)
at 
org.geotools.styling.SLDParser.parsePolygonSymbolizer(SLDParser.java:1076)
at org.geotools.styling.SLDParser.parseRule(SLDParser.java:904)
at 
org.geotools.styling.SLDParser.parseFeatureTypeStyle(SLDParser.java:811)
at org.geotools.styling.SLDParser.parseStyle(SLDParser.java:767)
at org.geotools.styling.SLDParser.readDOM(SLDParser.java:367)
at org.geotools.styling.SLDParser.readXML(SLDParser.java:338)
at org.geotools.styling.SLDStyleTest.getGraphic(SLDStyleTest.java:982)
at 
org.geotools.styling.SLDStyleTest.testInvalidInlineContent(SLDStyleTest.java:956)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
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 junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSui