See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/15/
------------------------------------------
[...truncated 24993 lines...]
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/server/all
]]
++ basename
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/server/all
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.247
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.247 '
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/server/all
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.88.247 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbo...
+ echo Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/server/all
Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/server/all
++ pwd
+ echo From directory
'"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/bin"'
From directory
"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_x/Branch_5_x/build/output/jboss-5.2.0.Beta/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.88.247
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.247 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-br...
+ ./run.sh -c all -b localhost -u 227.43.88.247
+ 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=1434
+ (( 120 > 1434 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12590
+ wait 12590
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12591
+ (( 120 > 1440 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12643
+ wait 12643
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12644
+ (( 120 > 1445 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12660
+ wait 12660
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12661
+ (( 120 > 1450 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12676
+ wait 12676
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12677
+ (( 120 > 1455 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=12692
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 12692
+ kill 12695
+ (( 120 > 1460 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12717
+ wait 12717
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12718
+ (( 120 > 1465 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12733
+ wait 12733
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12734
+ (( 120 > 1470 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12751
+ wait 12751
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12752
+ (( 120 > 1475 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12766
+ grep -q '^HTTP/.* 200 OK$'
+ wait 12766
+ kill 12767
+ (( 120 > 1481 - 1434 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=12786
+ wait 12786
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 12787
+ (( 120 > 1482 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12793
+ wait 12793
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12794
+ (( 120 > 1488 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12804
+ wait 12804
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12805
+ (( 120 > 1495 - 1434 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12820
+ wait 12820
+ kill 12824
+ (( 120 > 1501 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=12838
+ wait 12838
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 12847
+ (( 120 > 1508 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12875
+ wait 12875
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12876
+ (( 120 > 1513 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12905
+ wait 12905
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12906
+ (( 120 > 1518 - 1434 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=12946
+ wait 12946
+ telnet localhost 8080
+ kill 12949
+ (( 120 > 1523 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12974
+ wait 12974
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12975
+ (( 120 > 1528 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12997
+ wait 12997
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12998
+ (( 120 > 1534 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13034
+ grep -q '^HTTP/.* 200 OK$'
+ wait 13034
+ kill 13035
+ (( 120 > 1539 - 1434 ))
+ telnet localhost 8080
+ TELNET=13057
+ wait 13057
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 13058
+ (( 120 > 1544 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13076
+ wait 13076
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13077
+ (( 120 > 1549 - 1434 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13100
+ wait 13100
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13101
+ (( 120 > 1554 - 1434 ))
+ 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 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-branch_5_x] $ vncserver -kill :12
Killing Xvnc process ID 8412
kill 8412: No such process
[jboss-aop-head-jbossas-branch_5_x] $ bash -xe /tmp/hudson1743693621144905600.sh
+ kill 8392
Recording test results