[Geoserver-devel] Build issues on PR

Hi community,

I’m getting a PR (master) build issue on travis with geotools dependencies, like:

[ERROR] Failed to execute goal on project gs-ows: Could not resolve dependencies for project org.geoserver:gs-ows:jar:2.18-SNAPSHOT: Failed to collect dependencies at org.geotools.xsd:gt-xsd-core:jar:24-SNAPSHOT: Failed to read artifact descriptor for org.geotools.xsd:gt-xsd-core:jar:24-SNAPSHOT: Could not find artifact org.geotools.xsd:xsd:pom:24-SNAPSHOT in osgeo-snapshots (https://repo.osgeo.org/repository/snapshot/) → [Help 1]

[ERROR] Failed to execute goal on project gs-sqlserver: Could not resolve dependencies for project org.geoserver.extension:gs-sqlserver:jar:2.18-SNAPSHOT: Failed to collect dependencies at org.geotools.jdbc:gt-jdbc-sqlserver:jar:24-SNAPSHOT: Failed to read artifact descriptor for org.geotools.jdbc:gt-jdbc-sqlserver:jar:24-SNAPSHOT: Could not find artifact org.geotools.jdbc:gt-jdbc:pom:24-SNAPSHOT in osgeo-snapshots (https://repo.osgeo.org/repository/snapshot/) → [Help 1]

I’m wondering if anyone else got the same error and if there is a way to fix this.

Thanks!

Regards,

Fernando Mino

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

==

Fernando Mino

Software Engineer

GeoSolutions S.A.S.

Via di Montramito 3/A

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

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.

Hi Fernando,
I’m seeing the same issue on other PRs, like for example, a failure to find gwc-core-1.17-SNAPSHOT in these logs:

[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/maven-metadata.xml](https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/maven-metadata.xml)
[INFO] Downloading from geosolutions: [https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/maven-metadata.xml](https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/maven-metadata.xml)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.pom](https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.pom)
[INFO] Downloading from geosolutions: [https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.pom](https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.pom)
[WARNING] The POM for org.geowebcache:gwc-core:jar:1.17-SNAPSHOT is missing, no dependency information available
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-main/23-SNAPSHOT/gt-main-23-20200817.083412-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-main/23-SNAPSHOT/gt-main-23-20200817.083412-54.jar)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-20200817.083305-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-20200817.083305-54.jar)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-referencing/23-SNAPSHOT/gt-referencing-23-20200817.083333-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-referencing/23-SNAPSHOT/gt-referencing-23-20200817.083333-54.jar)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/net.opengis.ows/23-SNAPSHOT/net.opengis.ows-23-20200817.083252-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/net.opengis.ows/23-SNAPSHOT/net.opengis.ows-23-20200817.083252-54.jar)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-20200817.083218-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-20200817.083218-54.jar)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-20200817.083218-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-20200817.083218-54.jar) (359 kB at 515 kB/s)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/org.w3.xlink/23-SNAPSHOT/org.w3.xlink-23-20200817.083227-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/org.w3.xlink/23-SNAPSHOT/org.w3.xlink-23-20200817.083227-54.jar)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-20200817.083305-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-20200817.083305-54.jar) (559 kB at 734 kB/s)
[INFO] Downloading from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.jar](https://repo.osgeo.org/repository/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.jar)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/net.opengis.ows/23-SNAPSHOT/net.opengis.ows-23-20200817.083252-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/net.opengis.ows/23-SNAPSHOT/net.opengis.ows-23-20200817.083252-54.jar) (593 kB at 768 kB/s)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/org.w3.xlink/23-SNAPSHOT/org.w3.xlink-23-20200817.083227-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/ogc/org.w3.xlink/23-SNAPSHOT/org.w3.xlink-23-20200817.083227-54.jar) (54 kB at 62 kB/s)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-main/23-SNAPSHOT/gt-main-23-20200817.083412-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-main/23-SNAPSHOT/gt-main-23-20200817.083412-54.jar) (2.0 MB at 2.2 MB/s)
[INFO] Downloaded from osgeo-snapshots: [https://repo.osgeo.org/repository/snapshot/org/geotools/gt-referencing/23-SNAPSHOT/gt-referencing-23-20200817.083333-54.jar](https://repo.osgeo.org/repository/snapshot/org/geotools/gt-referencing/23-SNAPSHOT/gt-referencing-23-20200817.083333-54.jar) (1.5 MB at 1.5 MB/s)
[INFO] Downloading from geosolutions: [https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.jar](https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/gwc-core-1.17-SNAPSHOT.jar)

If I try to go directly for the file, it’s indeed not there, this is due to how the SNAPSHOTS are managed, they are saved as timestamped files.
To get to those, maven is trying to grab the maven metadata file, here:

https://maven.geo-solutions.it/org/geowebcache/gwc-core/1.17-SNAPSHOT/maven-metadata.xml

However, the file seems to be intermittently missing… I have tried out one minute, this folder did not contain it:
https://repo.osgeo.org/service/rest/repository/browse/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/

and one minute later, it was there instead… I don’t know if it was due to me trying to visit the site using the HTML
interface, or if I was just unlucky and intercepted an update of the file… but the build in question already failed
a couple of times.

I’ve started the build again, and it failed again… not sure what to make of it honestly. For example, gt-main and gt-metadata snapshots
are correctly downloaded using timestamped artifacts, but gwc-core one is not… Seems like it’s not able to grab the pom file, and yet
the maven-metadata lists it:

org.geowebcache
gwc-core
1.17-SNAPSHOT

20200817.094745
60

20200817104239

sources
jar
1.17-20200817.094745-60
20200817094745

jar
1.17-20200817.094745-60
20200817094745

tests
jar
1.17-20200817.094745-60
20200817094745

pom
1.17-20200817.094745-60
20200817094745

It just seems maven is not using this information for gwc-core… and yet, the builds are using -U so they should
be grabbing fresh info from the repository every time (the logs show Maven accessing maven-metadata.xml indeed).

Anyone seeing a reason why this would persistently fail?

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.

However, the file seems to be intermittently missing… I have tried out one minute, this folder did not contain it:

https://repo.osgeo.org/service/rest/repository/browse/snapshot/org/geowebcache/gwc-core/1.17-SNAPSHOT/

and one minute later, it was there instead… I don’t know if it was due to me trying to visit the site using the HTML
interface, or if I was just unlucky and intercepted an update of the file… but the build in question already failed
a couple of times.

It just seems maven is not using this information for gwc-core… and yet, the builds are using -U so they should

be grabbing fresh info from the repository every time (the logs show Maven accessing maven-metadata.xml indeed).

Anyone seeing a reason why this would persistently fail?

Andrea:

David ran into this problem locally yesterday and again today. I have not been able to reproduce the problem or gain any insight.

Is anyone else having problems with the osgeo repository?

A couple updates:

···

So far no real insights into what is going on.

Jody Garnett

Actually, here: https://github.com/geoserver/geoserver/pull/4461 :-p

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.

Thanks

I was able to make some progress today (regenerating maven-metadata.xml files, please retest).

···


Jody Garnett