Hi Andrea, > Mind, jai-ext is meant to be built with java8, that might be related to the > problem you're seeing.
That was exactly what it was. Thanks for the hint. Regards Sören -----Ursprüngliche Nachricht----- Von: Andrea Aime <andrea.a...@geosolutionsgroup.com> Gesendet: Mittwoch, 5. März 2025 17:12 An: Kalesse Sören <skale...@exch.dwd.de> Cc: geotools-devel@lists.sourceforge.net Betreff: Re: [Geotools-devel] jai-scale2 test-case failing on main branch Hi Soren, I've just built it without any issue: ... Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 sec - in it.geosolutions.jaiext.scale.CoverageClassTest Running it.geosolutions.jaiext.scale.BicubicScaleTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in it.geosolutions.jaiext.scale.BicubicScaleTest Running it.geosolutions.jaiext.scale.NearestScaleTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.107 sec - in it.geosolutions.jaiext.scale.NearestScaleTest Running it.geosolutions.jaiext.scale.BilinearScaleTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.58 sec - in it.geosolutions.jaiext.scale.BilinearScaleTest Results : Tests run: 26, Failures: 0, Errors: 0, Skipped: 1 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jt-scale2 --- [INFO] Building jar: /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ jt-scale2 --- [INFO] Building jar: /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-tests.jar [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ jt-scale2 >>> [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ jt-scale2 <<< [INFO] [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ jt-scale2 --- [INFO] Building jar: /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ jt-scale2 --- [INFO] Installing /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT.jar to /home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT.jar [INFO] Installing /home/aaime/devel/jai-ext/jt-scale2/pom.xml to /home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT.pom [INFO] Installing /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-tests.jar to /home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT-tests.jar [INFO] Installing /home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-sources.jar to /home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.933 s [INFO] Finished at: 2025-03-05T17:11:01+01:00 [INFO] ------------------------------------------------------------------------ Mind, jai-ext is meant to be built with java8, that might be related to the problem you're seeing. Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us> for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 https://www.geosolutionsgroup.com/ <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxOTluPzg+bW1uPjk5Ojk+NTVuPm45Ojw1OzU/bjhvPGpoPjU0Pm86aip4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3a%2f%2fwww.geosolutionsgroup.com%2f> http://twitter.com/geosolutions_it <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxaWo7PzU4bmg/aj89P2lpPT80bWg9bmg6ajQ7OWk8PD9vOz1oNDQ/NSp4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xPzsqZGhgMTw=&url=http%3a%2f%2ftwitter.com%2fgeosolutions_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 On Wed, Mar 5, 2025 at 5:01 PM Kalesse Sören <soeren.kale...@dwd.de <mailto:soeren.kale...@dwd.de> > wrote: Hello dear geotools developers, I am currently working on a bugfix in jai-ext/scale that should fix https://github.com/geosolutions-it/jai-ext/issues/309 <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxODRoaTRub2o0bTg9bTU0Om1vbWk9NDs0NTU/ODhvOW05bz0+Pzw5PSp4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3a%2f%2fgithub.com%2fgeosolutions-it%2fjai-ext%2fissues%2f309> . While working on the PR (refer to https://github.com/geosolutions-it/jai-ext/pull/310 <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxOjs/NGg9O2o1NT40PDk1aDlqOjtqPz9uOjQ1aT5qOG9pO21vPGpobSp4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3a%2f%2fgithub.com%2fgeosolutions-it%2fjai-ext%2fpull%2f310> ) I wanted to check other jai-ext operators to see if they would suffer from a similar issue. It turns out jai-ext/scale2 should have the very same problem (probably because many parts were once copied from jai-ext/scale). Now I was about to address the issue, but noticed that on the main branch even, one test-case is failing: https://github.com/geosolutions-it/jai-ext/blob/e58fed601bf85f0661153a942e7a0aaba933744e/jt-scale2/src/test/java/it/geosolutions/jaiext/scale/BilinearScaleTest.java#L239 <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxPzVtNGk1b2g7bzs6P2k6NDk4aDttODpoaDQ9b24+aGk+Pj9qaDk4byp4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3a%2f%2fgithub.com%2fgeosolutions-it%2fjai-ext%2fblob%2fe58fed601bf85f0661153a942e7a0aaba933744e%2fjt-scale2%2fsrc%2ftest%2fjava%2fit%2fgeosolutions%2fjaiext%2fscale%2fBilinearScaleTest.java%23L239> : Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.167 sec <<< FAILURE! - in it.geosolutions.jaiext.scale.BilinearScaleTest testRecyclingROIWeights(it.geosolutions.jaiext.scale.BilinearScaleTest) Time elapsed: 0.015 sec <<< FAILURE! java.lang.AssertionError: Unexpected value at 3 5 expected:<5> but was:<0> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at it.geosolutions.jaiext.scale.BilinearScaleTest.testRecyclingROIWeights(BilinearScaleTest.java:287) Has anyone else noticed this? Shouldn't it break some build? Thanks Sören -- Sören Kalesse Referat Verfahrensentwicklung für Meteorologische Arbeitsplätze | Abteilung Zentrale Meteorologische Fachverfahren Deutscher Wetterdienst | Michendorfer Chaussee 23 | 14473 Potsdam phone: +49 69 8062 5256 | @: soeren.kale...@dwd.de <mailto:soeren.kale...@dwd.de> | web: www.dwd.de <http://www.dwd.de> _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net <mailto:GeoTools-Devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geotools-devel <https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk9Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxOz1qOD1vNGo5OWo5OWk0OD9uaDo+PTg4PjxtPDw4OD49PDQ/PDg1aip4MT07OD09NT05OzkqfWVoMTk+OUtGVm5BPDw5NTw9ITk+OUtGVm5CPDw5NTw9Kn5vfHgxX2NpfmliIkdtYGl/f2lMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3a%2f%2flists.sourceforge.net%2flists%2flistinfo%2fgeotools-devel> ---------- Hinweis (DWD): Mindestens eine URL in dieser E-Mail wurde vom Schadsoftware-Erkennungssystem als potentiell gefährlich eingestuft und so umgeschrieben, dass ein Klick darauf diese zunächst auf gefährliche Downloads hin untersucht, bevor Inhalte angezeigt werden. Die Analyse erfolgt ohne menschliches Zutun voll automatisiert. Der Datenschutz ist gewährleistet. Es kann einige Sekunden dauern, bis die Inhalte angezeigt werden. Der Originalabsender dieser E-Mail ist: andrea.a...@geosolutionsgroup.com. Wenn Ihnen dieser unbekannt ist, so sollten Sie die enthaltenen Links nicht anklicken. _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel