See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/651...
------------------------------------------
[...truncated 29141 lines...]
backup-jbossaop-library:
update-jbossaop-library:
install.bin:
[copy] Copying 2 files to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
backup.javassist.post.4.0.4:
[move] Moving 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
install.post.4.0.4:
[delete] Deleting:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
install:
BUILD SUCCESSFUL
Total time: 10 seconds
+ start-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
-b localhost
+ local flag=
+ local OPTIND=1
+ getopts p:b:u:g:t: flag
+ case $flag in
+ local
JBOSS_SERVER_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jb...
+ 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-4.0.5.GA/ws/...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.88.160
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.88.160 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.88.160 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbo...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.88.160
"'
With Command "./run.sh -c all -b localhost -u 227.43.88.160 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4....
+ ./run.sh -c all -b localhost -u 227.43.88.160
+ echo Waiting server to start.
Waiting server to start.
+ echo Timeout should be slightly more than 120 seconds.
Timeout should be slightly more than 120 seconds.
+ INT=5
+ STARTSECONDS=843
+ (( 120 > 843 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=32077
+ wait 32077
+ kill 32078
+ (( 120 > 848 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32141
+ grep -q '^HTTP/.* 200 OK$'
+ wait 32141
+ kill 32142
+ (( 120 > 853 - 843 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32159
+ wait 32159
+ kill 32161
+ (( 120 > 858 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32185
+ wait 32185
+ grep -q '^HTTP/.* 200 OK$'
+ kill 32186
+ (( 120 > 863 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=32224
+ wait 32224
+ kill 32225
+ (( 120 > 868 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32272
+ wait 32272
+ grep -q '^HTTP/.* 200 OK$'
+ kill 32273
+ (( 120 > 874 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32306
+ wait 32306
+ grep -q '^HTTP/.* 200 OK$'
+ kill 32307
+ (( 120 > 879 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32332
+ grep -q '^HTTP/.* 200 OK$'
+ wait 32332
+ kill 32333
+ (( 120 > 884 - 843 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=32341
+ grep -q '^HTTP/.* 200 OK$'
+ wait 32341
+ kill 32342
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
+ bash build.sh test -Dtest=aop -Dconfig=4.0.5.GA-ejb3
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.333 sec
[junit] Test org.jboss.test.aop.test.AOPUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.86 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.878 sec
[junit] Test org.jboss.test.aop.test.RemotingUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.791 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED
[junit] Running org.jboss.test.aop.test.SecurityUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.422 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.589 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: 1.077 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.332 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.277 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 36 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.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-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.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-4.0.5.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-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"'
With command
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/jboss-4.0.5.GA-src/build/output/jboss-4.0.5.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
http://hudson.qa.jboss.com/hudson/job/jboss-aop-head-jbossas-4.0.5.GA/ws/...
-S -s localhost:1099
Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
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)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.Shutdown.main(Shutdown.java:214)
+ 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-4.0.5.GA] $ vncserver -kill :12
Killing Xvnc process ID 28483
Recording test results