See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-branch_5_0/4...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-707] Fix issue with packages causing confusion when
unregistering module
------------------------------------------
[...truncated 83434 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_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.23
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.23 '
+ 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.23 '
+ 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.23
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.23 "
+ 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.23
+ 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=2371
+ (( 120 > 2371 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3796
+ wait 3796
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3797
+ (( 120 > 2376 - 2371 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3842
+ wait 3842
+ kill 3845
+ (( 120 > 2381 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3862
+ wait 3862
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3863
+ (( 120 > 2386 - 2371 ))
+ telnet localhost 8080
+ TELNET=3877
+ wait 3877
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3878
+ (( 120 > 2391 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=3894
+ wait 3894
+ kill 3897
+ (( 120 > 2396 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3914
+ wait 3914
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3915
+ (( 120 > 2402 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3930
+ wait 3930
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3931
+ (( 120 > 2407 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3946
+ grep -q '^HTTP/.* 200 OK$'
+ wait 3946
+ kill 3947
+ (( 120 > 2412 - 2371 ))
+ telnet localhost 8080
+ TELNET=3970
+ wait 3970
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3971
+ (( 120 > 2418 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=3988
+ wait 3988
+ grep -q '^HTTP/.* 200 OK$'
+ kill 3989
+ (( 120 > 2423 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=4007
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 4007
+ kill 4008
+ (( 120 > 2429 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4021
+ wait 4021
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4022
+ (( 120 > 2434 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4036
+ wait 4036
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4037
+ (( 120 > 2439 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4055
+ grep -q '^HTTP/.* 200 OK$'
+ wait 4055
+ kill 4056
+ (( 120 > 2445 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4075
+ wait 4075
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4076
+ (( 120 > 2450 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4088
+ wait 4088
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4091
+ (( 120 > 2455 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=4108
+ wait 4108
+ kill 4111
+ (( 120 > 2461 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4125
+ wait 4125
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4126
+ (( 120 > 2466 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4142
+ wait 4142
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4143
+ (( 120 > 2472 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=4158
+ wait 4158
+ telnet localhost 8080
+ kill 4161
+ (( 120 > 2477 - 2371 ))
+ telnet localhost 8080
+ TELNET=4190
+ wait 4190
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 4191
+ (( 120 > 2482 - 2371 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4205
+ wait 4205
+ kill 4209
+ (( 120 > 2488 - 2371 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=4233
+ wait 4233
+ grep -q '^HTTP/.* 200 OK$'
+ kill 4234
+ (( 120 > 2493 - 2371 ))
+ 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
+ xargs kill -9
+ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-branch_5_0] $ vncserver -kill :15
Killing Xvnc process ID 30661
kill 30661: No such process
[jboss-aop-head-jbossas-branch_5_0] $ bash -xe /tmp/hudson298534270616065917.sh
+ kill 30641
Recording test results