See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/117...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-745] Fix NPE
------------------------------------------
[...truncated 27156 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=2136
+ (( 120 > 2136 - 2136 ))
+ telnet localhost 8080
+ TELNET=32681
+ wait 32681
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 32682
+ (( 120 > 2141 - 2136 ))
+ telnet localhost 8080
+ TELNET=32738
+ wait 32738
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 32739
+ (( 120 > 2146 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=300
+ grep -q '^HTTP/.* 200 OK$'
+ wait 300
+ kill 302
+ (( 120 > 2153 - 2136 ))
+ telnet localhost 8080
+ TELNET=327
+ wait 327
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 328
+ (( 120 > 2158 - 2136 ))
+ telnet localhost 8080
+ TELNET=349
+ wait 349
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 350
+ (( 120 > 2163 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=378
+ grep -q '^HTTP/.* 200 OK$'
+ wait 378
+ kill 379
+ (( 120 > 2169 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=399
+ wait 399
+ grep -q '^HTTP/.* 200 OK$'
+ kill 400
+ (( 120 > 2174 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=427
+ wait 427
+ kill 430
+ (( 120 > 2179 - 2136 ))
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=450
+ wait 450
+ kill 453
+ (( 120 > 2184 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=487
+ wait 487
+ grep -q '^HTTP/.* 200 OK$'
+ kill 489
+ (( 120 > 2189 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=511
+ wait 511
+ grep -q '^HTTP/.* 200 OK$'
+ kill 512
+ (( 120 > 2194 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=537
+ wait 537
+ grep -q '^HTTP/.* 200 OK$'
+ kill 538
+ (( 120 > 2199 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=562
+ wait 562
+ grep -q '^HTTP/.* 200 OK$'
+ kill 565
+ (( 120 > 2205 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=590
+ wait 590
+ kill 591
+ (( 120 > 2210 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=616
+ grep -q '^HTTP/.* 200 OK$'
+ wait 616
+ kill 617
+ (( 120 > 2215 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=640
+ wait 640
+ kill 643
+ (( 120 > 2220 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=660
+ wait 660
+ kill 661
+ (( 120 > 2225 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=688
+ grep -q '^HTTP/.* 200 OK$'
+ wait 688
+ kill 689
+ (( 120 > 2231 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=716
+ wait 716
+ kill 718
+ (( 120 > 2236 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=744
+ wait 744
+ grep -q '^HTTP/.* 200 OK$'
+ kill 745
+ (( 120 > 2241 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=781
+ wait 781
+ grep -q '^HTTP/.* 200 OK$'
+ kill 782
+ (( 120 > 2246 - 2136 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ TELNET=815
+ wait 815
+ kill 818
+ (( 120 > 2246 - 2136 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=824
+ wait 824
+ grep -q '^HTTP/.* 200 OK$'
+ kill 825
+ (( 120 > 2251 - 2136 ))
+ telnet localhost 8080
+ TELNET=858
+ wait 858
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 859
+ (( 120 > 2256 - 2136 ))
+ 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; }'
+ sleep 1
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
+ xargs kill
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
+ 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
+ xargs kill -9
++ awk '{ print $2; }'
+ return 1
Terminating xvnc.
Killing Xvnc process ID 24583
kill 24583: No such process
Recording test results