See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/106/
------------------------------------------
[...truncated 26856 lines...]
+ local
JBOSS_SERVER_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jb...
+ 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-5.0.0.GA/ws/...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
+ 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-5.0.0.GA/ws/...
+ 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-5.0.0.GA/ws/...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/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.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-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.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=1213
+ (( 120 > 1213 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27941
+ wait 27941
+ grep -q '^HTTP/.* 200 OK$'
+ kill 27942
+ (( 120 > 1219 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=27988
+ wait 27988
+ kill 27992
+ (( 120 > 1224 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28009
+ wait 28009
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28010
+ (( 120 > 1229 - 1213 ))
+ telnet localhost 8080
+ TELNET=28024
+ wait 28024
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28025
+ (( 120 > 1234 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=28042
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 28042
+ kill 28043
+ (( 120 > 1239 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28060
+ wait 28060
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28061
+ (( 120 > 1244 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28074
+ wait 28074
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28075
+ (( 120 > 1249 - 1213 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28098
+ wait 28098
+ kill 28101
+ (( 120 > 1255 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28116
+ wait 28116
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28117
+ (( 120 > 1260 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28132
+ wait 28132
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28133
+ (( 120 > 1265 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28149
+ wait 28149
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28150
+ (( 120 > 1270 - 1213 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=28167
+ wait 28167
+ telnet localhost 8080
+ kill 28169
+ (( 120 > 1275 - 1213 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28184
+ wait 28184
+ kill 28185
+ (( 120 > 1280 - 1213 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28202
+ wait 28202
+ kill 28203
+ (( 120 > 1285 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28213
+ wait 28213
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28214
+ (( 120 > 1293 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28233
+ wait 28233
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28234
+ (( 120 > 1298 - 1213 ))
+ telnet localhost 8080
+ TELNET=28248
+ wait 28248
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 28249
+ (( 120 > 1303 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28281
+ grep -q '^HTTP/.* 200 OK$'
+ wait 28281
+ kill 28282
+ (( 120 > 1309 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28298
+ wait 28298
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28299
+ (( 120 > 1314 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28324
+ wait 28324
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28325
+ (( 120 > 1319 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28351
+ wait 28351
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28352
+ (( 120 > 1324 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28383
+ grep -q '^HTTP/.* 200 OK$'
+ wait 28383
+ kill 28384
+ (( 120 > 1329 - 1213 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28414
+ wait 28414
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28415
+ (( 120 > 1334 - 1213 ))
+ 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
+ xargs kill -9
+ grep -v grep
+ awk '{ print $2; }'
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-5.0.0.GA] $ vncserver -kill :17
Killing Xvnc process ID 24310
kill 24310: No such process
[jboss-aop-head-jbossas-5.0.0.GA] $ bash -xe /tmp/hudson5853379539487736742.sh
+ kill 24290
Recording test results