See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
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 27123 lines...]
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ kill 25047
+ (( 120 > 1605 - 1539 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=25089
+ wait 25089
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ kill 25090
+ (( 120 > 1610 - 1539 ))
+ TELNET=25126
+ wait 25126
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ kill 25127
+ (( 120 > 1616 - 1539 ))
+ TELNET=25143
+ wait 25143
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ kill 25144
+ (( 120 > 1621 - 1539 ))
+ TELNET=25157
+ wait 25157
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ kill 25158
+ (( 120 > 1626 - 1539 ))
+ TELNET=25171
+ wait 25171
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
/tmp/hudson3753023211213260532.sh: line 30: 25170 Done ( echo -e
"GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
25171 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 25172
+ (( 120 > 1632 - 1539 ))
+ TELNET=25205
+ wait 25205
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ kill 25206
+ 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-ejb...
+ 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-ejb...
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 110.821 sec
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 88.372 sec
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 82.517 sec
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.048 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: 82.366 sec
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.524 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: 21 minutes 44 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:t:m: flag
+ local
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-...
+ getopts p:b:t:m: flag
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+ [[ -f
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+ [[ -r
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+ [[ -s
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
]]
+
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-ejb...
+ [[ -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-ejb3/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-ejb3/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-ejb...
-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-ejb...
+
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-ejb3/ws/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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-head-jbossas-4.0.5.GA-ejb...
+ [[ 15:39:37,648 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 run.jar
+ grep -v grep
+ xargs kill
+ awk '{ print $2; }'
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill -9
+ echo Exiting with a failure.
Exiting with a failure.
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-4.0.5.GA-ejb3] $ vncserver -kill :15
Killing Xvnc process ID 20707
[jboss-aop-head-jbossas-4.0.5.GA-ejb3] $ bash -xe /tmp/hudson8409162241740090374.sh
+ kill 20687
Recording test results