See 
<https://qa.nuxeo.org/hudson/job/sandbox_FT_nuxeo-gsa-connector-default/12/changes>

Changes:

[bdelbosc] NXBT: Add a script to run FT on gsa connector - fix ip

------------------------------------------
[...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.157 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-163750 at timestamp: 1294328270126
[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: 19 seconds
[INFO] Finished at: Thu Jan 06 16:37:50 CET 2011
[INFO] Final Memory: 116M/433M
[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:37:57 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 localhost
+ '[' 1 == 2 ']'
+ IP=localhost
+ check_ports_and_kill_ghost_process localhost
+ hostname=localhost
+ ports='8080 14440'
+ for port in '$ports'
++ lsof -n -i t...@localhost:8080
++ grep '(LISTEN)'
++ awk '{print $2}'
+ RUNNING_PID=
+ '[' '!' -z ']'
+ for port in '$ports'
++ lsof -n -i t...@localhost:14440
++ awk '{print $2}'
++ grep '(LISTEN)'
+ 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:38:14,556 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
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/tomcat/bin/monitorctl.sh
 start
Starting monitoring 2011-01-06 16:38: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
[20339] 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 15.048s
ok

----------------------------------------------------------------------
Ran 1 test in 15.050s

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.070s
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.079s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data 
text/xml]
        Page 6: Authenticate ...
test_simple:  Done in 0.007s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data 
text/xml]
        Page 7: Authenticate ...
test_simple:  Done in 0.006s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authorization [User data 
text/xml]
        Page 8: Authorization ...
test_simple:  Done in 0.100s
test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/*/browse
        Page 9: REST browse * ...
test_simple:  Done in 0.174s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/cc914bd7-aeaa-4b74-8151-5ef3a41bbf19/browse
        Page 10: REST browse cc914bd7-aeaa-4b74-8151-5ef3a41bbf19 ...
test_simple:  Done in 0.009s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/c1e31f61-c0e0-4cb4-91ab-7056c9c45c86/browse
        Page 11: REST browse c1e31f61-c0e0-4cb4-91ab-7056c9c45c86 ...
test_simple:  Done in 0.006s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/c1e31f61-c0e0-4cb4-91ab-7056c9c45c86/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.157s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/859b3325-a787-45fb-b476-17889c8c2f0e/browse
        Page 13: REST browse 859b3325-a787-45fb-b476-17889c8c2f0e ...
test_simple:  Done in 0.021s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/859b3325-a787-45fb-b476-17889c8c2f0e/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.038s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/61b7195a-fdc0-477e-aa5a-19bfb983fe78/createDocument?docType=File&dublincore%3Atitle=Flnxtest+8sey6etv+archaeos+so+caulos+rhytis+viridis&dublincore%3Adescription=FLNXTEST+Leucus+punctatus+familiaris+rubra+minor+tetra.
        Page 15: REST create File: Flnxtest 8sey6etv archaeos so caulos rhytis 
viridis ...
test_simple:  Done in 0.038s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/61b7195a-fdc0-477e-aa5a-19bfb983fe78/createDocument?docType=File&dublincore%3Atitle=Flnxtest+9tvt93+deca+it+via+octa+ennea&dublincore%3Adescription=FLNXTEST+Minor+lineatus%2C+australis+ortho+ventrus+striatus%2C+dorsum+mono+verrucosus+officinalis+maximus.
        Page 16: REST create File: Flnxtest 9tvt93 deca it via octa ennea ...
test_simple:  Done in 0.093s
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.066s
test_simple: Listening feed request: 127.0.0.1:19900 for 10 seconds...
localhost - - [06/Jan/2011 16:38: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.460s

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:38:37+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-153839.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-4 2011-01-06 16:38:43+01:00 ...
Reindexing qualiscope-ci-4 2011-01-06 16:38:43+01:00 ...
Done 2011-01-06 16:38: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:38:37,118 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

Reply via email to