See <https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/changes>

Changes:

[bdelbosc] Add a script to run a bench on the same instance.

------------------------------------------
Started by user bdelbosc
Building remotely on chipolata
Updating https://svn.nuxeo.org/nuxeo/tools/qa/nuxeo-integration-release/trunk
AU        rebench.sh
At revision 33942
[FT-nuxeo-5.4-funkload-bench] $ /bin/sh -xe /tmp/hudson8413689269034777735.sh
+ cd trunk
+ PGPASSWORD=secret DBPORT=5432 JVM_XMX=2g SERVER=tomcat ./rebench.sh
+ PRODUCT=dm
+ SERVER=tomcat
+ BENCH_TARGET=bench-reader
+++ dirname ./rebench.sh
++ cd .
++ pwd -P
+ HERE=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk>
+ . 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/integration-lib.sh>
++++ dirname ./rebench.sh
+++ cd .
+++ pwd -P
++ HERE=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk>
++ JVM_XMX=2g
++ NXVERSION=5.4
++ 
NXDISTRIBUTION=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4>
++ 
JBOSS_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/jboss>
++ 
TOMCAT_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
++ 
JETTY_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/jetty>
++ SERVER=tomcat
++ '[' tomcat = tomcat ']'
++ 
SERVER_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
++ 
TOMCAT_LIB=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/lib>
++ 
SERVER_LIB=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/lib>
++ . 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/integration-dblib.sh>
+ rm -rf ./report ./results
+ mkdir ./results
+ update_distribution_source
+ '[' '!' -d 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4>
 ']'
+ cd 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4>
+ hg pull
pulling from http://hg.nuxeo.org/nuxeo/nuxeo-distribution
searching for changes
no changes found
+ hg up -C 5.4
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ 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 ']'
+ 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeoctl>
 start
Launcher command: java -Dlauncher.java.opts=-server -Xms2g -Xmx2g 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:${nuxeo.log.dir}/gc.log 
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
 
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 -jar 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo-launcher.jar>
 start
Nuxeo home:          
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
Nuxeo configuration: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/common>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/default>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/postgresql>
Template 'monitor' not found with relative or absolute path 
(<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/monitor).>
 Check your nuxeo.templates parameter, and nuxeo.template.includes for included 
files.
Detected Tomcat server.
Configuration files generation (nuxeo.force.generation=true)...
Configuration files generated.
Server started with process ID 24064.
.............................
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 402
======================================================================
Started in 0min29s
+ 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>
 start
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>:
 line 121: -server -Xms2g -Xmx2g -XX:MaxPermSize=512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 
-Xloggc:${nuxeo.log.dir}/gc.log -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps: bad substitution
Starting monitoring 2011-02-28 10:54:52+01:00 ...
[24288] Monitoring started.
+ echo 'Benching nuxeo ep ...'
Benching nuxeo ep ...
+ 
test_path=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/>
+ cd 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/>
+ make bench-reader EXT=--no-color
fl-run-test --simple-fetch -v -m 0 -M 0 test_nuxeo.py -e testReader --no-color
testReader (test_nuxeo.Nuxeo) ... ERROR

======================================================================
ERROR: testReader (test_nuxeo.Nuxeo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/funkload-1.14.1a-py2.6.egg/funkload/FunkLoadTestCase.py",
 line 910, in __call__
    self.setUp()
  File 
"<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/test_nuxeo.py";,>
 line 40, in setUp
    NuxeoTestCase.setUp(self)
  File 
"<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/nuxeo/testcase.py";,>
 line 56, in setUp
    'admin')
  File 
"/usr/local/lib/python2.6/dist-packages/funkload-1.14.1a-py2.6.egg/funkload/utils.py",
 line 175, in xmlrpc_get_credential
    'to start the credential server.' % url)
error: No Credential server reachable at http://localhost:55501, use 
fl-credential-ctl to start the credential server.

----------------------------------------------------------------------
Ran 1 test in 0.075s

FAILED (errors=1)
make: *** [warmup] Error 1
+ ret=2
+ make stop
fl-monitor-ctl monitor.conf stop
No server reachable at http://localhost:55502/.
fl-credential-ctl credential.conf stop
No server reachable at http://localhost:55501/.
+ exit 2
+ ret1=2
+ mv 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/target/ftest/funkload/report>
 .
