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

------------------------------------------
[...truncated 283 lines...]
+ '[' jboss = jboss ']'
+ 
SERVER_BUNDLES=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/bundles/
+ 
SERVER_LIB=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/lib/
+ GSA_TPL=gsa_jboss
+ rm -f 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/hdscanner-jboss-beans.xml
+ cd 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/nuxeo-gsa-connector
+ mvn clean package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Google Search Appliance Connector
[INFO]    task-segment: [clean, package]
[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] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20110111-105153 at timestamp: 1294739513130
[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 19 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.134 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: 20110111-105201 at timestamp: 1294739521284
[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: 10 seconds
[INFO] Finished at: Tue Jan 11 10:52:01 CET 2011
[INFO] Final Memory: 118M/436M
[INFO] ------------------------------------------------------------------------
+ cp target/nuxeo-gsa-connector-1.0.1-SNAPSHOT.jar 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/server/default/deploy/nuxeo.ear/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: Tue Jan 11 10:52:07 CET 2011
[INFO] Final Memory: 86M/330M
[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/jboss/server/default/deploy/nuxeo.ear/lib/
+ cd /opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk
+ cat
+ '[' jboss = tomcat ']'
+ 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
++ grep '(LISTEN)'
++ awk '{print $2}'
+ RUNNING_PID=
+ '[' '!' -z ']'
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeoctl
 start
Starting Nuxeo... (pressing Ctrl+C will interrupt starting process)
................................................................................10:53:31,458
 INFO  [OSGiRuntimeService] Nuxeo EP Started
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 402
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 402
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/monitorctl.sh
 start
ERROR: You need to install logtail package.
+ '[' -z TRUE ']'
+ ret1=0
+ 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 8.966s
ok

----------------------------------------------------------------------
Ran 1 test in 8.986s

OK
fl-run-test -dv --simple-fetch test_Gsa.py -e test_simple --no-color -dv
test_simple (test_Gsa.Gsa) ... test_simple: Starting 
-----------------------------------
        Create and test a Nuxeo connector
test_simple: GET: 
http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorList
        Page 1: Get the connector list ...
test_simple:  Done in 0.006s
test_simple: GET: 
http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorInstanceList
        Page 2: Get the connector instance list ...
test_simple:  Done in 0.006s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data 
text/xml]
        Page 3: Authenticate ...
test_simple:  Done in 0.129s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data 
text/xml]
        Page 4: Authenticate ...
test_simple:  Done in 0.007s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data 
text/xml]
        Page 5: Authenticate ...
test_simple:  Done in 0.011s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authorization [User data 
text/xml]
        Page 6: Authorization ...
