Did not fix. Can someone with access to this machine try running these interactively or with remote debugging?
Kind regards, Ben. On 18/06/16 15:55, Ben Caradoc-Davies wrote: > I changed LetterConflictTest on master to use Bitstream Vera Sans: > https://github.com/geotools/geotools/commit/c2fb015aead7795cdcfd024e5794d41e00b1b395 > > > I also kicked the GeoSolutions GeoTools-Master-OpenJDK8 build. > > Kind regards, > Ben. > > On 10/06/16 23:08, Andrea Aime wrote: >> Hi, >> it looks that test class was committed by Jody following up a pull >> request >> from IGN: >> https://github.com/geotools/geotools/commits/master/modules/library/render/src/test/java/org/geotools/renderer/lite/LetterConflictTest.java >> >> >> Could be the usual thing of manually registering and using a cross >> platform >> font like it's done in other tests, e.g: >> https://github.com/geotools/geotools/blob/master/modules/library/render/src/test/java/org/geotools/renderer/lite/ScreenMapShapefileTest.java#L96 >> >> >> It's weird that the build sometimes passes, and sometimes does not? >> >> Cheers >> Andrea >> >> On Fri, Jun 10, 2016 at 12:30 AM, Jody Garnett <[email protected]> >> wrote: >> >>> I think there is a difference between openjdk and oracle jdk on font >>> metrics. You may consider using explicit bold fonts (rather than >>> trust font >>> metric calculations). >>> >>> >>> >>> -- >>> Jody Garnett >>> >>> On 9 June 2016 at 14:52, Ben Caradoc-Davies <[email protected]> wrote: >>> >>>> Alessandro, >>>> >>>> you might have noticed some gt-render failures in >>>> GeoTools-Master-OpenJDK8 (and the downstream failures of >>>> GeoServer-Master-OpenJDK8 that might be caused by this). >>>> >>>> http://build.geo-solutions.it/jenkins/view/GeoTools/job/GeoTools-Master-OpenJDK8/ >>>> >>>> >>>> junit.framework.AssertionFailedError: More labels in image2 than image1 >>>> at junit.framework.Assert.fail(Assert.java:57) >>>> at junit.framework.Assert.assertTrue(Assert.java:22) >>>> at junit.framework.TestCase.assertTrue(TestCase.java:192) >>>> at >>>> >>>> org.geotools.renderer.lite.LetterConflictTest.testLetterConflictEnabledCurvedLine(LetterConflictTest.java:196) >>>> >>>> >>>> The build passes for me with Maven 3.3.9 and openjdk-8-jdk 8u91-b14-2 >>>> amd64 on debian/sid: >>>> >>>> $ mvn -version >>>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; >>>> 2015-11-11T05:41:47+13:00) >>>> Maven home: /home/ben/java/maven >>>> Java version: 1.8.0_91, vendor: Oracle Corporation >>>> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre >>>> Default locale: en_GB, platform encoding: UTF-8 >>>> OS name: "linux", version: "4.6.0-1-amd64", arch: "amd64", family: >>>> "unix" >>>> >>>> One of the differences between Oracle JDK and OpenJDK is that OpenJDK >>>> ships with no fonts and makes use of system fonts. This has in the past >>>> broken some gt-render unit tests on systems with unusual font >>>> configuration. Have you tried running LetterConflictTest in interactive >>>> mode on build.geo-solutions.it? >>>> >>>> Kind regards, >>>> >>>> -- >>>> Ben Caradoc-Davies <[email protected]> >>>> Director >>>> Transient Software Limited <http://transient.nz/> >>>> New Zealand >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>>> traffic >>>> patterns at an interface-level. Reveals which users, apps, and >>>> protocols >>>> are >>>> consuming the most bandwidth. Provides multi-vendor support for >>>> NetFlow, >>>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>>> planning reports. >>>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>>> _______________________________________________ >>>> GeoTools-Devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols >>> are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning reports. >>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>> _______________________________________________ >>> GeoTools-Devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>> >>> >> >> > -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohomanageengine _______________________________________________ GeoTools-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
