See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/640...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-685] JBoss 40 install script is now compatible with
JBoss 4.0.4-ejb3 version.
------------------------------------------
[...truncated 28289 lines...]
+ 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-4.0.5.GA/ws/...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/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-4.0.5.GA/ws/...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4....
+ ./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=1310
+ (( 120 > 1310 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=14801
+ wait 14801
+ grep -q '^HTTP/.* 200 OK$'
+ kill 14802
+ (( 120 > 1315 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=14882
+ wait 14882
+ grep -q '^HTTP/.* 200 OK$'
+ kill 14883
+ (( 120 > 1320 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=14939
+ grep -q '^HTTP/.* 200 OK$'
+ wait 14939
+ telnet localhost 8080
+ kill 14940
+ (( 120 > 1325 - 1310 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=14980
+ wait 14980
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 14981
+ (( 120 > 1325 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=14986
+ wait 14986
+ grep -q '^HTTP/.* 200 OK$'
+ kill 14987
+ (( 120 > 1330 - 1310 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15055
+ wait 15055
+ kill 15056
+ (( 120 > 1335 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15153
+ grep -q '^HTTP/.* 200 OK$'
+ wait 15153
+ kill 15155
+ (( 120 > 1340 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15253
+ grep -q '^HTTP/.* 200 OK$'
+ wait 15253
+ kill 15254
+ (( 120 > 1345 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15340
+ grep -q '^HTTP/.* 200 OK$'
+ wait 15340
+ kill 15341
+ (( 120 > 1350 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=15352
+ wait 15352
+ kill 15353
+ (( 120 > 1355 - 1310 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15369
+ wait 15369
+ kill 15371
+ (( 120 > 1360 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=15384
+ wait 15384
+ kill 15385
+ (( 120 > 1365 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15455
+ wait 15455
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15456
+ (( 120 > 1370 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15527
+ wait 15527
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15528
+ (( 120 > 1375 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15571
+ wait 15571
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15572
+ (( 120 > 1380 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15596
+ wait 15596
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15597
+ (( 120 > 1385 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=15654
+ wait 15654
+ kill 15655
+ (( 120 > 1390 - 1310 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15712
+ wait 15712
+ kill 15713
+ (( 120 > 1395 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=15794
+ wait 15794
+ kill 15795
+ (( 120 > 1400 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15837
+ wait 15837
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15838
+ (( 120 > 1405 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15898
+ wait 15898
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15899
+ (( 120 > 1410 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15961
+ grep -q '^HTTP/.* 200 OK$'
+ wait 15961
+ kill 15963
+ (( 120 > 1415 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=15987
+ wait 15987
+ grep -q '^HTTP/.* 200 OK$'
+ kill 15988
+ (( 120 > 1420 - 1310 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=15995
+ wait 15995
+ kill 15996
+ (( 120 > 1425 - 1310 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=16000
+ wait 16000
+ telnet localhost 8080
+ kill 16003
+ (( 120 > 1430 - 1310 ))
+ 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; }'
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-4.0.5.GA] $ vncserver -kill :18
Killing Xvnc process ID 5050
Recording test results