See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/49...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-650] annotationProperty tests should only be run with
loadtime weaving
[kabir.khan(a)jboss.com] Add script to pass in jrockit parameters to the release build
------------------------------------------
[...truncated 26417 lines...]
install.post.4.0.4:
[delete] Deleting:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
install:
BUILD SUCCESSFUL
Total time: 9 seconds
+ start-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
-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-jbossas...
+ 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-jbossas-4.0.4.GA-jdk15/ws...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.0.201
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.0.201 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.0.201 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/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-jbossas-4.0.4.GA-jdk15/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.0.201
"'
With Command "./run.sh -c all -b localhost -u 227.43.0.201 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.G...
+ ./run.sh -c all -b localhost -u 227.43.0.201
+ 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=1458
+ (( 120 > 1458 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16490
+ wait 16490
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16491
+ (( 120 > 1464 - 1458 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16525
+ wait 16525
+ kill 16535
+ (( 120 > 1472 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16555
+ wait 16555
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16556
+ (( 120 > 1477 - 1458 ))
+ telnet localhost 8080
+ TELNET=16581
+ wait 16581
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16582
+ (( 120 > 1484 - 1458 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16610
+ wait 16610
+ kill 16615
+ (( 120 > 1491 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16643
+ wait 16643
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16644
+ (( 120 > 1496 - 1458 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16669
+ wait 16669
+ kill 16674
+ (( 120 > 1502 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=16697
+ grep -q '^HTTP/.* 200 OK$'
+ wait 16697
+ telnet localhost 8080
+ kill 16698
+ (( 120 > 1510 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16733
+ wait 16733
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16734
+ (( 120 > 1515 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16757
+ wait 16757
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16758
+ (( 120 > 1521 - 1458 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16777
+ wait 16777
+ kill 16782
+ (( 120 > 1526 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16803
+ wait 16803
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16804
+ (( 120 > 1533 - 1458 ))
+ telnet localhost 8080
+ TELNET=16840
+ wait 16840
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 16841
+ (( 120 > 1538 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16875
+ grep -q '^HTTP/.* 200 OK$'
+ wait 16875
+ kill 16876
+ (( 120 > 1545 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16911
+ wait 16911
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 16909 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
16911 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 16912
+ (( 120 > 1553 - 1458 ))
+ telnet localhost 8080
+ TELNET=16942
+ wait 16942
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ kill 16943
+ (( 120 > 1559 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=16965
+ wait 16965
+ kill 16971
+ (( 120 > 1565 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=17020
+ wait 17020
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 17018 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
17020 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 17021
+ (( 120 > 1572 - 1458 ))
+ telnet localhost 8080
+ TELNET=17055
+ wait 17055
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 17054 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
17055 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 17056
+ (( 120 > 1577 - 1458 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=17115
+ grep -q '^HTTP/.* 200 OK$'
+ wait 17115
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 17113 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
17115 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 17116
+ (( 120 > 1586 - 1458 ))
+ 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
+ awk '{ print $2; }'
+ xargs kill -9
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ bash -xe /tmp/hudson4406.sh
+ kill 11652
Terminating xvnc
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ vncserver -kill :10
Killing Xvnc process ID 11694
Recording test results