[Geoserver-devel] Running CITE tests from the command line

Andrea,

I am trying to run CITE tests from the command line (not via Jenkins). The documented procedure references jdeolive/geoserver-cite-tools but there is a fork geoserver/geoserver-cite-tools. Both have a broken git submodule for "engine" (jdeolive/teamengine moved to jdeolive/teamengine-old). I started with geoserver/geoserver-cite-tools and removed the broken "engine" submodule and replaced it with a new submodule geoserver/teamengine, but build failed during "mvn install":

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project cite: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] java.io.FileNotFoundException: /home/ben/geoserver/cite/geoserver-cite-tools/engine/build.xml (No such file or directory)
[ERROR] around Ant part ...<ant dir="/home/ben/geoserver/cite/geoserver-cite-tools/engine"/>... @ 4:68 in /home/ben/geoserver/cite/geoserver-cite-tools/target/antrun/build-main.xml

- Am I working with the right repository (geoserver/geoserver-cite-tools)?

- Do you have a working recipe to run the CITE tests from the command line?

Kind regards,

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Hi Ben,
I don’t have much guidance there, I guess Justin removed his fork of teamengine from github?

I’ve been trying to get an update of the CITE tests for a long while now (months) but unfortunately
everything is stuck on Ares not having the new stuff working (and waiting for the new box apparently).

Unfortunatley I no longer have a working checkout of the old cite tools, but I still have a tomcat
with the teamengine deployed, that hopefully will get you going (it’s late, I haven’t tried it out).
I’m going to send it over via private mail

Cheers
Andrea

···

On Mon, Nov 16, 2015 at 9:40 PM, Ben Caradoc-Davies <ben@anonymised.com> wrote:

Andrea,

I am trying to run CITE tests from the command line (not via Jenkins). The documented procedure references jdeolive/geoserver-cite-tools but there is a fork geoserver/geoserver-cite-tools. Both have a broken git submodule for “engine” (jdeolive/teamengine moved to jdeolive/teamengine-old). I started with geoserver/geoserver-cite-tools and removed the broken “engine” submodule and replaced it with a new submodule geoserver/teamengine, but build failed during “mvn install”:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project cite: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] java.io.FileNotFoundException: /home/ben/geoserver/cite/geoserver-cite-tools/engine/build.xml (No such file or directory)
[ERROR] around Ant part …… @ 4:68 in /home/ben/geoserver/cite/geoserver-cite-tools/target/antrun/build-main.xml

  • Am I working with the right repository (geoserver/geoserver-cite-tools)?

  • Do you have a working recipe to run the CITE tests from the command line?

Kind regards,


Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

==
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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Thanks.

Justin renamed his old repo from teamengine to teamengine-old and made a new fork, but the submodule in geoserver-cite-tools still references a commit in jdeolive/teamengine-old but is using the url for jdeolive/teamengine, which is never going to work as they have different history.

Perhaps a better question is, what is installed on ares and run by Jenkins? A good place to start would be the geoserver-cite-tools (whatever) for the CITE tests that were working last month. I see nothing in Jenkins that clones or builds geoserver-cite-tools. I suspect that geoserver-cite-tools was installed manually on ares. Jenkins runs a file run.sh that I cannot find in github and may be a local file on ares. AFAICT this file is not documented or in source control or in Jenkins.

Jody, do you know what geoserver-cite-tools is installed on ares, and what version?

Kind regards,
Ben.

On 17/11/15 09:55, Andrea Aime wrote:

Hi Ben,
I don't have much guidance there, I guess Justin removed his fork of
teamengine from github?

I've been trying to get an update of the CITE tests for a long while now
(months) but unfortunately
everything is stuck on Ares not having the new stuff working (and waiting
for the new box apparently).

Unfortunatley I no longer have a working checkout of the old cite tools,
but I still have a tomcat
with the teamengine deployed, that hopefully will get you going (it's late,
I haven't tried it out).
I'm going to send it over via private mail

Cheers
Andrea

On Mon, Nov 16, 2015 at 9:40 PM, Ben Caradoc-Davies <ben@anonymised.com>
wrote:

Andrea,

I am trying to run CITE tests from the command line (not via Jenkins). The
documented procedure references jdeolive/geoserver-cite-tools but there is
a fork geoserver/geoserver-cite-tools. Both have a broken git submodule for
"engine" (jdeolive/teamengine moved to jdeolive/teamengine-old). I started
with geoserver/geoserver-cite-tools and removed the broken "engine"
submodule and replaced it with a new submodule geoserver/teamengine, but
build failed during "mvn install":

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project
cite: An Ant BuildException has occured: The following error occurred while
executing this line:
[ERROR] java.io.FileNotFoundException:
/home/ben/geoserver/cite/geoserver-cite-tools/engine/build.xml (No such
file or directory)
[ERROR] around Ant part ...<ant
dir="/home/ben/geoserver/cite/geoserver-cite-tools/engine"/>... @ 4:68 in
/home/ben/geoserver/cite/geoserver-cite-tools/target/antrun/build-main.xml

- Am I working with the right repository (geoserver/geoserver-cite-tools)?

- Do you have a working recipe to run the CITE tests from the command line?

Kind regards,

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand