See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/66/
------------------------------------------
[...truncated 24659 lines...]
+ local
JBOSS_SERVER_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jb...
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.89.19
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.19 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.89.19 '
+ 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-branch_5_0/w...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/w...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/Branch_5_0/build/output/jboss-5.0.2.GA/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/ws/Branch_5_0/build/output/jboss-5.0.2.GA/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.89.19
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.19 "
+ 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.89.19
+ 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=2338
+ (( 120 > 2338 - 2338 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=27915
+ wait 27915
+ telnet localhost 8080
+ kill 27919
+ (( 120 > 2343 - 2338 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27965
+ wait 27965
+ kill 27966
+ (( 120 > 2348 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27981
+ grep -q '^HTTP/.* 200 OK$'
+ wait 27981
+ kill 27983
+ (( 120 > 2353 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27999
+ wait 27999
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28002
+ (( 120 > 2358 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28017
+ wait 28017
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28018
+ (( 120 > 2363 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28034
+ wait 28034
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28035
+ (( 120 > 2369 - 2338 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28051
+ wait 28051
+ kill 28054
+ (( 120 > 2374 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28070
+ wait 28070
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28071
+ (( 120 > 2379 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28085
+ wait 28085
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28086
+ (( 120 > 2384 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=28100
+ wait 28100
+ kill 28104
+ (( 120 > 2390 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28127
+ wait 28127
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28128
+ (( 120 > 2395 - 2338 ))
+ telnet localhost 8080
+ TELNET=28142
+ wait 28142
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 28143
+ (( 120 > 2400 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=28159
+ wait 28159
+ kill 28162
+ (( 120 > 2405 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28179
+ wait 28179
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28180
+ (( 120 > 2410 - 2338 ))
+ telnet localhost 8080
+ TELNET=28194
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ wait 28194
+ kill 28195
+ (( 120 > 2416 - 2338 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28213
+ wait 28213
+ kill 28216
+ (( 120 > 2421 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28232
+ wait 28232
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28233
+ (( 120 > 2426 - 2338 ))
+ telnet localhost 8080
+ TELNET=28248
+ wait 28248
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28249
+ (( 120 > 2433 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=28265
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 28265
+ kill 28267
+ (( 120 > 2438 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28285
+ wait 28285
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28286
+ (( 120 > 2443 - 2338 ))
+ telnet localhost 8080
+ TELNET=28300
+ wait 28300
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 28301
+ (( 120 > 2448 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ TELNET=28330
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ wait 28330
+ kill 28333
+ (( 120 > 2454 - 2338 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28347
+ wait 28347
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28348
+ (( 120 > 2459 - 2338 ))
+ 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 ]]
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill
+ ps -eaf --columns 2200
+ 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 :17
Killing Xvnc process ID 22180
kill 22180: No such process
[jboss-aop-head-jbossas-branch_5_0] $ bash -xe /tmp/hudson5020809246874507571.sh
+ kill 22160
Recording test results