Yesterday, Jody, Nick, Ben and I had a meeting to debug cite tests on the
new build server.

To do this, we tried to get a single cite test (cite-wfs-1.1) working. We
identified, and fixed, a number a of issues. So far, the steps to get the
tests working have been:

Prerequisites

   - git
   - ant
   - maven
   - postgreSQL, installed locally, with a `cite` user.*


Setup:
cd geoserver-cite #cite test jenkins workspace
copy run.sh and setEnv.sh to current dir.**

mkdir geoserver
mkdir geoserver_data
git clone git://github.com/geoserver/geoserver.git git
git clone https://github.com/geoserver/geoserver-cite-tools.git tools

cd tools
git submodule update --init # ***
mvn install

cd ..
cp -rf tools/forms .

mvn install

Then, configure jenkins to run:

./run.sh ${CITE_TEST_NAME} ${GEOSERVER_BRANCH}

* The init.sh
<https://github.com/geoserver/geoserver/blob/master/data/citewfs-1.1/init.sh>
script was modified to support postgis 2. This will cause cite tests to
fail on ares; as long as cite tests get working on apollo promptly, this
should be fine
** run.sh was modified to copy the geoserver nightly from the new location
on apollo.
*** The geoserver-cite-tools engine submodule was pointing to a commit
which no longer existed. This has been fixed; the commit in question is now
available on the "headless" branch of the geoserver/teamengine fork.


Current status:

cite-wfs-1.1 is running, but failing. Current failure is (see
https://build.geoserver.org/view/cite/job/cite-wfs-1.1/1498/consoleFull ):

run-test:
     [exec] Oct 12, 2017 7:26:27 PM com.occamlab.te.Generator generateXsl
     [exec] INFO: Validating
/var/jenkins/workspace/geoserver-cite/tools/engine/apps/engine/resources/com/occamlab/te/scripts/parsers.ctl
     [exec] Oct 12, 2017 7:26:27 PM com.occamlab.te.Generator generateXsl
     [exec] INFO: Validating
/var/jenkins/workspace/geoserver-cite/tools/engine/apps/engine/resources/com/occamlab/te/scripts/functions.ctl
     [exec] Oct 12, 2017 7:26:28 PM com.occamlab.te.Generator generateXsl
     [exec] INFO: Validating
/var/jenkins/workspace/geoserver-cite/tools/engine/scripts/wfs-1.1.0/ctl/all.xml
     [exec] Checking for
/var/jenkins/workspace/geoserver-cite/forms/wfs-1.1.0.xml
     [exec] Testing suite ctl:wfs-1.1.0-compliance-suite...
     [exec]    Testing wfs:wfs-main (wfs-1.1.0)...
     [exec]       Assertion: WFS 1.1.0 Tests
     [exec] Oct 12, 2017 7:26:29 PM com.occamlab.te.TECore parse
     [exec] SEVERE: parse Error
     [exec] java.net.ConnectException: Connection refused (Connection refused)
     [exec]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [exec]     at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
     [exec]     at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
     [exec]     at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
     [exec]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
     [exec]     at java.net.Socket.connect(Socket.java:589)
     [exec]     at java.net.Socket.connect(Socket.java:538)
     [exec]     at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
     [exec]     at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
     [exec]     at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
     [exec]     at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
     [exec]     at sun.net.www.http.HttpClient.New(HttpClient.java:339)
     [exec]     at sun.net.www.http.HttpClient.New(HttpClient.java:357)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
     [exec]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
     [exec]     at com.occamlab.te.TECore.parse(TECore.java:1501)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to