See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/18/
------------------------------------------
[...truncated 24909 lines...]
+ 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_x/w...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.89.18
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.18 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.89.18 '
+ 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_x/w...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/ws/Branch_5_x/build/output/jboss-5.2.0.Beta/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/ws/Branch_5_x/build/output/jboss-5.2.0.Beta/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.89.18
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.18 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/w...
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_x/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.18
+ 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=2441
+ (( 120 > 2441 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20073
+ wait 20073
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20074
+ (( 120 > 2447 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20122
+ wait 20122
+ kill 20125
+ (( 120 > 2452 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20140
+ wait 20140
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20141
+ (( 120 > 2457 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20159
+ wait 20159
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20160
+ (( 120 > 2462 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=20175
+ wait 20175
+ kill 20178
+ (( 120 > 2468 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20194
+ wait 20194
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20195
+ (( 120 > 2473 - 2441 ))
+ telnet localhost 8080
+ TELNET=20207
+ wait 20207
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 20208
+ (( 120 > 2478 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20225
+ wait 20225
+ kill 20230
+ (( 120 > 2484 - 2441 ))
+ 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 > 2489 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ TELNET=20261
+ wait 20261
+ kill 20264
+ (( 120 > 2495 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20287
+ wait 20287
+ kill 20289
+ (( 120 > 2500 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20302
+ wait 20302
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20303
+ (( 120 > 2505 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20317
+ wait 20317
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20318
+ (( 120 > 2511 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20333
+ wait 20333
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 20336
+ (( 120 > 2516 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20352
+ wait 20352
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20353
+ (( 120 > 2521 - 2441 ))
+ telnet localhost 8080
+ TELNET=20368
+ wait 20368
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20369
+ (( 120 > 2526 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20384
+ wait 20384
+ kill 20389
+ (( 120 > 2531 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20404
+ wait 20404
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20405
+ (( 120 > 2536 - 2441 ))
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20419
+ wait 20419
+ kill 20422
+ (( 120 > 2542 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20438
+ wait 20438
+ kill 20440
+ (( 120 > 2547 - 2441 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ TELNET=20453
+ wait 20453
+ sleep 5
+ kill 20454
+ (( 120 > 2552 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=20470
+ wait 20470
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 20472
+ (( 120 > 2558 - 2441 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20488
+ wait 20488
+ grep -q '^HTTP/.* 200 OK$'
+ kill 20489
+ (( 120 > 2563 - 2441 ))
+ 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
+ grep run.jar
+ grep -v grep
+ ps -eaf --columns 2200
+ 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-branch_5_x] $ vncserver -kill :15
Killing Xvnc process ID 14147
kill 14147: No such process
[jboss-aop-head-jbossas-branch_5_x] $ bash -xe /tmp/hudson3225303069686234077.sh
+ kill 14125
Recording test results