See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/44/...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-582] Tests that reproduce the scenario described.
------------------------------------------
[...truncated 28492 lines...]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.160
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.160 '
+ 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.88.160 '
+ 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.88.160
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.160 "
+ 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/...
+ [[ -fws
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.88.160
+ 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=1291
+ (( 120 > 1291 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20601
+ wait 20601
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20602
+ (( 120 > 1296 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20659
+ wait 20659
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20660
+ (( 120 > 1302 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20675
+ grep -q '^HTTP/.* 200 OK$'
+ wait 20675
+ kill 20676
+ (( 120 > 1307 - 1291 ))
+ TELNET=20690
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ wait 20690
+ kill 20692
+ (( 120 > 1312 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20730
+ wait 20730
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20731
+ (( 120 > 1317 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20762
+ wait 20762
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20763
+ (( 120 > 1322 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20812
+ wait 20812
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20813
+ (( 120 > 1327 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20839
+ wait 20839
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20840
+ (( 120 > 1332 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20859
+ wait 20859
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20860
+ (( 120 > 1337 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=20885
+ wait 20885
+ kill 20887
+ (( 120 > 1342 - 1291 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20916
+ wait 20916
+ telnet localhost 8080
+ kill 20919
+ (( 120 > 1347 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20969
+ wait 20969
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20970
+ (( 120 > 1352 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21042
+ wait 21042
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21043
+ (( 120 > 1357 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21095
+ wait 21095
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21096
+ (( 120 > 1362 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21167
+ wait 21167
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21168
+ (( 120 > 1367 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21192
+ wait 21192
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21193
+ (( 120 > 1372 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=21244
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ wait 21244
+ kill 21245
+ (( 120 > 1377 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21258
+ wait 21258
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21259
+ (( 120 > 1382 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21283
+ wait 21283
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21284
+ (( 120 > 1387 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21321
+ wait 21321
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21322
+ (( 120 > 1392 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21365
+ wait 21365
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21366
+ (( 120 > 1397 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21425
+ wait 21425
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21426
+ (( 120 > 1402 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21467
+ wait 21467
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21468
+ (( 120 > 1407 - 1291 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21511
+ wait 21511
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21512
+ (( 120 > 1412 - 1291 ))
+ 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
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ 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
[jboss-aop-head-jbossas-5.0.0.GA] $ vncserver -kill :25
Killing Xvnc process ID 15186
Recording test results