See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/131...
Changes:
[kabir.khan(a)jboss.com] JBAOP-754] Port changes from Branch_2_1
------------------------------------------
[...truncated 26799 lines...]
+ 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=1060
+ (( 120 > 1060 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2211
+ wait 2211
+ kill 2214
+ (( 120 > 1065 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2251
+ wait 2251
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2252
+ (( 120 > 1070 - 1060 ))
+ telnet localhost 8080
+ TELNET=2258
+ wait 2258
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2259
+ (( 120 > 1076 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2266
+ wait 2266
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2267
+ (( 120 > 1081 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2276
+ wait 2276
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2277
+ (( 120 > 1086 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2281
+ wait 2281
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2282
+ (( 120 > 1091 - 1060 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2289
+ wait 2289
+ kill 2291
+ (( 120 > 1097 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2297
+ wait 2297
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2298
+ (( 120 > 1102 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2303
+ wait 2303
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2304
+ (( 120 > 1107 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2309
+ wait 2309
+ kill 2312
+ (( 120 > 1112 - 1060 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2318
+ wait 2318
+ kill 2319
+ (( 120 > 1118 - 1060 ))
+ telnet localhost 8080
+ TELNET=2323
+ wait 2323
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2324
+ (( 120 > 1124 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2330
+ wait 2330
+ kill 2333
+ (( 120 > 1129 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2339
+ wait 2339
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2340
+ (( 120 > 1134 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2345
+ wait 2345
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2346
+ (( 120 > 1139 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2351
+ wait 2351
+ kill 2354
+ (( 120 > 1144 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2360
+ wait 2360
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2361
+ (( 120 > 1149 - 1060 ))
+ telnet localhost 8080
+ TELNET=2365
+ wait 2365
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2366
+ (( 120 > 1154 - 1060 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2372
+ wait 2372
+ kill 2375
+ (( 120 > 1160 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2381
+ wait 2381
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2382
+ (( 120 > 1165 - 1060 ))
+ telnet localhost 8080
+ TELNET=2386
+ wait 2386
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2387
+ (( 120 > 1170 - 1060 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2393
+ wait 2393
+ kill 2396
+ (( 120 > 1175 - 1060 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2401
+ wait 2401
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2402
+ (( 120 > 1180 - 1060 ))
+ 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 ]]
+ local 'PS=ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk
'\''{ print $2; }'\'''
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
+ xargs kill -3
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 1
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
+ xargs kill
++ grep -v grep
++ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
+ xargs kill -9
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc.
Killing Xvnc process ID 895
kill 895: No such process
Recording test results