See <https://qa.nuxeo.org/hudson/job/FT-nuxeo-5.4-funkload-rest-and-web/2063/>

------------------------------------------
[...truncated 2581 lines...]
+ set_key_value mail.smtp.port 2500
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.smtp.port
+ value=2500
++ grep -E '^#?mail.smtp.port=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?mail.smtp.port=.*$/mail.smtp.port=2500/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value mail.from FT-nuxeo-5.4-funkload-rest-and-web@muradin
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.from
+ value=FT-nuxeo-5.4-funkload-rest-and-web@muradin
++ grep -E '^#?mail.from=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 
's/^#?mail.from=.*$/mail.from=FT-nuxeo-5.4-funkload-rest-and-web@muradin/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ cat
+ chmod u+x 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/catalina.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/digest.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/monitorctl.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nxdeploy.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/setclasspath.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/shutdown.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/startup.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/tool-wrapper.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/version.sh
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeoctl
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/openofficectl
+ '[' tomcat = jboss ']'
+ '[' tomcat = tomcat ']'
+ echo org.nuxeo.systemlog.token=dolog
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/integration-lib.sh:
 line 179: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/nxserver/config/selenium.properties:
 No such file or directory
+ '[' '!' -z secret ']'
+ setup_postgresql_database
+ '[' 0 == 1 ']'
+ '[' -z secret ']'
+ DBNAME=qualiscope-ci-4
+ DBPORT=5432
+ DBUSER=qualiscope
+ DBHOST=localhost
+ find_postgresql_log
+ logs=("$PGSQL_LOG" "/var/log/pgsql" 
"/var/log/postgresql/postgresql-8.4-main.log" 
"/var/log/postgresql/postgresql-8.3-main.log")
+ (( i=0 ))
+ (( i<4 ))
+ '[' -f '' ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/pgsql ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/postgresql/postgresql-8.4-main.log ']'
+ (( i++ ))
+ (( i<4 ))
+ '[' -f /var/log/postgresql/postgresql-8.3-main.log ']'
+ PGSQL_LOG=/var/log/postgresql/postgresql-8.3-main.log
+ return
+ echo '### Initializing PostgreSQL DATABASE: qualiscope-ci-4'
### Initializing PostgreSQL DATABASE: qualiscope-ci-4
+ dropdb qualiscope-ci-4 -U qualiscope -h localhost -p 5432
+ '[' 0 '!=' 0 ']'
+ createdb qualiscope-ci-4 -U qualiscope -h localhost -p 5432
+ createlang plpgsql qualiscope-ci-4 -U qualiscope -h localhost -p 5432
createlang: language "plpgsql" is already installed in database 
"qualiscope-ci-4"
+ 
NUXEO_CONF=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ activate_db_template postgresql
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ db=postgresql
+ get_templates_list
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
++ grep -E '^#?nuxeo.templates=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ perl -p -e 's/^#?nuxeo.templates=//'
++ tr , ' '
+ templates='default monitor'
+ newtemplates=
+ for t in '$templates'
+ '[' default = default ']'
+ t=postgresql
+ '[' '!' -z ']'
+ newtemplates+=postgresql
+ for t in '$templates'
+ '[' monitor = default ']'
+ '[' '!' -z postgresql ']'
+ newtemplates+=,
+ newtemplates+=monitor
+ perl -p -i -e 's/^#?nuxeo.templates=.*$/nuxeo.templates=postgresql,monitor/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.db.port 5432
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.port
+ value=5432
++ grep -E '^#?nuxeo.db.port=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.port=.*$/nuxeo.db.port=5432/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.db.name qualiscope-ci-4
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.name
+ value=qualiscope-ci-4
++ grep -E '^#?nuxeo.db.name=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.name=.*$/nuxeo.db.name=qualiscope-ci-4/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.db.user qualiscope
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.user
+ value=qualiscope
++ grep -E '^#?nuxeo.db.user=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.user=.*$/nuxeo.db.user=qualiscope/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.db.password secret
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.password
+ value=secret
++ grep -E '^#?nuxeo.db.password=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.password=.*$/nuxeo.db.password=secret/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.db.max-pool-size 40
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.max-pool-size
+ value=40
++ grep -E '^#?nuxeo.db.max-pool-size=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.max-pool-size=.*$/nuxeo.db.max-pool-size=40/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ set_key_value nuxeo.vcs.max-pool-size 40
+ '[' -z 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.vcs.max-pool-size
+ value=40
++ grep -E '^#?nuxeo.vcs.max-pool-size=' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.vcs.max-pool-size=.*$/nuxeo.vcs.max-pool-size=40/g' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
+ 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'
++ grep '(LISTEN)'
++ lsof -n -i [email protected]:8080
++ 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/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeoctl
 start
