Hi Ben,
looks like it's fixed on master, but still failing on 15.x (we have a
OpenJDK 8 build there too, it's just not sending hate mails).
I've backported your Vera fix to 15.x, hopefully that will fix it
Cheers
Andrea
On Sat, Jun 18, 2016 at 6:37 AM, Ben Caradoc-Davies <[email protected]>
wrote:
> 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
>
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel