See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/56...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-672] Allow access to Instrumentation from Agent
[kabir.khan(a)jboss.com] [JBAOP-672] Undo previous commit - I'd included too many files
[kabir.khan(a)jboss.com] [JBAOP-672] aop/src/main/org/jboss/aop/standalone/Agent.java
------------------------------------------
[...truncated 27762 lines...]
+ telnet localhost 8080
+ TELNET=25807
+ wait 25807
+ kill 25809
+ (( 120 > 910 - 895 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25834
+ wait 25834
+ kill 25835
+ (( 120 > 915 - 895 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25871
+ wait 25871
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25872
+ (( 120 > 921 - 895 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=25958
+ wait 25958
+ grep -q '^HTTP/.* 200 OK$'
+ kill 25959
+ (( 120 > 926 - 895 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=26022
+ wait 26022
+ grep -q '^HTTP/.* 200 OK$'
+ kill 26023
+ (( 120 > 931 - 895 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=26079
+ wait 26079
+ kill 26080
+ (( 120 > 936 - 895 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=26107
+ wait 26107
+ grep -q '^HTTP/.* 200 OK$'
+ kill 26108
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
+ 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-jbossas-4.0.5.GA-jdk15/ws...
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.AOPUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.RemotingUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.SecurityUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.SecurityUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.SimpleBeanUnitTestCase FAILED (timeout)
[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: 45 minutes 11 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
-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-jboss...
+ getopts p:b:t:m: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
]]
+
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jboss...
+ chmod 770
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
+ [[ -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-jbossas-4.0.5.GA-jdk15/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-jbossas-4.0.5.GA-jdk15/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-jbossas-4.0.5.GA-jdk15/ws...
-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/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.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.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15/ws...
+ [[ 13:05:17,600 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.5.GA-jdk15/ws...
== \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-jbossas-4.0.5.GA-jdk15] $ vncserver -kill :12
Killing Xvnc process ID 21763
Recording test results