Build failed in Hudson: jboss-aop-jbossas-4.0.5.GA-jdk15 #446
by jboss-qa-internal@redhat.com
See http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/44...
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 25725 lines...]
Total time: 6 seconds
+ start-jboss -p /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all -b localhost
+ local flag=
+ 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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all ]]
++ basename /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.1.114
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.1.114 '
+ cd /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.1.114 '
+ 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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all
Starting server /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all
++ pwd
+ echo From directory '"/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"'
>From directory "/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/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.1.114 "'
With Command "./run.sh -c all -b localhost -u 227.43.1.114 "
+ echo Log to http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
Log to http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
+ [[ -fws http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws... ]]
+ echo localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.G...
+ ./run.sh -c all -b localhost -u 227.43.1.114
+ 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=657
+ (( 120 > 657 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ TELNET=16783
+ grep -q '^HTTP/.* 200 OK$'
+ sleep 5
+ telnet localhost 8080
+ wait 16783
+ kill 16784
+ (( 120 > 662 - 657 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16823
+ wait 16823
+ kill 16824
+ (( 120 > 667 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16830
+ wait 16830
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16831
+ (( 120 > 672 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16847
+ wait 16847
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16848
+ (( 120 > 677 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16855
+ wait 16855
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16856
+ (( 120 > 682 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=16862
+ wait 16862
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 16863
+ (( 120 > 687 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16914
+ wait 16914
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16915
+ (( 120 > 692 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16940
+ wait 16940
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16941
+ (( 120 > 697 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16980
+ wait 16980
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16981
+ (( 120 > 702 - 657 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16988
+ wait 16988
+ kill 16989
+ (( 120 > 707 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16995
+ grep -q '^HTTP/.* 200 OK$'
+ wait 16995
+ kill 16996
+ (( 120 > 712 - 657 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=17020
+ wait 17020
+ grep -q '^HTTP/.* 200 OK$'
+ kill 17021
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/testsuite
+ bash build.sh test -Dtest=aop -Dconfig=4.0.5.GA-ejb3
Searching for build.xml ...
Buildfile: /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/testsuite/build.xml
test:
[mkdir] Created dir: /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/testsuite/output/log
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 80.701 sec
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 73.92 sec
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 74.838 sec
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.514 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: 74.121 sec
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.705 sec
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 82.404 sec
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 73.949 sec
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 73.487 sec
BUILD SUCCESSFUL
Total time: 9 minutes 16 seconds
+ stop-jboss -p /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all ]]
+ [[ -frs /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/shutdown.sh ]]
+ [[ -frs /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/bin/shutdown.sh ]]
+ [[ -frs /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh ]]
+ JBOSS_SHUTDOWN_PATH=/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh
+ chmod 770 /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/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 "/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh -S -s localhost:1099"
+ /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk1...
++ read IP ServerLog
++ echo http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.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.5.GA-jdk15/ws..."' for shutdown.
Checking Log "http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws..." 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.5.GA-jdk15/ws...
+ [[ 00:47:50,052 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.5.GA-jdk15/ws...
+ [[ 00:47:53,465 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.5.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.5.GA-ejb3
Searching for build.xml ...
Buildfile: /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/testsuite/build.xml
tests-aop-scoped:
[copy] Copying 1 file to /qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.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.5.GA-jdk15/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA/bin/jdk14-pluggable-instrumentor.jar:/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/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
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-jbossas-4.0.5.GA-jdk15/jboss-4.0.5.GA-src/testsuite/build.xml:2716: Error starting server "scoped-aop": Server failed to start; see logs.
Total time: 2 minutes 4 seconds
Terminating xvnc
[jboss-aop-jbossas-4.0.5.GA-jdk15] $ vncserver -kill :12
Killing Xvnc process ID 16270
Recording test results