See
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/148...
Changes:
[kabir.khan(a)jboss.com] [JBAOP-766] Better looking up in cache for classes higher up in the
pool/domain hierarchy
[kabir.khan(a)jboss.com] More tests
[kabir.khan(a)jboss.com] [JBAOP-765] Make AopMetaDataDeployerOutput public
------------------------------------------
[...truncated 26824 lines...]
install.bin:
[copy] Copying 2 files to
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
install:
BUILD SUCCESSFUL
Total time: 1 second
+ start-jboss -t 360 -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:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_TIMEOUT=360
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local
JBOSS_SERVER_PATH=<http://hudson.qa.jboss.com/hudson/job/jboss-aop-hea...
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:u:g:t: flag
+ [[ -d
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
++ basename
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.89.63
+ [[ 360 -gt 0 ]]
+ [[ 360 -le 0xFFFFFFFF ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.89.63 '
+ cd
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.89.63 '
+ local
JBOSS_SERVER_LOG=<http://hudson.qa.jboss.com/hudson/job/jboss-aop-head...
+ echo Starting server
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
Starting server
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
++ pwd
+ echo From directory
'"<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/bin"'>
From directory
"<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/bin">
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.89.63
"'
With Command "./run.sh -c all -b localhost -u 227.43.89.63 "
+ echo Log to
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/148...
Log to
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/148...
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/148...
]]
+ echo
localhost=<http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossa...
+ ./run.sh -c all -b localhost -u 227.43.89.63
+ echo Waiting server to start.
Waiting server to start.
+ echo Timeout should be slightly more than 360 seconds.
Timeout should be slightly more than 360 seconds.
+ INT=5
+ STARTSECONDS=636
+ (( 360 > 636 - 636 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=20475
+ wait 20475
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 20473 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
20475 Segmentation fault | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 20477
+ 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: 0.817 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.626 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: 0.68 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: 0.605 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: 0.702 sec
[junit] Test org.jboss.test.aop.test.JMXUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.847 sec
[junit] Test org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
FAILED
[junit] Running org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.903 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.972 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.609 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: 0.686 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.735 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.686 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.666 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.663 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.631 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.657 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.824 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.777 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.675 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.713 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.722 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.752 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.725 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.682 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.668 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 1 minute 19 seconds
+ stop-jboss -t 360 -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_SERVER_TIMEOUT=360
+ getopts p:b:t:m: flag
+ case $flag in
+ local
JBOSS_SHUTDOWN_PATH=<http://hudson.qa.jboss.com/hudson/job/jboss-aop-h...
+ getopts p:b:t:m: flag
+ case $flag in
+ local JBOSS_SERVER_BIND_ADDR=localhost
+ getopts p:b:t:m: flag
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -f
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -r
<
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-5.0.0.GA/ws/...
]]
+ [[ -s
<
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-h...
+ 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
+ [[ 360 -gt 0 ]]
+ [[ 360 -le 0xFFFFFFFF ]]
+ 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 ]]
+ local 'PS=ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk
'\''{ print $2; }'\'''
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
++ ps -eaf --columns 2200
+ xargs kill -3
++ grep run.jar
++ awk '{ print $2; }'
++ grep -v grep
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 1
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
+ xargs kill
++ ps -eaf --columns 2200
++ grep run.jar
++ grep -v grep
++ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ eval 'ps -eaf --columns 2200 | grep run.jar | grep -v grep | awk '\''{
print $2; }'\'''
+ xargs kill -9
++ grep -v grep
++ grep run.jar
++ awk '{ print $2; }'
++ ps -eaf --columns 2200
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ return 1
Terminating xvnc.
Killing Xvnc process ID 18665
kill 18665: No such process
Recording test results
Archiving artifacts