See
<https://qa.nuxeo.org/hudson/job/sandbox_FT_nuxeo-gsa-connector-default/11/changes>
Changes:
[bdelbosc] NXBT: Add a script to run FT on gsa connector - fix template
------------------------------------------
[...truncated 383 lines...]
[INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-convert:5.4.1-SNAPSHOT: checking
for updates from public-snapshot
[INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-storage-sql-test:5.4.1-SNAPSHOT:
checking for updates from internal-snapshots
[INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-storage-sql-test:5.4.1-SNAPSHOT:
checking for updates from public-snapshot
[INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-storage-sql-ra:5.4.1-SNAPSHOT:
checking for updates from internal-snapshots
[INFO] snapshot org.nuxeo.ecm.core:nuxeo-core-storage-sql-ra:5.4.1-SNAPSHOT:
checking for updates from public-snapshot
[INFO] snapshot
org.nuxeo.ecm.core:nuxeo-core-storage-sql-extensions:5.4.1-SNAPSHOT: checking
for updates from internal-snapshots
[INFO] snapshot
org.nuxeo.ecm.core:nuxeo-core-storage-sql-extensions:5.4.1-SNAPSHOT: checking
for updates from public-snapshot
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target
[INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
[INFO] eclipseVersion:1.0.1.-SNAPSHOT
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 18 source files to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.nuxeo.ecm.platform.gsa.connector.test.NuxeoGsaCheckpointTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/nuxeo-gsa-connector-1.0.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20110106-163348 at timestamp: 1294328028734
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Incremental build test already done. Skipping...
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/nuxeo-gsa-connector-1.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Thu Jan 06 16:33:49 CET 2011
[INFO] Final Memory: 116M/426M
[INFO] ------------------------------------------------------------------------
+ cp target/nuxeo-gsa-connector-1.0.1-SNAPSHOT.jar
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/nxserver/bundles/
+ mvn -o clean dependency:copy-dependencies -DexcludeTransitive=true
-DincludeGroupIds=com.google,org.springframework,net.jmatrix
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Google Search Appliance Connector
[INFO] task-segment: [clean, dependency:copy-dependencies]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target
[INFO] [dependency:copy-dependencies {execution: default-cli}]
[INFO] Copying connector-2.7.0-r2655.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/connector-2.7.0-r2655.jar
[INFO] Copying connector-logging-2.7.0-r2655.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/connector-logging-2.7.0-r2655.jar
[INFO] Copying connector-spi-2.7.0-r2655.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/connector-spi-2.7.0-r2655.jar
[INFO] Copying connector-tests-2.7.0-r2655-nxpatch20101213.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/connector-tests-2.7.0-r2655-nxpatch20101213.jar
[INFO] Copying connector-util-2.7.0-r2655.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/connector-util-2.7.0-r2655.jar
[INFO] Copying guava-r05.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/guava-r05.jar
[INFO] Copying eproperties-1.1.0-r56m.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/eproperties-1.1.0-r56m.jar
[INFO] Copying spring-2.5.6.jar to
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/target/dependency/spring-2.5.6.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Thu Jan 06 16:33:55 CET 2011
[INFO] Final Memory: 86M/332M
[INFO] ------------------------------------------------------------------------
+ cp target/dependency/connector-2.7.0-r2655.jar
target/dependency/connector-logging-2.7.0-r2655.jar
target/dependency/connector-spi-2.7.0-r2655.jar
target/dependency/connector-tests-2.7.0-r2655-nxpatch20101213.jar
target/dependency/connector-util-2.7.0-r2655.jar
target/dependency/eproperties-1.1.0-r56m.jar target/dependency/guava-r05.jar
target/dependency/spring-2.5.6.jar
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/nxserver/lib/
+ cd /opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk
+ cat
+ start_server 127.0.0.1
+ '[' 1 == 2 ']'
+ IP=127.0.0.1
+ check_ports_and_kill_ghost_process 127.0.0.1
+ hostname=127.0.0.1
+ ports='8080 14440'
+ for port in '$ports'
++ lsof -n -i [email protected]:8080
++ grep '(LISTEN)'
++ awk '{print $2}'
+ RUNNING_PID=
+ '[' '!' -z ']'
+ for port in '$ports'
++ lsof -n -i [email protected]:14440
++ grep '(LISTEN)'
++ awk '{print $2}'
+ RUNNING_PID=
+ '[' '!' -z ']'
+
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/nuxeoctl
start
Starting Nuxeo... (pressing Ctrl+C will interrupt starting process)
..................16:34:14,498 INFO [OSGiRuntimeService] Nuxeo EP Started
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 391
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 391 16:34:15,024
INFO [FrameworkBootstrap] Framework started in 15 sec.
+
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh
start
Starting monitoring 2011-01-06 16:34:16+01:00 ...
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh:
line 160: [: postgresql,monitor: binary operator expected
[18359] Monitoring started.
+ '[' -z TRUE ']'
+ cd
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/ftest/funkload
+ make 'EXT=--no-color -dv'
mkdir -p ../report ./log
/bin/true restart
/bin/true restart
fl-run-test test_Gsa.py -v --simple-fetch -e test_available --no-color -dv
test_available (test_Gsa.Gsa) ... test_available: Starting
-----------------------------------
Say hello to the GSA connector manager
test_available: GET:
http://localhost:8080/nuxeo/gsa-connector-manager/HelloClientFromGSA
Page 1: Hello from GSA ...
test_available: Done in 14.499s
ok
----------------------------------------------------------------------
Ran 1 test in 14.501s
OK
fl-run-test -dv --simple-fetch test_Gsa.py -e test_simple --no-color -dv
test_simple (test_Gsa.Gsa) ... test_simple: Starting
-----------------------------------
Simple read only tests
test_simple: GET:
http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorList
Page 1: Get the connector list ...
test_simple: Done in 0.010s
test_simple: GET:
http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorInstanceList
Page 2: Get the connector instance list ...
test_simple: Done in 0.004s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/setConnectorConfigTest
[('ConnectorType', 'nuxeo-connector'), ('ConnectorName', 'nuxeo-connector'),
('Update', 'false')]
Page 3: Create a new connector instance ...
test_simple: Done in 0.078s
test_simple: GET:
http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorInstanceList
Page 4: Get the connector instance list ...
test_simple: Done in 0.004s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data
text/xml]
Page 5: Authenticate ...
test_simple: Done in 0.082s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data
text/xml]
Page 6: Authenticate ...
test_simple: Done in 0.023s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data
text/xml]
Page 7: Authenticate ...
test_simple: Done in 0.005s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/authorization [User data
text/xml]
Page 8: Authorization ...
test_simple: Done in 0.104s
test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/*/browse
Page 9: REST browse * ...
test_simple: Done in 0.116s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/47b57c3d-0e21-42f2-bb0f-387fc26f3417/browse
Page 10: REST browse 47b57c3d-0e21-42f2-bb0f-387fc26f3417 ...
test_simple: Done in 0.022s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/35d410e0-d271-480c-a163-6fb291c1937c/browse
Page 11: REST browse 35d410e0-d271-480c-a163-6fb291c1937c ...
test_simple: Done in 0.006s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/35d410e0-d271-480c-a163-6fb291c1937c/createDocument?docType=Workspace&dublincore%3Atitle=FLNXTEST+GSA+Workspace&dublincore%3Adescription=Test+workspace+description.
Page 12: REST create Workspace: FLNXTEST GSA Workspace ...
test_simple: Done in 0.126s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/5e93e18e-1217-4162-b74d-79adf77773a9/browse
Page 13: REST browse 5e93e18e-1217-4162-b74d-79adf77773a9 ...
test_simple: Done in 0.006s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/5e93e18e-1217-4162-b74d-79adf77773a9/createDocument?docType=Folder&dublincore%3Atitle=FLNXTEST+GSA+Folder&dublincore%3Adescription=Test+folder+description
Page 14: REST create Folder: FLNXTEST GSA Folder ...
test_simple: Done in 0.074s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/1670bb4b-ec12-409a-b79c-034660194007/createDocument?docType=File&dublincore%3Atitle=Flnxtest+hwtjg4r+variegatus+pratensis+leucus+orientalis+stoma&dublincore%3Adescription=FLNXTEST+Rhiza+chilensis+minimus%2C+ennea+caulos+saurus+pelagius.
Page 15: REST create File: Flnxtest hwtjg4r variegatus pratensis leucus
orientalis stoma ...
test_simple: Done in 0.032s
test_simple: GET:
http://localhost:8080/nuxeo/restAPI/default/1670bb4b-ec12-409a-b79c-034660194007/createDocument?docType=File&dublincore%3Atitle=Flnxtest+frqp1+saurus+minor+bradus+chilensis+pedis&dublincore%3Adescription=FLNXTEST+Orientalis+striatus+sativus+%3F%2C+rufus+diplo+octa.
Page 16: REST create File: Flnxtest frqp1 saurus minor bradus chilensis
pedis ...
test_simple: Done in 0.045s
test_simple: POST:
http://localhost:8080/nuxeo/gsa-connector-manager/setScheduleTest
[('ConnectorName', 'nuxeo-connector'), ('load', '20'), ('TimeIntervals', ''),
('forTime', 'all')]
Page 17: Schedule traversal now ...
test_simple: Done in 0.037s
test_simple: Listening feed request: 127.0.0.1:19900 for 10 seconds...
localhost - - [06/Jan/2011 16:34:36] "GET /getbacklogcount HTTP/1.1" 200 -
test_simple: Got no request from the connector manager.
FAIL
======================================================================
FAIL: test_simple (test_Gsa.Gsa)
----------------------------------------------------------------------
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/funkload/FunkLoadTestCase.py", line 897,
in __call__
testMethod()
File
"/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector/ftest/funkload/test_Gsa.py",
line 72, in test_simple
self.assert_('<gsafeed>' in feed)
AssertionError
----------------------------------------------------------------------
Ran 1 test in 1.493s
FAILED (failures=1)
make: *** [gsa] Error 1
+ ret2=2
+ stop_server
+
SERVER_HOME=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat
+
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh
stop
Stopping monitoring 2011-01-06 16:34:36+01:00 ...
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh:
line 160: [: postgresql,monitor: binary operator expected
Monitoring stopped.
Archiving log ...
tar: log/*.html: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
Done:
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/log-20110106-153439.tgz
+
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/nuxeoctl
stop
..Nuxeo stopped.
+ '[' '!' -z secret ']'
+
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh
vacuumdb
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh:
line 160: [: postgresql,monitor: binary operator expected
Vacuuming qualiscope-ci-6 2011-01-06 16:34:42+01:00 ...
Reindexing qualiscope-ci-6 2011-01-06 16:34:42+01:00 ...
Done 2011-01-06 16:34:43+01:00
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ grep ' ERROR \['
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/server.log
+ sed 's/^.\{24\}//g'
+ sort
+ uniq -c
+ sort -nr
+ head
1 ERROR [com.google.enterprise.connector.traversal.QueryTraverser] Feed
Exception during traversal.
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR '
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/server.log
485 :2011-01-06 16:34:36,424 ERROR
[com.google.enterprise.connector.traversal.QueryTraverser] Feed Exception
during traversal.
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/console.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/gc.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/nuxeo-error.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/pgsql.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/reindexdb.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/server.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/stderr.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/sysstat-sar.log
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/vacuum.log
+ gzip -cd
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/log/server.log.gz
+ '[' -eq 0 -a 2 -eq 0 ']'
./build-and-test-gsa-connector.sh: line 76: [: too many arguments
+ exit 9
Archiving artifacts
_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa