See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/114...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-740] Work around Class.getDeclaringClass() if on IBM JDK
------------------------------------------
[...truncated 26792 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.19
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.19 '
+ 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.19 '
+ 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.19
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.19 "
+ 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.19
+ 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=1667
+ (( 120 > 1667 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24801
+ wait 24801
+ grep -q '^HTTP/.* 200 OK$'
+ kill 24802
+ (( 120 > 1672 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24849
+ grep -q '^HTTP/.* 200 OK$'
+ wait 24849
+ kill 24850
+ (( 120 > 1678 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=24865
+ wait 24865
+ telnet localhost 8080
+ kill 24867
+ (( 120 > 1684 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24886
+ wait 24886
+ kill 24887
+ (( 120 > 1689 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24900
+ grep -q '^HTTP/.* 200 OK$'
+ wait 24900
+ kill 24901
+ (( 120 > 1694 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24918
+ wait 24918
+ grep -q '^HTTP/.* 200 OK$'
+ kill 24919
+ (( 120 > 1699 - 1667 ))
+ telnet localhost 8080
+ TELNET=24934
+ wait 24934
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 24935
+ (( 120 > 1704 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24953
+ grep -q '^HTTP/.* 200 OK$'
+ wait 24953
+ kill 24954
+ (( 120 > 1710 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=24971
+ wait 24971
+ grep -q '^HTTP/.* 200 OK$'
+ kill 24972
+ (( 120 > 1715 - 1667 ))
+ telnet localhost 8080
+ TELNET=24985
+ wait 24985
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 24986
+ (( 120 > 1720 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25003
+ wait 25003
+ kill 25006
+ (( 120 > 1725 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25025
+ wait 25025
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25026
+ (( 120 > 1730 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25043
+ wait 25043
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25044
+ (( 120 > 1736 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25058
+ grep -q '^HTTP/.* 200 OK$'
+ wait 25058
+ kill 25063
+ (( 120 > 1741 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25078
+ wait 25078
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25079
+ (( 120 > 1746 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25093
+ wait 25093
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25096
+ (( 120 > 1752 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25110
+ wait 25110
+ kill 25112
+ (( 120 > 1757 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25128
+ wait 25128
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25129
+ (( 120 > 1762 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25147
+ wait 25147
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25148
+ (( 120 > 1767 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25161
+ wait 25161
+ kill 25165
+ (( 120 > 1773 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25178
+ wait 25178
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25179
+ (( 120 > 1778 - 1667 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25193
+ wait 25193
+ kill 25194
+ (( 120 > 1783 - 1667 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=25211
+ wait 25211
+ kill 25212
+ (( 120 > 1789 - 1667 ))
+ 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 -v grep
+ awk '{ print $2; }'
+ grep run.jar
+ xargs kill -9
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-5.0.0.GA] $ vncserver -kill :21
Killing Xvnc process ID 20273
kill 20273: No such process
[jboss-aop-head-jbossas-5.0.0.GA] $ bash -xe /tmp/hudson2534274373793530139.sh
+ kill 20253
Recording test results