See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA-ejb...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-707] Test AspectFactories
[kabir.khan(a)jboss.com] [JBAOP-707] Add test for classic weaving
[kabir.khan(a)jboss.com] Unused imports
[kabir.khan(a)jboss.com] [JBAOP-707] Rename class
[kabir.khan(a)jboss.com] Comment out debug stuff
------------------------------------------
[...truncated 85823 lines...]
+ (( 120 > 1114 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16486
+ wait 16486
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16487
+ (( 120 > 1119 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16543
+ wait 16543
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16544
+ (( 120 > 1124 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=16579
+ wait 16579
+ kill 16582
+ (( 120 > 1129 - 1089 ))
+ telnet localhost 8080
+ TELNET=16631
+ wait 16631
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 16632
+ (( 120 > 1129 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16637
+ wait 16637
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16638
+ (( 120 > 1134 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16655
+ wait 16655
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16656
+ (( 120 > 1139 - 1089 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=16674
+ wait 16674
+ grep -q '^HTTP/.* 200 OK$'
+ kill 16675
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/jboss-4.0.5.GA-src/testsuite/build.xml
test:
[mkdir] Created dir:
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-4.0.5.GA-ejb3/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: 83.481 sec
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 77.493 sec
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 74.308 sec
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.489 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.832 sec
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.991 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: 20 minutes 31 seconds
+ stop-jboss -p
/qa/services/hudson/hudson_workspace/workspace/jboss-aop-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-head-jbossas-4.0.5.GA-ejb3/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-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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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...
+ [[ 00:55:26,959 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
+ awk '{ print $2; }'
+ xargs kill
+ 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 :17
Killing Xvnc process ID 12703
[jboss-aop-head-jbossas-4.0.5.GA-ejb3] $ bash -xe /tmp/hudson6185696179733188697.sh
+ kill 12683
Recording test results