mv: cannot stat 
`<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/target/ftest/funkload/report'>:
 No such file or directory
+ stop_server
+ 
SERVER_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
+ 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>
 stop
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>:
 line 121: -server -Xms2g -Xmx2g -XX:MaxPermSize=512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 
-Xloggc:${nuxeo.log.dir}/gc.log -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps: bad substitution
Stopping monitoring 2011-02-28 10:55:13+01:00 ...
Monitoring stopped.
Archiving log ...
tar: log/*.html: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Done: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/log-20110228-095517.tgz>
+ 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeoctl>
 stop
Launcher command: java -Dlauncher.java.opts=-server -Xms2g -Xmx2g 
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:${nuxeo.log.dir}/gc.log 
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
 
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 -jar 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo-launcher.jar>
 stop
Nuxeo home:          
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat>
Nuxeo configuration: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/common>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/default>
Include template: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/postgresql>
Template 'monitor' not found with relative or absolute path 
(<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/templates/monitor).>
 Check your nuxeo.templates parameter, and nuxeo.template.includes for included 
files.
Stopping server........Server stopped.
+ '[' '!' -z secret ']'
+ 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>
 vacuumdb
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>:
 line 121: -server -Xms2g -Xmx2g -XX:MaxPermSize=512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 
-Xloggc:${nuxeo.log.dir}/gc.log -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGCTimeStamps: bad substitution
Vacuuming qualiscope-ci-7 2011-02-28 10:55:27+01:00 ...
Reindexing qualiscope-ci-7 2011-02-28 10:55:39+01:00 ...
Done 2011-02-28 10:55:45+01:00
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ grep ' ERROR \[' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/server.log>
+ sed 's/^.\{24\}//g'
+ sort -nr
+ head
+ uniq -c
+ sort
      2 ERROR [org.jboss.seam.jsf.SeamPhaseListener] swallowing exception
      2 ERROR [nuxeo-error-log] 
      1 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/workspaces/FLNXTEST Bench workspace/FLNXTEST Bench 
folder
      1 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/sections/flnxtest-bench-section
      1 ERROR [org.nuxeo.ecm.directory.sql.SQLDirectory] exception during 
shutdown
      1 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/workspaces/FLNXTEST Bench workspace/FLNXTEST Bench folder
      1 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/sections/flnxtest-bench-section
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR ' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/server.log>
 503    :2011-02-28 05:13:58,769 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/sections/flnxtest-bench-section
 648    :2011-02-28 05:13:58,769 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/sections/flnxtest-bench-section
 793    :2011-02-28 05:13:58,778 ERROR [nuxeo-error-log] 
1060    :2011-02-28 05:13:59,145 ERROR [org.jboss.seam.jsf.SeamPhaseListener] 
swallowing exception
1150    :2011-02-28 05:14:01,518 ERROR 
[org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler]
 javax.el.ELException: org.nuxeo.ecm.core.api.ClientException: Failed to get 
document /default-domain/workspaces/FLNXTEST Bench workspace/FLNXTEST Bench 
folder
1295    :2011-02-28 05:14:01,518 ERROR [nuxeo-error-log] javax.el.ELException: 
org.nuxeo.ecm.core.api.ClientException: Failed to get document 
/default-domain/workspaces/FLNXTEST Bench workspace/FLNXTEST Bench folder
1440    :2011-02-28 05:14:01,521 ERROR [nuxeo-error-log] 
1705    :2011-02-28 05:14:01,527 ERROR [org.jboss.seam.jsf.SeamPhaseListener] 
swallowing exception
1797    :2011-02-28 06:39:16,879 ERROR 
[org.nuxeo.ecm.directory.sql.SQLDirectory] exception during shutdown
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/console.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/gc.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/nuxeo-error.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/pgsql.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/reindexdb.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/server.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/stderr.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/sysstat-sar.log>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/vacuum.log>
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/console.log.gz>
 already exists;       not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/gc.log.gz>
 already exists;    not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/nuxeo-error.log.gz>
 already exists;   not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/pgsql.log.gz>
 already exists; not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/reindexdb.log.gz>
 already exists;     not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/server.log.gz>
 already exists;        not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/stderr.log.gz>
 already exists;        not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/sysstat-sar.log.gz>
 already exists;   not overwritten
gzip: 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/trunk/tomcat/log/vacuum.log.gz>
 already exists;        not overwritten
+ gzip -cd 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/812/artifact/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