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)
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.
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)
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):
== 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.ithttp://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.