See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/47...
------------------------------------------
[...truncated 26839 lines...]
+ telnet localhost 8080
+ TELNET=5463
+ wait 5463
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5464
+ (( 120 > 663 - 647 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5488
+ wait 5488
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5489
+ (( 120 > 668 - 647 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=5527
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5527
+ telnet localhost 8080
+ kill 5528
+ (( 120 > 674 - 647 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=5581
+ wait 5581
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 5579 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
5581 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 5586
+ (( 120 > 680 - 647 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5626
+ wait 5626
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 5624 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
5626 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 5627
+ (( 120 > 685 - 647 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5683
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5683
+ kill 5684
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ 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-jbossas-4.0.4.GA-jdk15/ws...
Overriding previous definition of reference to xdoclet.task.classpath
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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 8 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.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.4.GA-jdk15/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-jbossas-4.0.4.GA-jdk15/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-jbossas-4.0.4.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.4.GA-jdk1...
++ read IP ServerLog
++ echo
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws/server_all.log"'
for shutdown.
Checking Log
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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.4.GA-jdk15/ws...
+ [[ 15:25:32,262 INFO [EJBDeployer] Undeploying:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.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
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ bash -xe /tmp/hudson18745.sh
+ kill 3101
Terminating xvnc
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ vncserver -kill :10
Killing Xvnc process ID 3096
Recording test results