[Geoserver-devel] MacOS issues in travis

Can anyone with a Mac look into the fails in gs-wms on Travis?

Error: Tests run: 29, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.771 s <<< FAILURE! - in org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest

12051Error: testMultipleLayers(org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest) Time elapsed: 0.02 s <<< FAILURE!
12052java.lang.AssertionError: expected:<java.awt.Color[r=0,g=0,b=0]> but was:<java.awt.Color[r=12,g=12,b=12]>
12053 at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest.testMultipleLayers(BufferedImageLegendGraphicOutputFormatTest.java:242)

It’s probably a font or aliasing issue?

cheers

Ian

···

Ian Turton

I could not reproduce the failure on the latest master, OS X 10.15.7, openjdk 11.0.5, so this appears to be (at least somewhat) environment-specific. If it’s a font issue, it may be related to the specific fonts installed on the test system. It may also be related to the Java version, as Travis is running 1.8.

Cheers,
Torben

On Tue, Oct 27, 2020 at 2:38 AM Ian Turton <ijturton@anonymised.com> wrote:

Can anyone with a Mac look into the fails in gs-wms on Travis?

Error: Tests run: 29, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.771 s <<< FAILURE! - in org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest

12051Error: testMultipleLayers(org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest) Time elapsed: 0.02 s <<< FAILURE!
12052java.lang.AssertionError: expected:<java.awt.Color[r=0,g=0,b=0]> but was:<java.awt.Color[r=12,g=12,b=12]>
12053 at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicOutputFormatTest.testMultipleLayers(BufferedImageLegendGraphicOutputFormatTest.java:242)

It’s probably a font or aliasing issue?

cheers

Ian

Ian Turton


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

If no one can reproduce, I guess we can ignore that test on OSX, there are already a few of those in the build, using
Assume and checking for the OS using commons… similar to this one (this one in particular does the opposite, it allows the test to run
on Linux and OSX):

https://github.com/geoserver/geoserver/blob/f29cae5d756805669c24ee1bee60d04d40cda33b/src/extension/web-resource/src/test/java/org/geoserver/web/resources/PageResourceBrowserTest.java#L407

Cheers
Andrea

···

Regards, Andrea Aime

== 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 ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

I have been building consistently with jdk1.8.0_251.jdk without issue.

···


Jody Garnett