See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/11/...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-666] Add logging to the new classpools
------------------------------------------
[...truncated 31121 lines...]
+ telnet localhost 8080
+ TELNET=12866
+ wait 12866
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12867
+ (( 120 > 1263 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12873
+ wait 12873
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12874
+ (( 120 > 1268 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=12968
+ wait 12968
+ grep -q '^HTTP/.* 200 OK$'
+ kill 12969
+ (( 120 > 1273 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13033
+ wait 13033
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13034
+ (( 120 > 1279 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=13053
+ wait 13053
+ kill 13056
+ (( 120 > 1284 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13091
+ wait 13091
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13094
+ (( 120 > 1289 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=13155
+ wait 13155
+ kill 13156
+ (( 120 > 1294 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13238
+ wait 13238
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13239
+ (( 120 > 1299 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13298
+ wait 13298
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13299
+ (( 120 > 1304 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13320
+ wait 13320
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13321
+ (( 120 > 1309 - 1192 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=13351
+ wait 13351
+ grep -q '^HTTP/.* 200 OK$'
+ kill 13352
+ 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: 1.916 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: 1.423 sec
[junit] Test org.jboss.test.aop.test.AnnotatedTestCase FAILED
[junit] Running org.jboss.test.aop.test.DeployersInitialTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.899 sec
[junit] Test org.jboss.test.aop.test.DeployersInitialTestCase FAILED
[junit] Running org.jboss.test.aop.test.ExtenderTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.345 sec
[junit] Test org.jboss.test.aop.test.ExtenderTestCase FAILED
[junit] Running org.jboss.test.aop.test.JMXUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 2.116 sec
[junit] Test org.jboss.test.aop.test.JMXUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.743 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.974 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.598 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: 0.95 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: 2, Time elapsed: 1.374 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: 1.275 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.6 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.845 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.682 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.807 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.716 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.525 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.795 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.548 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.06 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: 1.335 sec
[junit] Test org.jboss.test.aop.test.SecurityUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.858 sec
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.562 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: 1.582 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.821 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 2 minutes 29 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 :12
Killing Xvnc process ID 6834
Recording test results