test_simple:  Done in 0.109s
test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/*/browse
        Page 7: REST browse * ...
test_simple:  Done in 0.328s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/f86b80da-9f66-45b1-8b63-dcd333cba27d/browse
        Page 8: REST browse f86b80da-9f66-45b1-8b63-dcd333cba27d ...
test_simple:  Done in 0.039s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/910d359b-e9ac-4661-9ab0-7b89b9f55b9f/browse
        Page 9: REST browse 910d359b-e9ac-4661-9ab0-7b89b9f55b9f ...
test_simple:  Done in 0.040s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/910d359b-e9ac-4661-9ab0-7b89b9f55b9f/createDocument?docType=Workspace&dublincore%3Atitle=FLNXTEST+GSA+Workspace&dublincore%3Adescription=Test+workspace+description.
        Page 10: REST create Workspace: FLNXTEST GSA Workspace ...
test_simple:  Done in 0.331s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/03b99620-536f-403b-b39a-6e22945e0138/browse
        Page 11: REST browse 03b99620-536f-403b-b39a-6e22945e0138 ...
test_simple:  Done in 0.266s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/03b99620-536f-403b-b39a-6e22945e0138/createDocument?docType=Folder&dublincore%3Atitle=FLNXTEST+GSA+Folder&dublincore%3Adescription=Test+folder+description
        Page 12: REST create Folder: FLNXTEST GSA Folder ...
test_simple:  Done in 0.340s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/1c91130d-5abe-4518-8ee7-77cee94c14a1/createDocument?docType=File&dublincore%3Atitle=Flnxtest+mz8yk9t+verrucosus+gaster+fulvus+echinus+phyllo&dublincore%3Adescription=FLNXTEST+Dactylus+flora+nona+hexa+erythro+pelagius+tomentosus+fuscus+caulos+tomentosus+lipsem+rhytis+nona+so+rufus+nothos+tris.
        Page 13: REST create File: Flnxtest mz8yk9t verrucosus gaster fulvus 
echinus phyllo ...
test_simple:  Done in 0.359s
test_simple: GET: 
http://localhost:8080/nuxeo/restAPI/default/1c91130d-5abe-4518-8ee7-77cee94c14a1/createDocument?docType=File&dublincore%3Atitle=Flnxtest+ecxbm+dermis+glycis+sit+campus+hortensis&dublincore%3Adescription=FLNXTEST+Platy+novaehollandiae+bradus+tris+brachy+glycis+arvensis+cephalus+albus+phyllo+phyllo+dactylus+brevis+it+sativus.
        Page 14: REST create File: Flnxtest ecxbm dermis glycis sit campus 
hortensis ...
test_simple:  Done in 0.328s
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/setScheduleTest 
[('ConnectorName', 'nuxeo-connector'), ('load', '200'), ('TimeIntervals', ''), 
('forTime', 'all')]
        Page 15: Schedule traversal now ...
test_simple:  Done in 0.090s
test_simple: Listening feed request: 127.0.0.1:19900 for 30 seconds...
localhost - - [11/Jan/2011 10:53:48] "GET /getdtd HTTP/1.1" 200 -
test_simple: Listening feed request: 127.0.0.1:19900 for 30 seconds...
localhost - - [11/Jan/2011 10:53:48] "POST /xmlfeed HTTP/1.1" 200 -
test_simple: POST: 
http://localhost:8080/nuxeo/gsa-connector-manager/authorization [User data 
text/xml]
        Page 16: Authorization ...
test_simple:  Done in 0.028s
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 82, in test_simple
    self.assert_("Permit" in self.getBody())
AssertionError

----------------------------------------------------------------------
Ran 1 test in 3.705s

FAILED (failures=1)
make: *** [gsa] Error 1
+ ret2=2
+ stop_server
+ 
SERVER_HOME=/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/monitorctl.sh
 stop
ERROR: You need to install logtail package.
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/nuxeoctl
 stop
....Nuxeo stopped.
+ '[' '!' -z secret ']'
+ 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/bin/monitorctl.sh
 vacuumdb
ERROR: You need to install logtail package.
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ grep ' ERROR \[' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/server.log
+ sed 's/^.\{24\}//g'
+ sort
+ uniq -c
+ sort -nr
+ head
      2 ERROR 
[org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaAuthorizationManager] 
org.jboss.security.SimplePrincipal cannot be cast to 
org.nuxeo.ecm.core.api.NuxeoPrincipal
      1 ERROR [org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaTraversalManager] 
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR ' 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/server.log
1516    :2011-01-11 10:53:20,441 ERROR 
[org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaTraversalManager] 
1652    :2011-01-11 10:53:44,827 ERROR 
[org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaAuthorizationManager] 
org.jboss.security.SimplePrincipal cannot be cast to 
org.nuxeo.ecm.core.api.NuxeoPrincipal
1785    :2011-01-11 10:53:48,226 ERROR 
[org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaAuthorizationManager] 
org.jboss.security.SimplePrincipal cannot be cast to 
org.nuxeo.ecm.core.api.NuxeoPrincipal
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/boot.log
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/console.log
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/gc.log
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/nuxeo-error.log
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/server.log
 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/stderr.log
+ gzip -cd 
/opt/hudson/tmp/workspace/sandbox_FT_nuxeo-gsa-connector-default/trunk/jboss/log/server.log.gz
+ '[' 0 -eq 0 -a 2 -eq 0 ']'
+ exit 9
Archiving artifacts

_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa

Reply via email to