Looking at the rendered images suggests that this test is vulnerable to local font configuration. My failing configuration has:
$ fc-match serif LiberationSerif-Regular.ttf: "Liberation Serif" "Regular" I created a Jira issue: https://jira.codehaus.org/browse/GEOT-4786 Kind regards, Ben. On 28/04/14 10:18, Ben Caradoc-Davies wrote: > Failure started with: 5c9e3f38f3eca2403d284642e8dd2c0418e0d690 > "[GEOT-4309] stretch graphic element misplaced around text label > (includes an intial 4 line fix by M. Romero, expanded and tested by > yours truly)" > > On 28/04/14 10:09, Ben Caradoc-Davies wrote: >> LabelShieldTest is also failing on Linux with Java 6. Jody suggested (on >> IRC) picking a more platform-independent font. Boundless Jenkins looks >> stuck; I have kicked geotools-master to see if I can get it to reproduce >> this failure, which I see locally and on another Jenkins. >> >> Locally I see: >> >> Failed tests: >> LabelShieldTest.testLabelShieldMultiline:82 Images are visibly >> different, PerceptualDiff output is: >> Field of view is 89.900002 degrees >> Threshold pixels is 300 pixels >> The Gamma is 2.200000 >> The Display's luminance is 100.000000 candela per meter squared >> Converting RGB to XYZ >> Constructing Laplacian Pyramids >> Performing test >> FAIL: Images are visibly different >> 1228 pixels are different >> >> LabelShieldTest.testLabelShieldMultilineStretch:97 Images are visibly >> different, PerceptualDiff output is: >> Field of view is 89.900002 degrees >> Threshold pixels is 300 pixels >> The Gamma is 2.200000 >> The Display's luminance is 100.000000 candela per meter squared >> Converting RGB to XYZ >> Constructing Laplacian Pyramids >> Performing test >> FAIL: Images are visibly different >> 1206 pixels are different >> >> I have: >> >> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; >> 2013-02-19 21:51:28+0800) >> Maven home: /home/car605/junk/java/maven3 >> Java version: 1.6.0_45, vendor: Sun Microsystems Inc. >> Java home: /home/car605/junk/java/jdk1.6.0_45.x64/jre >> Default locale: en_GB, platform encoding: UTF-8 >> OS name: "linux", version: "3.13-1-amd64", arch: "amd64", family: "unix" >> >> Kind regards, >> > -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel