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"
-------- Original Message -------- Subject: [ExternalEmail] [Geotools-devel] LabelShieldTest also failing on Linux with Java 6 Date: Mon, 28 Apr 2014 10:09:40 +0800 From: Ben Caradoc-Davies To: geotools-devel@lists.sourceforge.net, Andrea Aime
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 Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre
|