[Geoserver-devel] OSX specific travis failure in WPS

Hi,
on the OSX build, we keep on getting this failure in the WPS import process:

2020-06-02T16:06:56.5040730Z [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.719 s <<< FAILURE! - in org.geoserver.wps.gs.ImportProcessTest
2020-06-02T16:06:56.5041540Z [ERROR] testImportBuildingsCancellation(org.geoserver.wps.gs.ImportProcessTest)  Time elapsed: 0.021 s  <<< FAILURE!
2020-06-02T16:06:56.5042090Z org.junit.ComparisonFailure: expected:<[Test messag]e> but was:<[Failed to import data into the target stor]e>
2020-06-02T16:06:56.5043290Z 	at org.geoserver.wps.gs.ImportProcessTest.testImportBuildingsCancellation(ImportProcessTest.java:178)
2020-06-02T16:06:56.5044030Z 

Anyone on OSX able to reproduce? Should we just skip the test on OSX?

Cheers
Andrea

···

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 not seen this issue locally, is it something specific to the travis environment?


Jody Garnett

On Tue, 2 Jun 2020 at 09:53, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
on the OSX build, we keep on getting this failure in the WPS import process:

2020-06-02T16:06:56.5040730Z [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.719 s <<< FAILURE! - in org.geoserver.wps.gs.ImportProcessTest
2020-06-02T16:06:56.5041540Z [ERROR] testImportBuildingsCancellation(org.geoserver.wps.gs.ImportProcessTest)  Time elapsed: 0.021 s  <<< FAILURE!
2020-06-02T16:06:56.5042090Z org.junit.ComparisonFailure: expected:<[Test messag]e> but was:<[Failed to import data into the target stor]e>
2020-06-02T16:06:56.5043290Z 	at org.geoserver.wps.gs.ImportProcessTest.testImportBuildingsCancellation(ImportProcessTest.java:178)
2020-06-02T16:06:56.5044030Z 

Anyone on OSX able to reproduce? Should we just skip the test on OSX?

Cheers
Andrea

==

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.


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

I just tried building master, and also could not reproduce the failure, even when using the exact same run command as Travis (although I am on Java 11 rather than Java 8). Seems like the problem may be specific to Travis.

Torben

On Thu, Jun 4, 2020 at 9:58 AM Jody Garnett <jody.garnett@anonymised.com.403…> wrote:

I have not seen this issue locally, is it something specific to the travis environment?


Jody Garnett

On Tue, 2 Jun 2020 at 09:53, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
on the OSX build, we keep on getting this failure in the WPS import process:

2020-06-02T16:06:56.5040730Z [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.719 s <<< FAILURE! - in org.geoserver.wps.gs.ImportProcessTest
2020-06-02T16:06:56.5041540Z [ERROR] testImportBuildingsCancellation(org.geoserver.wps.gs.ImportProcessTest)  Time elapsed: 0.021 s  <<< FAILURE!
2020-06-02T16:06:56.5042090Z org.junit.ComparisonFailure: expected:<[Test messag]e> but was:<[Failed to import data into the target stor]e>
2020-06-02T16:06:56.5043290Z 	at org.geoserver.wps.gs.ImportProcessTest.testImportBuildingsCancellation(ImportProcessTest.java:178)
2020-06-02T16:06:56.5044030Z 

Anyone on OSX able to reproduce? Should we just skip the test on OSX?

Cheers
Andrea

==

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.


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


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

Ok, so Travis specific. What to do about it?
Shall we create some mechanism to skip tests that are failing on Travis/Github actions?
There are also a couple security ones that fail on the Windows Github action, but cannot be reproduced
locally…

We already have a bunch of Assume that are OS specific, but this would be build environment specific instead.
Maven profiles maybe?

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 was going to suggest just excluding the test in the Travis run command through the -Dtest option (something like mvn -B clean install -T2 -Prelease --file src/pom.xml -Dtest=!ImportProcessTest#testImportBuildingsCancellation), but I couldn’t get that to work when using -T2 (forking errors), so yeah, I think maven profiles would probably be the best option.

Cheers,
Torben


On Fri, Jun 5, 2020 at 12:12 AM Andrea Aime <andrea.aime@anonymised.com> wrote:

Ok, so Travis specific. What to do about it?
Shall we create some mechanism to skip tests that are failing on Travis/Github actions?
There are also a couple security ones that fail on the Windows Github action, but cannot be reproduced
locally…

We already have a bunch of Assume that are OS specific, but this would be build environment specific instead.
Maven profiles maybe?

Cheers
Andrea

On Thu, Jun 4, 2020 at 7:50 PM Torben Barsballe <torbenbarsballe@anonymised.com> wrote:

I just tried building master, and also could not reproduce the failure, even when using the exact same run command as Travis (although I am on Java 11 rather than Java 8). Seems like the problem may be specific to Travis.

Torben

On Thu, Jun 4, 2020 at 9:58 AM Jody Garnett <jody.garnett@anonymised.com403…> wrote:

I have not seen this issue locally, is it something specific to the travis environment?


Jody Garnett

On Tue, 2 Jun 2020 at 09:53, Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
on the OSX build, we keep on getting this failure in the WPS import process:

2020-06-02T16:06:56.5040730Z [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.719 s <<< FAILURE! - in org.geoserver.wps.gs.ImportProcessTest
2020-06-02T16:06:56.5041540Z [ERROR] testImportBuildingsCancellation(org.geoserver.wps.gs.ImportProcessTest)  Time elapsed: 0.021 s  <<< FAILURE!
2020-06-02T16:06:56.5042090Z org.junit.ComparisonFailure: expected:<[Test messag]e> but was:<[Failed to import data into the target stor]e>
2020-06-02T16:06:56.5043290Z 	at org.geoserver.wps.gs.ImportProcessTest.testImportBuildingsCancellation(ImportProcessTest.java:178)
2020-06-02T16:06:56.5044030Z 

Anyone on OSX able to reproduce? Should we just skip the test on OSX?

Cheers
Andrea

==

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.


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


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

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.