See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/6...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-735] Script fixed.
------------------------------------------
[...truncated 25038 lines...]
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.241
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.241 '
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_0/Branch_5_0/build/output/jboss-5.0.2.GA/server/all
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.88.241 '
+ 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_0/Branch_5_0/build/output/jboss-5.0.2.GA/server/all
Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_0/Branch_5_0/build/output/jboss-5.0.2.GA/server/all
++ pwd
+ echo From directory
'"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_0/Branch_5_0/build/output/jboss-5.0.2.GA/bin"'
From directory
"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-branch_5_0/Branch_5_0/build/output/jboss-5.0.2.GA/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.88.241
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.241 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/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.241
+ 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=2484
+ (( 120 > 2484 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=22967
+ grep -q '^HTTP/.* 200 OK$'
+ wait 22967
+ kill 22968
+ (( 120 > 2489 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=23018
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 23018
+ kill 23019
+ (( 120 > 2494 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23037
+ wait 23037
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23038
+ (( 120 > 2499 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23054
+ wait 23054
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23055
+ (( 120 > 2504 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23069
+ wait 23069
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23070
+ (( 120 > 2509 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23089
+ wait 23089
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23090
+ (( 120 > 2514 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=23111
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 23111
+ kill 23112
+ (( 120 > 2519 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23128
+ wait 23128
+ kill 23130
+ (( 120 > 2524 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23146
+ wait 23146
+ kill 23148
+ (( 120 > 2529 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23164
+ wait 23164
+ kill 23165
+ (( 120 > 2534 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23178
+ grep -q '^HTTP/.* 200 OK$'
+ wait 23178
+ kill 23179
+ (( 120 > 2539 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23197
+ wait 23197
+ kill 23199
+ (( 120 > 2544 - 2484 ))
+ telnet localhost 8080
+ TELNET=23214
+ wait 23214
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 23215
+ (( 120 > 2549 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23233
+ grep -q '^HTTP/.* 200 OK$'
+ wait 23233
+ kill 23235
+ (( 120 > 2555 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=23249
+ wait 23249
+ telnet localhost 8080
+ kill 23251
+ (( 120 > 2560 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23268
+ wait 23268
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23269
+ (( 120 > 2565 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23299
+ wait 23299
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23300
+ (( 120 > 2570 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23315
+ wait 23315
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23316
+ (( 120 > 2575 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ TELNET=23352
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ wait 23352
+ kill 23353
+ (( 120 > 2580 - 2484 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23397
+ wait 23397
+ kill 23398
+ (( 120 > 2585 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23415
+ wait 23415
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23416
+ (( 120 > 2590 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23448
+ wait 23448
+ grep -q '^HTTP/.* 200 OK$'
+ kill 23449
+ (( 120 > 2595 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=23478
+ grep -q '^HTTP/.* 200 OK$'
+ wait 23478
+ kill 23479
+ (( 120 > 2600 - 2484 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=23506
+ wait 23506
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 23509
+ (( 120 > 2605 - 2484 ))
+ 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
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-branch_5_0] $ vncserver -kill :12
Killing Xvnc process ID 17222
kill 17222: No such process
[jboss-aop-head-jbossas-branch_5_0] $ bash -xe /tmp/hudson5145731704135826386.sh
+ kill 17205
Recording test results