See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/52...
------------------------------------------
[...truncated 28075 lines...]
[delete] Deleting directory
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[delete] Deleting directory
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[jar] Building jar:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[delete] Deleting directory
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
backup:
[echo] Backing up existing aop deployer to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[copy] Copying 5 files to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[delete] Deleting directory
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
install.deployer:
[copy] Copying 10 files to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
install.bin:
[copy] Copying 2 files to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
backup.javassist.post.4.0.4:
[move] Moving 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
install.post.4.0.4:
[delete] Deleting:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
install:
BUILD SUCCESSFUL
Total time: 3 seconds
+ start-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/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-jbossas...
+ 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-jbossas-4.0.4.GA-jdk15/ws...
]]
++ basename
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ local JBOSS_SERVER_NAME=all
+ [[ -n localhost ]]
+ [[ -n '' ]]
+ local JBOSS_SERVER_MCAST_ADDR=227.43.0.131
+ [[ '' -gt 0 ]]
+ local JBOSS_SERVER_TIMEOUT=120
+ [[ -n '' ]]
+ local JBOSS_SERVER_HA_NAME=
+ local 'START_OPTS=-c all -b localhost -u 227.43.0.131 '
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ cd ../../bin
+ chmod 755 run.sh
+ local 'JBOSS_SERVER_COMMAND=./run.sh -c all -b localhost -u 227.43.0.131 '
+ local
JBOSS_SERVER_LOG=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-...
+ echo Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
Starting server
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
++ pwd
+ echo From directory
'"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/bin"'
From directory
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/bin"
+ echo With Command '"./run.sh -c all -b localhost -u 227.43.0.131
"'
With Command "./run.sh -c all -b localhost -u 227.43.0.131 "
+ echo Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
Log to
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ [[ -fws
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ echo
localhost=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.G...
+ ./run.sh -c all -b localhost -u 227.43.0.131
+ 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=783
+ (( 120 > 783 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27188
+ wait 27188
+ grep -q '^HTTP/.* 200 OK$'
+ kill 27190
+ (( 120 > 788 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27415
+ grep -q '^HTTP/.* 200 OK$'
+ wait 27415
+ kill 27416
+ (( 120 > 793 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ grep -q '^HTTP/.* 200 OK$'
+ TELNET=27544
+ wait 27544
+ kill 27546
+ (( 120 > 798 - 783 ))
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=27696
+ wait 27696
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ kill 27697
+ (( 120 > 798 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27702
+ wait 27702
+ grep -q '^HTTP/.* 200 OK$'
+ kill 27703
+ (( 120 > 803 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27807
+ wait 27807
+ grep -q '^HTTP/.* 200 OK$'
+ kill 27808
+ (( 120 > 808 - 783 ))
+ grep -q '^HTTP/.* 200 OK$'
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=27879
+ wait 27879
+ kill 27880
+ (( 120 > 813 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28089
+ wait 28089
+ grep -q '^HTTP/.* 200 OK$'
+ kill 28090
+ (( 120 > 818 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ telnet localhost 8080
+ TELNET=28298
+ wait 28298
+ grep -q '^HTTP/.* 200 OK$'
/home/hudson/config_repository/scripts/function.d/start-jboss: line 115: 28296 Done
( echo -e "GET / HTTP/1.0\nConnection: close\n\n"; sleep $INT )
28298 Terminated | telnet $JBOSS_SERVER_BIND_ADDR 8080 2>/dev/null
+ kill 28299
+ (( 120 > 823 - 783 ))
+ echo -e 'GET / HTTP/1.0\nConnection: close\n\n'
+ sleep 5
+ grep -q '^HTTP/.* 200 OK$'
+ telnet localhost 8080
+ TELNET=28474
+ wait 28474
+ kill 28475
+ exit 0
+ echo Server started successfully.
Server started successfully.
+ cd
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
+ bash build.sh test -Dtest=aop -Dconfig=4.0.4.GA-ejb3
Searching for build.xml ...
Buildfile:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
Overriding previous definition of reference to xdoclet.task.classpath
test:
[mkdir] Created dir:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.AOPUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.ObservableUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.ObservableUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.RemotingUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.RemotingUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.ScopedUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.ScopedUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.SecurityUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.SecurityUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.SimpleBeanUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.SimpleBeanUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.TxLockUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.TxLockUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.TxUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.TxUnitTestCase FAILED (timeout)
[junit] Running org.jboss.test.aop.test.VersionedObjectUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.test.aop.test.VersionedObjectUnitTestCase FAILED (timeout)
BUILD SUCCESSFUL
Total time: 45 minutes 13 seconds
+ stop-jboss -p
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/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-jboss...
+ 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-jbossas-4.0.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+ [[ -frs
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
]]
+
JBOSS_SHUTDOWN_PATH=http://hudson.qa.jboss.com/hudson/job/jboss-aop-jboss...
+ chmod 770
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/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-jbossas-4.0.4.GA-jdk15/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"'
With command
"http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA-ejb3/server/all/../../bin/shutdown.sh
-S -s localhost:1099"
+
http://hudson.qa.jboss.com/hudson/job/jboss-aop-jbossas-4.0.4.GA-jdk15/ws...
-S -s localhost:1099
+ 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
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ bash -xe /tmp/hudson31282.sh
+ kill 17666
+
/home/hudson/hudson_workspace/plugins/process-kill/WEB-INF/classes/hudson/plugins/process_kill/kill-script.sh:
line 134: 16592 Terminated sleep 10
/tmp/hudson31282.sh: line 2:
/home/hudson/hudson_workspace/plugins/process-kill/WEB-INF/classes/hudson/plugins/process_kill/kill-script.sh::
No such file or directory
Terminating xvnc
[jboss-aop-jbossas-4.0.4.GA-jdk15] $ vncserver -kill :10
Killing Xvnc process ID 17663
Recording test results