See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/10/...
------------------------------------------
[...truncated 26635 lines...]
+ telnet localhost 8080
+ TELNET=5001
+ wait 5001
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5002
+ (( 120 > 861 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5008
+ grep -q '^HTTP/.* 200 OK$'
+ wait 5008
+ kill 5009
+ (( 120 > 866 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=5037
+ wait 5037
+ telnet localhost 8080
+ kill 5039
+ (( 120 > 871 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5044
+ wait 5044
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5045
+ (( 120 > 876 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=5103
+ wait 5103
+ kill 5105
+ (( 120 > 881 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5128
+ wait 5128
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5129
+ (( 120 > 886 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5143
+ wait 5143
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5144
+ (( 120 > 891 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=5176
+ wait 5176
+ grep -q '^HTTP/.* 200 OK$'
+ kill 5177
+ (( 120 > 896 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=5236
+ wait 5236
+ kill 5238
+ (( 120 > 901 - 815 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=5284
+ wait 5284
+ kill 5286
+ (( 120 > 906 - 815 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ telnet localhost 8080
+ TELNET=5313
+ wait 5313
+ sleep 5
+ kill 5314
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
+ bash build.sh test -Dtest=aop
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 3.774 sec
[junit] Test org.jboss.test.aop.test.AOPUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.AnnotatedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.702 sec
[junit] Test org.jboss.test.aop.test.AnnotatedTestCase FAILED
[junit] Running org.jboss.test.aop.test.DeployersInitialTestCase
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.739 sec
[junit] Test org.jboss.test.aop.test.DeployersInitialTestCase FAILED
[junit] Running org.jboss.test.aop.test.ExtenderTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.121 sec
[junit] Running org.jboss.test.aop.test.JMXUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 64.095 sec
[junit] Running org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.157 sec
[junit] Test org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
FAILED
[junit] Running org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.787 sec
[junit] Test org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.NotWovenScopedDependencyUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.924 sec
[junit] Test org.jboss.test.aop.test.NotWovenScopedDependencyUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 2.119 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ProxyCacheTestCase
[junit] Running org.jboss.test.aop.test.ProxyCacheTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.ProxyCacheTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.706 sec
[junit] Test org.jboss.test.aop.test.RemotingUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedAnnotatedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.822 sec
[junit] Test org.jboss.test.aop.test.ScopedAnnotatedTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedAttachUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.829 sec
[junit] Test org.jboss.test.aop.test.ScopedAttachUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedEarWithClassesInWebInfTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.121 sec
[junit] Test org.jboss.test.aop.test.ScopedEarWithClassesInWebInfTestCase FAILED
[junit] Running
org.jboss.test.aop.test.ScopedExtenderBaseLoadedScopedNoParentDelegationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.653 sec
[junit] Test
org.jboss.test.aop.test.ScopedExtenderBaseLoadedScopedNoParentDelegationTestCase FAILED
[junit] Running
org.jboss.test.aop.test.ScopedExtenderBaseLoadedScopedParentDelegationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.378 sec
[junit] Test
org.jboss.test.aop.test.ScopedExtenderBaseLoadedScopedParentDelegationTestCase FAILED
[junit] Running
org.jboss.test.aop.test.ScopedExtenderBaseNotLoadedScopedNoParentDelegationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.409 sec
[junit] Test
org.jboss.test.aop.test.ScopedExtenderBaseNotLoadedScopedNoParentDelegationTestCase
FAILED
[junit] Running
org.jboss.test.aop.test.ScopedExtenderBaseNotLoadedScopedParentDelegationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.063 sec
[junit] Test
org.jboss.test.aop.test.ScopedExtenderBaseNotLoadedScopedParentDelegationTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.445 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedWovenDependencyTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 7.64 sec
[junit] Test org.jboss.test.aop.test.ScopedWovenDependencyTestCase FAILED
[junit] Running org.jboss.test.aop.test.SecurityUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.99 sec
[junit] Test org.jboss.test.aop.test.SecurityUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.575 sec
[junit] Test org.jboss.test.aop.test.SimpleBeanUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.941 sec
[junit] Test org.jboss.test.aop.test.TxLockUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.889 sec
[junit] Test org.jboss.test.aop.test.TxUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.747 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 7 minutes 54 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/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-head-...
+ 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-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+
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-5.0.0.GA/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-head-jbossas-5.0.0.GA/ws/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all/../../bin/shutdown.sh
-S -s localhost:1099"'
With command
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/jboss-5.0.0.GA-src/build/output/jboss-5.0.0.GA/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
-S -s localhost:1099
Exception in thread "main" javax.naming.CommunicationException: Could not obtain
connection to any of these urls: localhost:1099 [Root exception is
javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root
exception is javax.naming.ServiceUnavailableException: Failed to connect to server
localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1727)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:680)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.Shutdown.main(Shutdown.java:219)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server
localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:311)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1698)
... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server
localhost:1099 [Root exception is java.net.ConnectException: Connection refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:281)
... 5 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:277)
... 5 more
+ echo Failed to shutdown JBoss Server. Killing.
Failed to shutdown JBoss Server. 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
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ awk '{ print $2; }'
+ xargs kill -9
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc
[jboss-aop-head-jbossas-5.0.0.GA] $ vncserver -kill :13
Killing Xvnc process ID 1207
Recording test results