See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/125...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-751] Move things around to minimize AS dependencies
------------------------------------------
[...truncated 26812 lines...]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.18 '
+ 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.18 '
+ 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.18
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.18 "
+ 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.18
+ 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=2296
+ (( 120 > 2296 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9794
+ grep -q '^HTTP/.* 200 OK$'
+ wait 9794
+ kill 9795
+ (( 120 > 2302 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9833
+ wait 9833
+ kill 9834
+ (( 120 > 2307 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9838
+ wait 9838
+ kill 9841
+ (( 120 > 2312 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9847
+ wait 9847
+ kill 9848
+ (( 120 > 2317 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9854
+ wait 9854
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9857
+ (( 120 > 2323 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9861
+ wait 9861
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9864
+ (( 120 > 2329 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9870
+ wait 9870
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9871
+ (( 120 > 2334 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9876
+ grep -q '^HTTP/.* 200 OK$'
+ wait 9876
+ kill 9877
+ (( 120 > 2339 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9884
+ wait 9884
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9885
+ (( 120 > 2345 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9891
+ wait 9891
+ kill 9892
+ (( 120 > 2350 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=9899
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 9899
+ kill 9900
+ (( 120 > 2355 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9907
+ wait 9907
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9908
+ (( 120 > 2360 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=9912
+ wait 9912
+ kill 9915
+ (( 120 > 2365 - 2296 ))
+ telnet localhost 8080
+ TELNET=9920
+ wait 9920
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 9921
+ (( 120 > 2371 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9927
+ grep -q '^HTTP/.* 200 OK$'
+ wait 9927
+ kill 9928
+ (( 120 > 2376 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=9934
+ wait 9934
+ telnet localhost 8080
+ kill 9935
+ (( 120 > 2381 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=9941
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ wait 9941
+ kill 9942
+ (( 120 > 2386 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9948
+ wait 9948
+ kill 9950
+ (( 120 > 2391 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9955
+ grep -q '^HTTP/.* 200 OK$'
+ wait 9955
+ kill 9956
+ (( 120 > 2397 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9963
+ wait 9963
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9964
+ (( 120 > 2402 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9970
+ wait 9970
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9971
+ (( 120 > 2407 - 2296 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9976
+ wait 9976
+ kill 9978
+ (( 120 > 2412 - 2296 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=9984
+ wait 9984
+ grep -q '^HTTP/.* 200 OK$'
+ kill 9985
+ (( 120 > 2417 - 2296 ))
+ 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
+ xargs kill -3
++ awk '{ print $2; }'
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
+ xargs kill -9
+ 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; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc.
Killing Xvnc process ID 8466
kill 8466: No such process
Recording test results