See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/9/c...
Changes:
[pgier] Make including source files a little simpler.
[kabir.khan(a)jboss.com] [JBAOP-666] Enable logging
[pgier] Remove some unused code. Improve javadoc generation.
------------------------------------------
[...truncated 26678 lines...]
+ kill 2717
+ (( 120 > 1178 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2741
+ wait 2741
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2742
+ (( 120 > 1183 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=2757
+ wait 2757
+ kill 2759
+ (( 120 > 1188 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2789
+ wait 2789
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2790
+ (( 120 > 1193 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2838
+ grep -q '^HTTP/.* 200 OK$'
+ wait 2838
+ kill 2839
+ (( 120 > 1198 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ TELNET=2879
+ telnet localhost 8080
+ wait 2879
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2880
+ (( 120 > 1203 - 1106 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2913
+ wait 2913
+ kill 2914
+ (( 120 > 1208 - 1106 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=2963
+ wait 2963
+ grep -q '^HTTP/.* 200 OK$'
+ kill 2964
+ 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: 7.634 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.781 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: 2.513 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: 68.078 sec
[junit] Running org.jboss.test.aop.test.JMXUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.853 sec
[junit] Running org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.633 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: 1.696 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: 1.508 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: 1.761 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ProxyCacheTestCase
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 239.894 sec
[junit] Test org.jboss.test.aop.test.ProxyCacheTestCase FAILED
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.819 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: 1.143 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: 1.229 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: 0.818 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: 1.041 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.64 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.48 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: 0.375 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.53 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedWovenDependencyTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.339 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.309 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: 0.619 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.611 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.588 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: 1.63 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 7 minutes 10 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.management.RuntimeMBeanException
at
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: Server not started
at org.jboss.system.server.ServerImpl.shutdown(ServerImpl.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
... 44 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
+ 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 :15
Killing Xvnc process ID 29082
Recording test results