See <https://qa.nuxeo.org/hudson/job/sandbox_FT_nuxeo-gsa-connector-default/31/changes>
Changes: [bdelbosc] GSA disable the JBoss hdscanner to prevent double deployment ------------------------------------------ [...truncated 273 lines...] pulling from http://hg.nuxeo.org/sandbox/nuxeo-gsa-connector searching for changes no changes found + hg up -C 0 files updated, 0 files merged, 0 files removed, 0 files unresolved + '[' jboss = tomcat ']' + '[' 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-101454 at timestamp: 1294737294448 [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.273 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-101506 at timestamp: 1294737306387 [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: 18 seconds [INFO] Finished at: Tue Jan 11 10:15:06 CET 2011 [INFO] Final Memory: 118M/418M [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:15:13 CET 2011 [INFO] Final Memory: 86M/331M [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 ++ awk '{print $2}' ++ grep '(LISTEN)' + 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:16:41,712 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 6.268s ok ---------------------------------------------------------------------- Ran 1 test in 6.301s 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.034s test_simple: GET: http://localhost:8080/nuxeo/gsa-connector-manager/getConnectorInstanceList Page 2: Get the connector instance list ... test_simple: Done in 0.016s test_simple: POST: http://localhost:8080/nuxeo/gsa-connector-manager/authenticate [User data text/xml] Page 3: Authenticate ... test_simple: Done in 0.330s 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.005s test_simple: POST: http://localhost:8080/nuxeo/gsa-connector-manager/authorization [User data text/xml] Page 6: Authorization ... test_simple: Done in 0.176s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/*/browse Page 7: REST browse * ... test_simple: Done in 2.332s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/a0e35dd7-4ed3-47ac-aaed-83cd34980b21/browse Page 8: REST browse a0e35dd7-4ed3-47ac-aaed-83cd34980b21 ... test_simple: Done in 0.041s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/df44c49c-1f92-4814-954f-b386e597d956/browse Page 9: REST browse df44c49c-1f92-4814-954f-b386e597d956 ... test_simple: Done in 0.069s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/df44c49c-1f92-4814-954f-b386e597d956/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.504s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/9539dc40-475f-44fe-86d1-4cc8eb302d7d/browse Page 11: REST browse 9539dc40-475f-44fe-86d1-4cc8eb302d7d ... test_simple: Done in 0.047s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/9539dc40-475f-44fe-86d1-4cc8eb302d7d/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.295s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/871f1ba8-2a7d-4050-a217-72c901543732/createDocument?docType=File&dublincore%3Atitle=Flnxtest+8x4mzmcm+palustris+tinctorius+ennea+tetra+protos&dublincore%3Adescription=FLNXTEST+Trich+verrucosus+fuscus+stoma+minimus+silvestris+phyllo%2C+volans+delorum+albus+tetra+platy+diplo+argentatus+obscurus+chloreus+oeos+albus+notos. Page 13: REST create File: Flnxtest 8x4mzmcm palustris tinctorius ennea tetra protos ... test_simple: Done in 0.418s test_simple: GET: http://localhost:8080/nuxeo/restAPI/default/871f1ba8-2a7d-4050-a217-72c901543732/createDocument?docType=File&dublincore%3Atitle=Flnxtest+pu31av+officinalis+indicus+variegatus+glycis+familiaris&dublincore%3Adescription=FLNXTEST+Hexa+penta+oleum+tetra+albus+nothos+indicus+pedis+phyton+viridis+ventrus+albus+cristatus+deca. Page 14: REST create File: Flnxtest pu31av officinalis indicus variegatus glycis familiaris ... test_simple: Done in 0.230s 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.115s test_simple: Listening feed request: 127.0.0.1:19900 for 30 seconds... localhost - - [11/Jan/2011 10:23:27] "POST / HTTP/1.1" 200 - 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 78, in test_simple self.assert_('<gsafeed>' in feed) AssertionError ---------------------------------------------------------------------- Ran 1 test in 392.474s 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 1 ERROR [org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaTraversalManager] 1 ERROR [org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaAuthorizationManager] org.jboss.security.SimplePrincipal cannot be cast to org.nuxeo.ecm.core.api.NuxeoPrincipal + 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:16:30,205 ERROR [org.nuxeo.ecm.platform.gsa.connector.NuxeoGsaTraversalManager] 1652 :2011-01-11 10:16:55,293 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
