See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-727] Added a call to applyPrecedence at all
finalize*CalledBy*InterceptorChain methods belonging to ClassAdvisor. Added call scenarios
to precedence tests.
[flavia.rainone(a)jboss.com] [JBAOP-726] Added a precedence declaration to determine the
order in which advice should be invoked. Adapted the test assertions to comply with the
new advice relative order.
------------------------------------------
[...truncated 86640 lines...]
29564 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 29566
+ (( 120 > 1721 - 1672 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=29584
+ wait 29584
+ grep -q '^HTTP/.* 200 OK$'
+ kill 29585
+ (( 120 > 1726 - 1672 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=29635
+ wait 29635
+ grep -q '^HTTP/.* 200 OK$'
+ kill 29636
+ (( 120 > 1731 - 1672 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=29675
+ grep -q '^HTTP/.* 200 OK$'
+ wait 29675
+ kill 29676
+ (( 120 > 1736 - 1672 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=29716
+ wait 29716
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 29714 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
29716 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 29720
+ (( 120 > 1741 - 1672 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=29735
+ grep -q '^HTTP/.* 200 OK$'
+ wait 29735
+ kill 29736
+ (( 120 > 1748 - 1672 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=29781
+ wait 29781
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 29784
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ bash build.sh test -Dtest=aop -Dconfig=4.0.4.GA-ejb3
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
Overriding previous definition of reference to xdoclet.task.classpath
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 32.028 sec
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 24.934 sec
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 19.572 sec
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.183 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: 20.376 sec
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.883 sec
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.TxLockUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.TxUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED (timeout)
BUILD SUCCESSFUL
Total time: 17 minutes 32 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
-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-branc...
+ getopts p:b:t:m: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+ [[ -r
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+ [[ -s
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
]]
+
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-branc...
+ chmod 770
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ -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-branch_2_1-jbossas-4.0.4.GA-ejb3/ws/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
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4.GA-ejb3/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
-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-branch_2_1-jbossas-4....
++ read IP ServerLog
++ echo
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2...
+ echo Checking Log
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4.GA-ejb3/ws/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4.GA-ejb3/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-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 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-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\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-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 15 < 90 ))
+ i=20
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 20 < 90 ))
+ i=25
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 25 < 90 ))
+ i=30
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 30 < 90 ))
+ i=35
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 35 < 90 ))
+ i=40
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 40 < 90 ))
+ i=45
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 45 < 90 ))
+ i=50
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 50 < 90 ))
+ i=55
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 55 < 90 ))
+ i=60
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 60 < 90 ))
+ i=65
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 65 < 90 ))
+ i=70
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 70 < 90 ))
+ i=75
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 75 < 90 ))
+ i=80
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 80 < 90 ))
+ i=85
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 85 < 90 ))
+ i=90
++ tail -1
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch_2_1-jbossas-4.0.4....
+ [[ 14:36:53,653 INFO [Server] JBoss SHUTDOWN: Undeploying all packages ==
\H\a\l\t\i\n\g\ \V\M ]]
+ sleep 5
+ (( 90 < 90 ))
+ echo JBoss Instance cannot shutdown in time. Killing.
JBoss Instance cannot shutdown in time. Killing.
+ kill-jboss
++ uname -s
+ [[ Linux == \L\i\n\u\x ]]
+ ps -eaf --columns 2200
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill
+ grep run.jar
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ xargs kill -9
+ grep -v grep
+ awk '{ print $2; }'
+ echo Exiting with a failure.
Exiting with a failure.
+ return 1
Terminating xvnc
[jboss-aop-branch_2_1-jbossas-4.0.4.GA-ejb3] $ vncserver -kill :15
Killing Xvnc process ID 24818
[jboss-aop-branch_2_1-jbossas-4.0.4.GA-ejb3] $ bash -xe /tmp/hudson2692150154588525589.sh
+ kill 24798
Recording test results