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

------------------------------------------
[...truncated 6151 lines...]
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.bind.address
+ value=127.0.0.1
++ grep -E '^#?nuxeo.bind.address=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's,^#?nuxeo.bind.address=.*$,nuxeo.bind.address=127.0.0.1,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.loopback.url http://127.0.0.1:8080/nuxeo
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.loopback.url
+ value=http://127.0.0.1:8080/nuxeo
++ grep -E '^#?nuxeo.loopback.url=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 
's,^#?nuxeo.loopback.url=.*$,nuxeo.loopback.url=http://127.0.0.1:8080/nuxeo,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value mail.smtp.host merguez.in.nuxeo.com
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.smtp.host
+ value=merguez.in.nuxeo.com
++ grep -E '^#?mail.smtp.host=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=1
+ '[' 1 = 0 ']'
+ perl -p -i -e 's,^#?mail.smtp.host=.*$,mail.smtp.host=merguez.in.nuxeo.com,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value mail.smtp.port 2500
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.smtp.port
+ value=2500
++ grep -E '^#?mail.smtp.port=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value mail.from FT-nuxeo-5.4-funkload-bench@chipolata
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=mail.from
+ value=FT-nuxeo-5.4-funkload-bench@chipolata
++ grep -E '^#?mail.from=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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-bench@chipolata,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value launcher.override.java.tmpdir false
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=launcher.override.java.tmpdir
+ value=false
++ grep -E '^#?launcher.override.java.tmpdir=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/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 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.wizard.done
+ value=true
++ grep -E '^#?nuxeo.wizard.done=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
++ wc -l
+ has_key=0
+ '[' 0 = 0 ']'
+ echo nuxeo.wizard.done=true
+ '[' '!' -z ']'
+ cat
+ chmod u+x 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/digest.sh>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/monitorctl.sh>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nxdeploy.sh>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/setclasspath.sh>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/tool-wrapper.sh>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeoctl>
 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/openofficectl>
+ '[' tomcat = jboss ']'
+ '[' tomcat = tomcat ']'
+ echo org.nuxeo.systemlog.token=dolog
+ '[' '!' -z secret ']'
+ setup_postgresql_database
+ '[' 0 == 1 ']'
+ '[' -z secret ']'
+ DBNAME=qualiscope-ci-3
+ 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-3'
### Initializing PostgreSQL DATABASE: qualiscope-ci-3
+ dropdb qualiscope-ci-3 -U qualiscope -h localhost -p 5432
+ '[' 0 '!=' 0 ']'
+ createdb qualiscope-ci-3 -U qualiscope -h localhost -p 5432
+ createlang plpgsql qualiscope-ci-3 -U qualiscope -h localhost -p 5432
createlang: language "plpgsql" is already installed in database 
"qualiscope-ci-3"
+ 
NUXEO_CONF=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ activate_db_template postgresql
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ db=postgresql
+ get_templates_list
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
++ grep -E '^#?nuxeo.templates=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/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-bench/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-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.port
+ value=5432
++ grep -E '^#?nuxeo.db.port=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ set_key_value nuxeo.db.name qualiscope-ci-3
+ '[' -z 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.name
+ value=qualiscope-ci-3
++ grep -E '^#?nuxeo.db.name=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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-3,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/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-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.user
+ value=qualiscope
++ wc -l
++ grep -E '^#?nuxeo.db.user=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/bin/nuxeo.conf>
+ 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-bench/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-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.db.password
+ value=secret
++ grep -E '^#?nuxeo.db.password=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/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-bench/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-bench/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-bench/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-bench/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-bench/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-bench/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-bench/ws/trunk/tomcat/bin/nuxeo.conf>
 ']'
+ '[' 2 '!=' 2 ']'
+ key=nuxeo.vcs.max-pool-size
+ value=50
++ grep -E '^#?nuxeo.vcs.max-pool-size=' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/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=50,g' 
<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/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-bench/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-bench/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-bench/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-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 
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1089 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false 
-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>
 
-Dnuxeo.log.dir=<https://qa.nuxeo.org/jenkins/job/FT-nuxeo-5.4-funkload-bench/ws/trunk/tomcat/log>
 -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.
Could not run configuration
org.nuxeo.launcher.config.ConfigurationException: Port is unavailable: 8080 on 
address /127.0.0.1 (Address already in use)
        at 
org.nuxeo.launcher.config.ConfigurationGenerator.checkPortAvailable(ConfigurationGenerator.java:843)
        at 
org.nuxeo.launcher.config.ConfigurationGenerator.checkAddressesAndPorts(ConfigurationGenerator.java:796)
        at 
org.nuxeo.launcher.config.ConfigurationGenerator.verifyInstallation(ConfigurationGenerator.java:775)
        at org.nuxeo.launcher.NuxeoLauncher.configure(NuxeoLauncher.java:916)
        at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:648)
        at 
org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:530)
        at 
org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:499)
        at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:426)
        at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:398)
Caused by: java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at 
org.nuxeo.launcher.config.ConfigurationGenerator.checkPortAvailable(ConfigurationGenerator.java:837)
        ... 8 more
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts

_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa

Reply via email to