See <https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/>
------------------------------------------
[...truncated 2639 lines...]
+ '[' -z secret ']'
+ DBNAME=qualiscope-ci-8
+ 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 ']'
+ PGSQL_LOG=/var/log/postgresql/postgresql-8.4-main.log
+ return
+ echo '### Initializing PostgreSQL DATABASE: qualiscope-ci-8'
### Initializing PostgreSQL DATABASE: qualiscope-ci-8
+ dropdb qualiscope-ci-8 -U qualiscope -h localhost -p 5432
+ '[' 0 '!=' 0 ']'
+ createdb qualiscope-ci-8 -U qualiscope -h localhost -p 5432
+ createlang plpgsql qualiscope-ci-8 -U qualiscope -h localhost -p 5432
createlang: language "plpgsql" is already installed in database
"qualiscope-ci-8"
+
NUXEO_CONF=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ activate_db_template postgresql
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ db=postgresql
+ get_templates_list
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
++ grep -E '^#?nuxeo.templates='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.port 5432
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.port
+ value=5432
++ wc -l
++ grep -E '^#?nuxeo.db.port='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.port=.*$/nuxeo.db.port=5432/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.name qualiscope-ci-8
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.name
+ value=qualiscope-ci-8
++ wc -l
++ grep -E '^#?nuxeo.db.name='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.name=.*$/nuxeo.db.name=qualiscope-ci-8/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.user qualiscope
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.user
+ value=qualiscope
++ grep -E '^#?nuxeo.db.user='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.password secret
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.password
+ value=secret
++ wc -l
++ grep -E '^#?nuxeo.db.password='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.password=.*$/nuxeo.db.password=secret/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.max-pool-size 50
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.max-pool-size
+ value=50
++ grep -E '^#?nuxeo.db.max-pool-size='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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=50/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.min-pool-size 10
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.min-pool-size
+ value=10
++ grep -E '^#?nuxeo.db.min-pool-size='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.db.min-pool-size=.*$/nuxeo.db.min-pool-size=10/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.vcs.max-pool-size 50
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.vcs.max-pool-size
+ value=50
++ wc -l
++ grep -E '^#?nuxeo.vcs.max-pool-size='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.vcs.max-pool-size=.*$/nuxeo.vcs.max-pool-size=50/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.vcs.min-pool-size 10
+ '[' -z
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.vcs.min-pool-size
+ value=10
++ grep -E '^#?nuxeo.vcs.min-pool-size='
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's/^#?nuxeo.vcs.min-pool-size=.*$/nuxeo.vcs.min-pool-size=10/g'
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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'
++ 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-rest-and-web/ws/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:${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-rest-and-web/ws/trunk/tomcat>
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
-jar
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo-launcher.jar>
start
Nuxeo home:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat>
Nuxeo configuration:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/templates/common>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/templates/default>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/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-rest-and-web/ws/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.
Could not delete
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/webapps/nuxeo.war>
Server started with process ID 6206.
......................
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 414
======================================================================
Started in 0min22s
+ sleep 0
+
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>
start
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>:
line 121: -server -Xms1g -Xmx1g -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-03-26 05:42:15+01:00 ...
[6417] Monitoring started.
+ cd
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.090s
OK
fl-run-test -v --simple-fetch test_rest.py -e testWriter --no-color
testWriter (test_rest.Rest) ... FAIL
======================================================================
FAIL: testWriter (test_rest.Rest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/funkload-1.15.0a_20110310-py2.6.egg/funkload/FunkLoadTestCase.py",
line 923, in __call__
testMethod()
File
"<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/test_rest.py",>
line 63, in testWriter
'Test workspace description.')
File
"<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/nuxeo-distribution-5.4/nuxeo-distribution-dm/ftest/funkload/nuxeo/rest.py",>
line 78, in createDocument
+ parent_uid + '/createDocument',
TypeError: cannot concatenate 'str' and 'NoneType' objects
----------------------------------------------------------------------
Ran 1 test in 0.152s
FAILED (failures=1)
make: *** [rest] Error 1
+ ret1=2
+ stop_server
+
SERVER_HOME=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat>
+
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>
stop
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>:
line 121: -server -Xms1g -Xmx1g -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-03-26 05:42:24+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-rest-and-web/2175/artifact/trunk/tomcat/log/log-20110326-044226.tgz>
+
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/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:${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-rest-and-web/ws/trunk/tomcat>
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
-jar
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo-launcher.jar>
stop
Nuxeo home:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat>
Nuxeo configuration:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/nuxeo.conf>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/templates/common>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/templates/default>
Include template:
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/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-rest-and-web/ws/trunk/tomcat/templates/monitor).>
Check your nuxeo.templates parameter, and nuxeo.template.includes for included
files.
Stopping server.............No answer from server, try to kill process 6206...
+ '[' '!' -z secret ']'
+
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>
vacuumdb
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/ws/trunk/tomcat/bin/monitorctl.sh>:
line 121: -server -Xms1g -Xmx1g -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-8 2011-03-26 05:42:37+01:00 ...
Reindexing qualiscope-ci-8 2011-03-26 05:42:39+01:00 ...
Done 2011-03-26 05:42:40+01:00
+ echo '### 10 most frequent errors --------------'
### 10 most frequent errors --------------
+ grep ' ERROR \['
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/server.log>
+ sed 's/^.\{24\}//g'
+ sort
+ head
+ sort -nr
+ uniq -c
+ echo '### 10 first errors ----------------------'
### 10 first errors ----------------------
+ grep -nTm 10 ' ERROR '
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/server.log>
+ echo '### --------------------------------------'
### --------------------------------------
+ gzip
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/console.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/gc.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/nuxeo-error.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/pgsql.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/reindexdb.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/server.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/stderr.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/artifact/trunk/tomcat/log/sysstat-sar.log>
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/arti
fact/trunk/tomcat/log/vacuum.log>
+ gzip -cd
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-rest-and-web/2175/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