See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/645...
Changes:
[pgier] Make including source files a little simpler.
[kabir.khan(a)jboss.com] [JBAOP-666] Enable logging
[pgier] Remove some unused code. Improve javadoc generation.
------------------------------------------
[...truncated 26788 lines...]
backup-jbossaop-library:
update-jbossaop-library:
install.bin:
[copy] Copying 2 files to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
backup.javassist.post.4.0.4:
[move] Moving 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
install.post.4.0.4:
[delete] Deleting:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
install:
BUILD SUCCESSFUL
Total time: 11 seconds
+ start-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/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-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.5.GA/ws/...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.160
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.160 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.88.160 '
+ 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.5.GA/ws/...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.88.160
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.160 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4....
+ ./run.sh -c all -b localhost -u 227.43.88.160
+ 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=1186
+ (( 120 > 1186 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2655
+ wait 2655
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2656
+ (( 120 > 1191 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2709
+ grep -q '^HTTP/.* 200 OK$'
+ wait 2709
+ kill 2710
+ (( 120 > 1196 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=2734
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ wait 2734
+ kill 2735
+ (( 120 > 1201 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2750
+ wait 2750
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2751
+ (( 120 > 1206 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2773
+ wait 2773
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2774
+ (( 120 > 1211 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=2824
+ wait 2824
+ kill 2825
+ (( 120 > 1216 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2870
+ wait 2870
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2871
+ (( 120 > 1221 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2904
+ wait 2904
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 2903 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
2904 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 2905
+ (( 120 > 1227 - 1186 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=2954
+ wait 2954
+ kill 2957
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ bash build.sh test -Dtest=aop -Dconfig=4.0.5.GA-ejb3
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 14.088 sec
[junit] Test org.jboss.test.aop.test.AOPUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 75.403 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 8.804 sec
[junit] Test org.jboss.test.aop.test.RemotingUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.84 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.SecurityUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 11.177 sec
[junit] Test org.jboss.test.aop.test.SecurityUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.334 sec
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 80.703 sec
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 70.512 sec
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 70.523 sec
BUILD SUCCESSFUL
Total time: 6 minutes 3 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:t:m: flag
+ case $flag in
+ local
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-...
+ getopts p:b:t:m: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-...
+ chmod 770
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_SHUTDOWN_MODE=S
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=90
+ local 'STOP_OPTS=-S -s localhost:1099'
+ echo Stopping server on IP localhost
Stopping server on IP localhost
+ echo With command
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"'
With command
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
-S -s localhost:1099
Shutdown message has been posted to the server.
Server shutdown may take a while - check logfiles for completion
++ exec
++ IFS==
++ read IP ServerLog
++ [[ localhost == \l\o\c\a\l\h\o\s\t ]]
++
LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA...
++ read IP ServerLog
++ echo
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbo...
+ echo Checking Log
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/server_all.log"
for shutdown.
+ echo Timeout will be 90 seconds.
Timeout will be 90 seconds.
+ local interval=5
+ local i=0
+ (( 0 < 90 ))
+ i=5
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ 00:31:22,464 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 5 < 90 ))
+ i=10
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ 00:31:27,475 INFO [TreeCache] stopService(): closing the channel == \H\a\l\t\i\n\g\
\V\M ]]
+ sleep 5
+ (( 10 < 90 ))
+ i=15
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ Halting VM == \H\a\l\t\i\n\g\ \V\M ]]
+ return 0
+ rm -rf output/reports/TEST-org.jboss.test.aop.test.ScopedUnitTestCase.xml
+ bash build.sh tests-aop-scoped -Dconfig=4.0.5.GA-ejb3
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
tests-aop-scoped:
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
[server:start] Starting server "scoped-aop" with command:
[server:start] /qa/tools/opt/jdk1.5.0_15/bin/java -cp
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
:/qa/tools/opt/jdk1.5.0_15/lib/tools.jar
-Xbootclasspath/p:http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/bin/jdk14-pluggable-instrumentor.jar
:http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/bin/woven-classloader
-Djgroups.udp.ip_ttl=1 org.jboss.Main -c all -b localhost
BUILD FAILED
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
:2716: Error starting server "scoped-aop": Server failed to start; see logs.
exit code: 0
Total time: 1 minute 3 seconds
Terminating xvnc
[jboss-aop-head-jbossas-4.0.5.GA] $ vncserver -kill :14
Killing Xvnc process ID 28909
Recording test results