See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbossas-5.0.0....
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-582] Tests that reproduce the scenario described
(previous commit didn't work)
[flavia.rainone(a)jboss.com] [JBAOP-582] Tests that reproduce the scenario described.
[flavia.rainone(a)jboss.com] [JBAOP-696] Adapted the install script, so that now a jdk50
version of the aspect-library is downloaded from jboss repository if it is not already
available at the jboss-aop-deployer directory.
------------------------------------------
[...truncated 27453 lines...]
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ 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-branch_2_0-jbossas-5.0.0....
+ 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-branch_2...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbossas-5.0.0....
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbossas-5.0.0....
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-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-branch_2_0-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-branch_2_0-jbossas-5.0.0....
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbossas-5.0.0....
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbossas-5.0.0....
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_0-jbos...
+ ./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=1418
+ (( 120 > 1418 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20212
+ wait 20212
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20213
+ (( 120 > 1423 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20289
+ wait 20289
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20290
+ (( 120 > 1428 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=20315
+ wait 20315
+ telnet localhost 8080
+ kill 20317
+ (( 120 > 1433 - 1418 ))
+ telnet localhost 8080
+ TELNET=20322
+ wait 20322
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20323
+ (( 120 > 1438 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20348
+ wait 20348
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20349
+ (( 120 > 1443 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20373
+ wait 20373
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20374
+ (( 120 > 1448 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20407
+ wait 20407
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20408
+ (( 120 > 1453 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20438
+ wait 20438
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20439
+ (( 120 > 1458 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=20481
+ wait 20481
+ kill 20482
+ (( 120 > 1463 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20523
+ wait 20523
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20524
+ (( 120 > 1468 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20587
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 20587
+ kill 20588
+ (( 120 > 1473 - 1418 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ TELNET=20651
+ wait 20651
+ sleep 5
+ kill 20652
+ (( 120 > 1478 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20667
+ wait 20667
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20668
+ (( 120 > 1483 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20684
+ grep -q '^HTTP/.* 200 OK$'
+ wait 20684
+ kill 20685
+ (( 120 > 1488 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20717
+ wait 20717
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20718
+ (( 120 > 1493 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20755
+ wait 20755
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20756
+ (( 120 > 1498 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20787
+ wait 20787
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20788
+ (( 120 > 1504 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20820
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 20820
+ kill 20821
+ (( 120 > 1509 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20852
+ wait 20852
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20853
+ (( 120 > 1514 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20866
+ wait 20866
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20867
+ (( 120 > 1519 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20897
+ wait 20897
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20898
+ (( 120 > 1524 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20956
+ wait 20956
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20957
+ (( 120 > 1529 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21004
+ wait 21004
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21005
+ (( 120 > 1534 - 1418 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=21056
+ wait 21056
+ grep -q '^HTTP/.* 200 OK$'
+ kill 21057
+ (( 120 > 1539 - 1418 ))
+ 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
+ xargs kill
+ awk '{ print $2; }'
+ 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-branch_2_0-jbossas-5.0.0.GA] $ vncserver -kill :23
Killing Xvnc process ID 14330
Recording test results