See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/43...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-617] To play on the safe side, added a check to
ClassInstanceAdvisor finalize method, to verify if advisor
and the advised class are not null before invoking hotswap... Of course, wouldn't it
do this check and get a NPE,
the JVM would ignore the exception as it is being thrown by a finalize method.
Just avoiding useless exceptions here.
[flavia.rainone(a)jboss.com] [JBAOP-622] Now ClassAdvisor.advisable(Method method) does not
accept access$1 methods.
------------------------------------------
[...truncated 26555 lines...]
+ local OPTIND=1
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local
JBOSS_SERVER_PATH=/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
]]
++ basename
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.1.124
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.1.124 '
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.1.124 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-...
+ echo Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
Starting server
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
++ pwd
+ echo From directory
'"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/bin"'
From directory
"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/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.1.124
"'
With Command "./run.sh -c all -b localhost -u 227.43.1.124 "
+ 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.1.124
+ 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=840
+ (( 120 > 840 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=5356
+ wait 5356
+ kill 5361
+ (( 120 > 846 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5392
+ wait 5392
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5393
+ (( 120 > 851 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5417
+ wait 5417
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5418
+ (( 120 > 856 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5436
+ wait 5436
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5437
+ (( 120 > 861 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5452
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5452
+ kill 5453
+ (( 120 > 866 - 840 ))
+ telnet localhost 8080
+ TELNET=5485
+ wait 5485
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 5486
+ (( 120 > 866 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5491
+ wait 5491
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5492
+ (( 120 > 871 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5507
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5507
+ kill 5508
+ (( 120 > 876 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5557
+ wait 5557
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5558
+ (( 120 > 881 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5595
+ wait 5595
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5596
+ (( 120 > 886 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5631
+ wait 5631
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5632
+ (( 120 > 891 - 840 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5664
+ wait 5664
+ kill 5667
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/testsuite
+ bash build.sh test -Dtest=aop -Dconfig=4.0.4.GA-ejb3
Searching for build.xml ...
Buildfile:
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/testsuite/build.xml
Overriding previous definition of reference to xdoclet.task.classpath
test:
[mkdir] Created dir:
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/testsuite/output/log
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 84.519 sec
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 76.971 sec
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 76.858 sec
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.52 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: 0, Time elapsed: 77.358 sec
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.514 sec
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 86.119 sec
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 76.351 sec
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 76.012 sec
BUILD SUCCESSFUL
Total time: 9 minutes 41 seconds
+ stop-jboss -p
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:t:m: flag
+ case $flag in
+ local
JBOSS_SHUTDOWN_PATH=/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
+ getopts p:b:t:m: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -frs
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all
]]
+ [[ -frs
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/shutdown.sh
]]
+ [[ -frs
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/bin/shutdown.sh
]]
+ [[ -frs
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
]]
+
JBOSS_SHUTDOWN_PATH=/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
+ chmod 770
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
+ [[ -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
'"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"'
With command
"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-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-jbossas-4.0.4.GA-jdk1...
++ read IP ServerLog
++ echo
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-...
+ echo Checking Log
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/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-jbossas-4.0.4.GA-jdk15/ws...
+ [[ 00:42:16,693 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-jbossas-4.0.4.GA-jdk15/ws...
+ [[ 00:42:21,681 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name
'java:DefaultDS' == \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-jbossas-4.0.4.GA-jdk15/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.4.GA-ejb3
Searching for build.xml ...
Buildfile:
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/testsuite/build.xml
Overriding previous definition of reference to xdoclet.task.classpath
tests-aop-scoped:
[copy] Copying 1 file to
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin
[server:start] Starting server "scoped-aop" with command:
[server:start] /qa/tools/opt/jdk1.5.0_15/bin/java -cp
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/run.jar:/qa/tools/opt/jdk1.5.0_15/lib/tools.jar
-Xbootclasspath/p:/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/jdk14-pluggable-instrumentor.jar:/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/bin/woven-classloader
org.jboss.Main -c all -b localhost
BUILD FAILED
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.4.GA-jdk15/jboss-4.0.4.GA-src/testsuite/build.xml:2640:
Error starting server "scoped-aop": Server failed to start; see logs.
Total time: 2 minutes 4 seconds
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ bash -xe /tmp/hudson55827.sh
+ kill 3129
Terminating xvnc
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ vncserver -kill :13
Killing Xvnc process ID 3171
Recording test results