| CONSOLE OUTPUT |
| [...truncated 3528 lines...] |
| ++ wc -l |
| + has_key=0 |
| + '[' 0 = 0 ']' |
| + echo nuxeo.loopback.url=""> |
| + set_key_value mail.transport.host merguez.in.nuxeo.com |
| + '[' -z /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf ']' |
| + '[' 2 '!=' 2 ']' |
| + key=mail.transport.host |
| + value=merguez.in.nuxeo.com |
| ++ grep -E '^#?mail.transport.host=' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| ++ wc -l |
| + has_key=1 |
| + '[' 1 = 0 ']' |
| + perl -p -i -e 's,^#?mail.transport.host=.*$,mail.transport.host=merguez.in.nuxeo.com,g' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| + set_key_value mail.transport.port 2500 |
| + '[' -z /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf ']' |
| + '[' 2 '!=' 2 ']' |
| + key=mail.transport.port |
| + value=2500 |
| ++ grep -E '^#?mail.transport.port=' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| ++ wc -l |
| + has_key=1 |
| + '[' 1 = 0 ']' |
| + perl -p -i -e 's,^#?mail.transport.port=.*$,mail.transport.port=2500,g' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| + set_key_value mail.from workspace@chipolata |
| + '[' -z /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf ']' |
| + '[' 2 '!=' 2 ']' |
| + key=mail.from |
| + value=workspace@chipolata |
| ++ grep -E '^#?mail.from=' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| ++ wc -l |
| + has_key=1 |
| + '[' 1 = 0 ']' |
| + perl -p -i -e 's,^#?mail.from=.*$,mail.from=workspace@chipolata,g' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| + set_key_value launcher.override.java.tmpdir false |
| + '[' -z /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf ']' |
| + '[' 2 '!=' 2 ']' |
| + key=launcher.override.java.tmpdir |
| + value=false |
| ++ grep -E '^#?launcher.override.java.tmpdir=' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| ++ wc -l |
| + has_key=0 |
| + '[' 0 = 0 ']' |
| + echo launcher.override.java.tmpdir=false |
| + set_key_value nuxeo.wizard.done true |
| + '[' -z /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf ']' |
| + '[' 2 '!=' 2 ']' |
| + key=nuxeo.wizard.done |
| + value=true |
| ++ grep -E '^#?nuxeo.wizard.done=' /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeo.conf |
| ++ wc -l |
| + has_key=0 |
| + '[' 0 = 0 ']' |
| + echo nuxeo.wizard.done=true |
| + '[' '!' -z ']' |
| + cat |
| + chmod u+x /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/daemon.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/digest.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/monitorctl.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nxdeploy.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/setclasspath.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/tool-wrapper.sh /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/nuxeoctl /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/bin/openofficectl |
| + '[' tomcat = jboss ']' |
| + '[' tomcat = tomcat ']' |
| + echo org.nuxeo.systemlog.token=dolog |
| + cp /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/nxserver/data/installAfterRestart-DM.log /home/hudson/tmp/workspace/FT-nuxeo-master-funkload-bench/tomcat/nxserver/data/installAfterRestart.log |
| + '[' '!' -z secret ']' |
| + setup_postgresql_database |
| + '[' 0 == 1 ']' |
| + '[' -z secret ']' |
| + DBNAME=qualiscope-ci-6 |
| + 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 ']' |
| + PGSQL_LOG=/var/log/pgsql |
| + return |
| + echo '### Initializing PostgreSQL DATABASE: qualiscope-ci-6' |
| ### Initializing PostgreSQL DATABASE: qualiscope-ci-6 |
| + dropdb qualiscope-ci-6 -U qualiscope -h localhost -p 5432 |
| dropdb: database removal failed: ERROR: database "qualiscope-ci-6" is being accessed by other users |
| DETAIL: There are 1 other session(s) using the database. |
| + '[' 1 '!=' 0 ']' |
| + psql qualiscope-ci-6 -U qualiscope -h localhost -p 5432 |
| Showing only tuples. |
| Output format is unaligned. |
| + sleep 5 |
| + dropdb qualiscope-ci-6 -U qualiscope -h localhost -p 5432 |
| dropdb: database removal failed: ERROR: database "qualiscope-ci-6" is being accessed by other users |
| DETAIL: There are 1 other session(s) using the database. |
| + createdb qualiscope-ci-6 -U qualiscope -h localhost -p 5432 |
| createdb: database creation failed: ERROR: database "qualiscope-ci-6" already exists |
| + exit 1 |
| Build step 'Execute shell' marked build as failure |
| Archiving artifacts |
| Email was triggered for: Failure |
| Sending email for trigger: Failure |