See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch...
------------------------------------------
[...truncated 83855 lines...]
+ [[ '' -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-branch_2_1_jbossas-branch...
+ 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-branch_2...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch_5_x/ws/Branch_5_x/build/output/jboss-5.2.0.Beta1/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch_5_x/ws/Branch_5_x/build/output/jboss-5.2.0.Beta1/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-branch_2_1_jbossas-branch...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbossas-branch...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1_jbos...
+ ./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=2266
+ (( 120 > 2266 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=7269
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 7269
+ kill 7270
+ (( 120 > 2272 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7319
+ wait 7319
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7320
+ (( 120 > 2277 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7328
+ wait 7328
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7329
+ (( 120 > 2282 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=7333
+ wait 7333
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 7336
+ (( 120 > 2287 - 2266 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ TELNET=7341
+ wait 7341
+ sleep 5
+ kill 7342
+ (( 120 > 2292 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7354
+ wait 7354
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7355
+ (( 120 > 2298 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7361
+ wait 7361
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7362
+ (( 120 > 2303 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7367
+ wait 7367
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7368
+ (( 120 > 2308 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7376
+ grep -q '^HTTP/.* 200 OK$'
+ wait 7376
+ kill 7377
+ (( 120 > 2313 - 2266 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7384
+ wait 7384
+ kill 7385
+ (( 120 > 2318 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7390
+ wait 7390
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7391
+ (( 120 > 2324 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7396
+ wait 7396
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7397
+ (( 120 > 2329 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=7403
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 7403
+ kill 7406
+ (( 120 > 2334 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7411
+ wait 7411
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7412
+ (( 120 > 2339 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7432
+ wait 7432
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7433
+ (( 120 > 2344 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7456
+ wait 7456
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7457
+ (( 120 > 2349 - 2266 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7477
+ wait 7477
+ kill 7480
+ (( 120 > 2354 - 2266 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7492
+ wait 7492
+ kill 7493
+ (( 120 > 2359 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7510
+ wait 7510
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7511
+ (( 120 > 2365 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=7533
+ wait 7533
+ kill 7536
+ (( 120 > 2370 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7557
+ wait 7557
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7558
+ (( 120 > 2375 - 2266 ))
+ telnet localhost 8080
+ TELNET=7576
+ wait 7576
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 7575 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
7576 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 7577
+ (( 120 > 2380 - 2266 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=7588
+ wait 7588
+ grep -q '^HTTP/.* 200 OK$'
+ kill 7589
+ (( 120 > 2386 - 2266 ))
+ 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 ]]
+ local 'PS=ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk
'\''{ print $2; }'\'''
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
+ xargs kill -3
+ sleep 1
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
+ xargs kill
+ sleep 10
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
++ grep run.jar
+ xargs kill -9
++ grep -v grep
++ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc.
Killing Xvnc process ID 5866
Recording test results