See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/51/
------------------------------------------
[...truncated 34149 lines...]
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.89.26
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.26 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.89.26 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbo...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/Branch_5_0/build/output/jboss-5.0.2.GA/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/Branch_5_0/build/output/jboss-5.0.2.GA/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.89.26
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.26 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
+ [[ -w
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
+ [[ -s
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
+ local i=0
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
+ echo renaming old log
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/server_all.log"'
to
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/server_all.log.0"'
renaming old log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/server_all.log"
to
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/server_all.log.0"
+ mv
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-br...
+ ./run.sh -c all -b localhost -u 227.43.89.26
+ 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=3150
+ (( 120 > 3150 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=4871
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 4871
+ kill 4873
+ (( 120 > 3155 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4921
+ wait 4921
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4922
+ (( 120 > 3160 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4936
+ wait 4936
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4937
+ (( 120 > 3165 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=4953
+ wait 4953
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 4954
+ (( 120 > 3170 - 3150 ))
+ telnet localhost 8080
+ TELNET=4970
+ wait 4970
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 4971
+ (( 120 > 3178 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4983
+ wait 4983
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4987
+ (( 120 > 3184 - 3150 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5007
+ wait 5007
+ kill 5011
+ (( 120 > 3189 - 3150 ))
+ telnet localhost 8080
+ TELNET=5019
+ wait 5019
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 5020
+ (( 120 > 3194 - 3150 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5035
+ wait 5035
+ kill 5036
+ (( 120 > 3199 - 3150 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5045
+ wait 5045
+ kill 5046
+ (( 120 > 3206 - 3150 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5057
+ wait 5057
+ kill 5060
+ (( 120 > 3211 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5073
+ wait 5073
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5074
+ (( 120 > 3218 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5090
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5090
+ kill 5091
+ (( 120 > 3223 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5106
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5106
+ kill 5107
+ (( 120 > 3228 - 3150 ))
+ telnet localhost 8080
+ TELNET=5136
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ wait 5136
+ kill 5140
+ (( 120 > 3234 - 3150 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5156
+ wait 5156
+ kill 5157
+ (( 120 > 3239 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5189
+ wait 5189
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5190
+ (( 120 > 3244 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5204
+ wait 5204
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5205
+ (( 120 > 3250 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=5247
+ wait 5247
+ kill 5251
+ (( 120 > 3256 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5267
+ wait 5267
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5268
+ (( 120 > 3261 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5297
+ wait 5297
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5298
+ (( 120 > 3266 - 3150 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5327
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5327
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 5325 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
5327 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 5328
+ (( 120 > 3272 - 3150 ))
+ 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-branch_5_0] $ vncserver -kill :14
Killing Xvnc process ID 26610
kill 26610: No such process
[jboss-aop-head-jbossas-branch_5_0] $ bash -xe /tmp/hudson8949738301229987279.sh
+ kill 26588
Recording test results