Hi, 
while preparing a pull request, I noticed some test failures on the master
branch. 
The tests in question are DrawTest and SVGGraphicFactoryTest in gt-svg and
NetCDFStationsTest in gt-netcdf. 
Below are snippets of the maven build output. After disabling these three
tests mvn clean install -Dall worked.
My system is a Windows10 x64 computer.
 
Cheers
  Marco

 

 

Tests run: 13, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.889 sec
<<< FAILURE! - in org.geotools.renderer.lite.DrawTest

testParametricOnlyFill(org.geotools.renderer.lite.DrawTest)  Time elapsed:
0.586 sec  <<< FAILURE!

java.lang.AssertionError: Images are visibly different, found 64708
different pixels, against a threshold of 1000

You can add -Dorg.geotools.image.test.interactive=true to show a dialog
comparing them (requires GUI support)

        at
org.geotools.image.test.ImageAssert.assertImagesResemble(ImageAssert.java:14
5)

        at
org.geotools.image.test.ImageAssert.assertEquals(ImageAssert.java:70)

        at
org.geotools.renderer.lite.DrawTest.testParametricOnlyFill(DrawTest.java:279
)

 

testParametricAllValues(org.geotools.renderer.lite.DrawTest)  Time elapsed:
0.047 sec  <<< FAILURE!

java.lang.AssertionError: Images are visibly different, found 64749
different pixels, against a threshold of 1000

You can add -Dorg.geotools.image.test.interactive=true to show a dialog
comparing them (requires GUI support)

        at
org.geotools.image.test.ImageAssert.assertImagesResemble(ImageAssert.java:14
5)

        at
org.geotools.image.test.ImageAssert.assertEquals(ImageAssert.java:70)

        at
org.geotools.renderer.lite.DrawTest.testParametricAllValues(DrawTest.java:28
9)

 

Running org.geotools.renderer.style.SVGGraphicFactoryTest

Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.039 sec
<<< FAILURE! - in org.geotools.renderer.style.SVGGraphicFactoryTest

testLocalURLXEE(org.geotools.renderer.style.SVGGraphicFactoryTest)  Time
elapsed: 0.029 sec  <<< ERROR!

java.io.FileNotFoundException: \etc\passwd (Das System kann den angegebenen
Pfad nicht finden)

        at java.io.FileInputStream.open0(Native Method)

        at java.io.FileInputStream.open(FileInputStream.java:195)

        at java.io.FileInputStream.<init>(FileInputStream.java:138)

        at java.io.FileInputStream.<init>(FileInputStream.java:93)

        at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:9
0)

        at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:188)

        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(
XMLEntityManager.java:623)

        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti
tyManager.java:1304)

        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEnti
tyManager.java:1240)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanE
ntityReference(XMLDocumentFragmentScannerImpl.java:1908)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm
entContentDriver.next(XMLDocumentFragmentScannerImpl.java:3061)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocum
entScannerImpl.java:602)

        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSD
ocumentScannerImpl.java:112)

        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD
ocument(XMLDocumentFragmentScannerImpl.java:505)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:841)

        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Con
figuration.java:770)

        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:14
1)

        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
AXParser.java:1213)

        at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SA
XParserImpl.java:643)

        at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFacto
ry.java:431)

        at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(SAXDocumentFacto
ry.java:349)

        at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(SAXSVGDocument
Factory.java:200)

        at
org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java
:165)

        at
org.geotools.renderer.style.SVGGraphicFactoryTest.testLocalURLXEE(SVGGraphic
FactoryTest.java:100)

 

 

 

 
NetCDFStationsTest.readMultipleBandsDimensionWithDifferentOrderAndRepeatedBa
ndsSelection:99->checkRasterData:114->readCoverageUsingNetCdfReader:159->Ass
ert.assertThat:8

32->Assert.assertThat:865

Expected: is <true>

     but: was <false>

 
NetCDFStationsTest.readMultipleBandsDimensionWithDifferentOrderBandsSelectio
n:87->checkRasterData:114->readCoverageUsingNetCdfReader:159->Assert.assertT
hat:832->Assert.

assertThat:865

Expected: is <true>

     but: was <false>

 
NetCDFStationsTest.readMultipleBandsDimension:64->checkRasterData:114->readC
overageUsingNetCdfReader:159->Assert.assertThat:832->Assert.assertThat:865

Expected: is <true>

     but: was <false>

 

 

-- 

____________________________________________________________

 

Marco Peters

 

Brockmann Consult

Max-Planck-Str. 2 D-21502 Geesthacht

 

Tel:  +49 (0)4152 889 305

Fax:  +49 (0)4152 889 333

Mail:  <mailto:[email protected]>
[email protected]

Skype: marco.peters.bc

Web:  <http://www.brockmann-consult.de/> http://www.brockmann-consult.de

____________________________________________________________

 

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to