See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/109...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-735] Script fixed.
------------------------------------------
[...truncated 26949 lines...]
init:
backup.lib:
[echo] Backing up existing lib directory to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/lib-20090609-125225.bak
[copy] Copying 56 files to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/lib-20090609-125225.bak
backup.client.lib:
[echo] Backing up existing
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/client/jboss-aop-client.jar
to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/client/jboss-aop-client.bak
[copy] Copying 1 file to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/client
install.lib:
[copy] Copying 1 file to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/trunk/build/output/jboss-aop-2.1.0-SNAPSHOT/jboss-50-install
backup.deployer:
[mkdir] Created dir:
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all/deployers.bak
[echo] Backing up existing aop deployer to ${old.deployer}
[copy] Copying 7 files to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all/deployers.bak/jboss-aop-jboss5.deployer-20090609-125225.bak
install.deployer:
[copy] Copying 3 files to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all/deployers/jboss-aop-jboss5.deployer
install.bin:
[copy] Copying 2 files to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/bin
install:
BUILD SUCCESSFUL
Total time: 2 seconds
+ start-jboss -p
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local
JBOSS_SERVER_PATH=/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
]]
++ basename
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.245
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.245 '
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.88.245 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbo...
+ echo Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all
++ pwd
+ echo From directory
'"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/bin"'
From directory
"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-5.0.0.GA/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.88.245
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.245 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5....
+ ./run.sh -c all -b localhost -u 227.43.88.245
+ echo Waiting server to start.
Waiting server to start.
+ echo Timeout should be slightly more than 120 seconds.
Timeout should be slightly more than 120 seconds.
+ INT=5
+ STARTSECONDS=1809
+ (( 120 > 1809 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=13555
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13555
+ telnet localhost 8080
+ kill 13556
+ (( 120 > 1814 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13604
+ wait 13604
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13605
+ (( 120 > 1820 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13623
+ wait 13623
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13624
+ (( 120 > 1825 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13638
+ wait 13638
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13639
+ (( 120 > 1830 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=13656
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 13656
+ kill 13657
+ (( 120 > 1835 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13677
+ wait 13677
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13678
+ (( 120 > 1840 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13698
+ wait 13698
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13699
+ (( 120 > 1846 - 1809 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13714
+ wait 13714
+ kill 13718
+ (( 120 > 1851 - 1809 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13734
+ wait 13734
+ kill 13735
+ (( 120 > 1857 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13751
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13751
+ kill 13752
+ (( 120 > 1862 - 1809 ))
+ telnet localhost 8080
+ TELNET=13767
+ wait 13767
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 13768
+ (( 120 > 1862 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13773
+ wait 13773
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13774
+ (( 120 > 1867 - 1809 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13790
+ wait 13790
+ kill 13793
+ (( 120 > 1880 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13805
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13805
+ kill 13806
+ (( 120 > 1898 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13851
+ wait 13851
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13852
+ (( 120 > 1906 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13888
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13888
+ kill 13889
+ (( 120 > 1913 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=13910
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 13910
+ kill 13911
+ (( 120 > 1918 - 1809 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13954
+ wait 13954
+ kill 13955
+ (( 120 > 1924 - 1809 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13976
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13976
+ kill 13977
+ (( 120 > 1929 - 1809 ))
+ echo Server failed to start in time. Terminating.
Server failed to start in time. Terminating.
+ exit 1
+ kill-jboss
++ uname -s
+ [[ Linux == \L\i\n\u\x ]]
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill -9
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-5.0.0.GA] $ vncserver -kill :19
Killing Xvnc process ID 8568
kill 8568: No such process
[jboss-aop-head-jbossas-5.0.0.GA] $ bash -xe /tmp/hudson1264214712235001969.sh
+ kill 8549
Recording test results