See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
Changes:
[kabir.khan(a)jboss.com] Disable Hotswap tests
------------------------------------------
[...truncated 88146 lines...]
install:
BUILD SUCCESSFUL
Total time: 2 minutes 0 seconds
+ start-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:u:g:t: flag
+ case $flag in
+ 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-4.0.4.GA-ejb...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.89.26
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.26 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.89.26 '
+ 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.4.GA-ejb...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb3/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb3/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.89.26
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.26 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.4.GA-ejb...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4....
+ ./run.sh -c all -b localhost -u 227.43.89.26
+ 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=2180
+ (( 120 > 2180 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20184
+ wait 20184
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20185
+ (( 120 > 2185 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20215
+ wait 20215
+ kill 20217
+ (( 120 > 2191 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20232
+ wait 20232
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20233
+ (( 120 > 2197 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20244
+ wait 20244
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20245
+ (( 120 > 2202 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20260
+ wait 20260
+ kill 20264
+ (( 120 > 2207 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20288
+ wait 20288
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20289
+ (( 120 > 2212 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20303
+ grep -q '^HTTP/.* 200 OK$'
+ wait 20303
+ kill 20304
+ (( 120 > 2218 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20323
+ wait 20323
+ kill 20326
+ (( 120 > 2223 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20338
+ wait 20338
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20339
+ (( 120 > 2229 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20355
+ grep -q '^HTTP/.* 200 OK$'
+ wait 20355
+ kill 20356
+ (( 120 > 2234 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20369
+ wait 20369
+ kill 20371
+ (( 120 > 2239 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20399
+ wait 20399
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20400
+ (( 120 > 2248 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20417
+ wait 20417
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 20416 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
20417 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 20418
+ (( 120 > 2255 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20426
+ wait 20426
+ kill 20430
+ (( 120 > 2260 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20443
+ wait 20443
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 20441 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
20443 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 20444
+ (( 120 > 2269 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20492
+ wait 20492
+ kill 20493
+ (( 120 > 2274 - 2180 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20514
+ wait 20514
+ kill 20517
+ (( 120 > 2279 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20545
+ wait 20545
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 20543 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
20545 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 20546
+ (( 120 > 2287 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20579
+ wait 20579
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20580
+ (( 120 > 2292 - 2180 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=20592
+ wait 20592
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 20590 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
20592 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 20593
+ (( 120 > 2297 - 2180 ))
+ telnet localhost 8080
+ TELNET=20618
+ wait 20618
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 20619
+ (( 120 > 2302 - 2180 ))
+ 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; }'
+ ps -eaf --columns 2200
+ xargs kill
+ sleep 10
+ ps -eaf --columns 2200
+ grep -v grep
+ awk '{ print $2; }'
+ grep run.jar
+ xargs kill -9
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-4.0.4.GA-ejb3] $ vncserver -kill :18
Killing Xvnc process ID 15474
[jboss-aop-head-jbossas-4.0.4.GA-ejb3] $ bash -xe /tmp/hudson1689944508248127788.sh
+ kill 15453
Recording test results