Launcher command: java -Dlauncher.java.opts=-server -Xms1g -Xmx1g 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:$DIRNAME/../log/gc.log 
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat
 
-Dnuxeo.conf=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 -jar 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo-launcher.jar
 start
Nuxeo home:          
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat
Nuxeo configuration: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/common
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/default
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/postgresql
Template 'monitor' not found with relative or absolute path 
(/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/monitor).
 Check your nuxeo.templates parameter, and nuxeo.template.includes for included 
files.
Detected Tomcat server.
No current configuration, generating files...
Configuration files generated.
Server started with process ID 12501.
..............................
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 400
======================================================================
Started in 0min30s
+ 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/monitorctl.sh
 start
+ cd 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload
+ make EXT=--no-color
mkdir -p ../../target/ftest/funkload/report ../../target/ftest/funkload/log
fl-monitor-ctl monitor.conf restart
Starting monitor server at http://localhost:55502/ as daemon.
fl-credential-ctl credential.conf restart
Starting file_credential server at http://localhost:55501/ as daemon.
fl-run-test test_pages.py --simple-fetch -v -e testAvailable --no-color
testAvailable (test_pages.Pages) ... FAIL

======================================================================
FAIL: testAvailable (test_pages.Pages)
----------------------------------------------------------------------
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/FT-nuxeo-5.4-funkload-rest-and-web/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/test_pages.py",
 line 35, in testAvailable
    p = BasePage(self).available()
  File 
"/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/nuxeo/pages.py",
 line 74, in available
    description="Check if the server is alive")
  File 
"/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/nuxeo/testcase.py",
 line 124, in get
    ret = FunkLoadTestCase.get(self, url, params, description, ok_codes)
  File "build/bdist.linux-x86_64/egg/funkload/FunkLoadTestCase.py", line 387, 
in get
    method="get")
  File "build/bdist.linux-x86_64/egg/funkload/FunkLoadTestCase.py", line 299, 
in _browse
    response = self._connect(url, params, ok_codes, method, description)
  File "build/bdist.linux-x86_64/egg/funkload/FunkLoadTestCase.py", line 212, 
in _connect
    raise self.failureException, str(value.response)
AssertionError: /nuxeo/login.jsp
HTTP Response 404: Not Found

----------------------------------------------------------------------
Ran 1 test in 10.202s

FAILED (failures=1)
make: *** [start] Error 1
+ ret1=2
+ stop_server
+ 
SERVER_HOME=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat
+ 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/monitorctl.sh
 stop
+ 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeoctl
 stop
Launcher command: java -Dlauncher.java.opts=-server -Xms1g -Xmx1g 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:$DIRNAME/../log/gc.log 
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat
 
-Dnuxeo.conf=/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
 -jar 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo-launcher.jar
 stop
Nuxeo home:          
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat
Nuxeo configuration: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/nuxeo.conf
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/common
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/default
Include template: 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/postgresql
Template 'monitor' not found with relative or absolute path 
(/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/templates/monitor).
 Check your nuxeo.templates parameter, and nuxeo.template.includes for included 
files.
Stopping server.....Server stopped.
+ '[' '!' -z secret ']'
+ 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/bin/monitorctl.sh
 vacuumdb
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ grep ' ERROR \[' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/server.log
+ sed 's/^.\{24\}//g'
+ sort
+ uniq -c
+ sort -nr
+ head
      1 ERROR 
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] 
Exception sending context initialized event to listener instance of class 
org.nuxeo.opensocial.servlet.ContextListenerDelayer
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR ' 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/server.log
 473    :2011-01-25 21:21:23,046 ERROR 
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] 
Exception sending context initialized event to listener instance of class 
org.nuxeo.opensocial.servlet.ContextListenerDelayer
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/console.log
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/nuxeo-error.log
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/server.log
 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/stderr.log
+ gzip -cd 
/opt/hudson/tmp/workspace/FT-nuxeo-5.4-funkload-rest-and-web/trunk/tomcat/log/server.log.gz
+ '[' 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