dev@glassfish.java.net

Re: [v3] QL reports success at the end even with failures

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Tue, 23 Sep 2008 23:55:06 -0500

Harsha Godugu wrote:
>
> an example ? or sample cut & copy of such occurrence would be of help!
Here's the output from such a test run.

- Tim


timothy-quinns-macbook-pro:quicklook Tim$ mvn
-Dglassfish.home=/Users/Tim/asgroup/v3/publish/glassfish test | tee run.log
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO]
----------------------------------------------------------------------------
[INFO] Building Glassfish Quicklook Bundle
[INFO] task-segment: [test]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [antrun-extended:run {execution: default}]
[INFO] Executing tasks
     [echo] compile classpath:
/Users/Tim/asgroup/v3/ql/quicklook/target/classes
     [echo] plugin classpath:
/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar:/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar:/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar:/.m2/repository/org/glassfish/common/stats77/10.0-SNAPSHOT/stats77-10.0-SNAPSHOT.jar:/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/.m2/repository/org/glassfish/external/jmxremote_optional-repackaged/10.0-SNAPSHOT/jmxremote_optional-repackaged-10.0-SNAPSHOT.jar:/.m2/repository/org/glassfish/common/amx-api/10.0-SNAPSHOT/amx-api-10.0-SNAPSHOT.jar:/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar:/.m2/repository/org/testng/testng/5.6/testng-5.6-jdk15.jar:/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar:/.m2/repository/com/sun/jsftemplating/jsftemplating-dynafaces/0.1/jsftemplating-dynafaces-0.1.jar:/usr/share/maven/lib/maven-core-2.0.6-uber.jar:/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar

clean:
   [delete] Deleting directory /Users/Tim/asgroup/v3/ql/quicklook/classes
   [delete] Deleting directory /Users/Tim/asgroup/v3/ql/quicklook/dist
   [delete] Deleting 7 files from /Users/Tim/asgroup/v3/ql/quicklook
     [echo] Deleting all WAR/EAR in local testsuite directories!!!
     [echo] There should not be any WAR file checked in.
   [delete] Deleting 8 files from /Users/Tim/asgroup/v3/ql/quicklook

all:

initprop:
     [echo] JavaDB Database Location:
/Users/Tim/asgroup/v3/publish/glassfish/javadb

startDerby:
     [echo] Starting Derby DB servers in the Network Mode
     [echo] Finished starting datbase

setOSConditions:

start-server-felix:
     [echo] +-----------------------------+
     [echo] | |
     [echo] | S T A R T I N G GLASSFISH |
     [echo] | in Felix mode |
     [echo] | |
     [echo] +-----------------------------+

start-server-felix-unix:
     [exec] Name of the domain started: [domain1] and
     [exec] its location:
[/Users/Tim/asgroup/v3/publish/glassfish/domains/domain1].
     [exec] Admin port for the domain: [4848].

start-server-felix-windows:

build:
     [echo] ANT PROJECT GlassFish-V3-QuickLook

build:

compile-tests:
     [echo] compiling test client to ..//classes/test
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Compiling 3 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test

build:

compile-tests:
     [echo] compiling test client to ..//classes/test
    [javac] Compiling 5 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

build:

compile-tests:
     [echo] compiling test client to ..//classes/test
    [javac] Compiling 2 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test

build:
     [echo] Now creating a war file ../..//dist/classloader/hellojsf.war
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/classloader
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/classloader/hellojsf.war
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/classloader/hellojsf

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file ../..//dist/basicweb/hellojsp.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/basicweb
     [echo] Now compiling
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/helloworld/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/helloworld/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/basicweb/hellojsp.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/web/helloworld
     [echo] =======================================================
     [echo] Packaged Archive at ../..//dist/basicweb/hellojsp.war and at
hellojsp.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file ../..//dist/jsftest/jsfastrologer.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jsftest/app
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/jsftest
     [echo] Now compiling
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/jsftest/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jsftest/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfastrologer/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfastrologer/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/jsftest/jsfastrologer.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfastrologer
     [echo] =======================================================
     [echo] Packaged Archive at ../..//dist/jsftest/jsfastrologer.war
and at jsfastrologer.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file ../..//dist/basicweb/jsfinjection.war
   [delete] Deleting directory
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app
   [delete] Deleting directory
/Users/Tim/asgroup/v3/ql/quicklook/dist/basicweb
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/basicweb
     [echo] Now compiling
    [javac] Compiling 2 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/basicweb/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfinjection/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfinjection/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/basicweb/jsfinjection.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfinjection
     [echo] =======================================================
     [echo] Packaged Archive at ../..//dist/basicweb/jsfinjection.war
and at jsfinjection.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file ../..//dist/jdbcusertx/jdbcusertx.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jdbcusertx/app
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/jdbcusertx
     [echo] Now compiling
    [javac] Compiling 6 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/jdbcusertx/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jdbcusertx/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/jdbc/jdbcusertx/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/jdbc/jdbcusertx/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/jdbcusertx/jdbcusertx.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/jdbc/jdbcusertx
     [echo] =======================================================
     [echo] Packaged Archive at ../..//dist/jdbcusertx/jdbcusertx.war
and at jdbcusertx.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file
../..//dist/jpainjectemf/jpainjectemf.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jpainjectemf/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/dist/jpainjectemf
     [echo] Now compiling
    [javac] Compiling 4 source files to
/Users/Tim/asgroup/v3/ql/quicklook/classes/jpainjectemf/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/jpainjectemf/app/META-INF
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/jpainjectemf/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/persistence/jpainjectemf/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/jpainjectemf/jpainjectemf.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/persistence/jpainjectemf
     [echo] =======================================================
     [echo] Packaged Archive at
../..//dist/jpainjectemf/jpainjectemf.war and at jpainjectemf.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file ../..//dist/security/hellojspsecure.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/security/app
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/dist/security
     [echo] Now compiling
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/security/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/security/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/security/helloworld/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/security/helloworld/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/security/hellojspsecure.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/security/helloworld
     [echo] =======================================================
     [echo] Packaged Archive at ../..//dist/security/hellojspsecure.war
and at hellojspsecure.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

build:

setup:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
     [exec] create-file-user --echo=true --terse=true
--authrealmname=file --passwordfile=asadminuserpassword.txt
--groups=testgroup1 --user=admin --host=localhost --port=4848 testuser3

   [delete] Deleting:
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth/asadminuserpassword.txt

create-user-common-v3-impl-windows:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
     [exec] create-file-user --echo=true --terse=true
--authrealmname=file --passwordfile=asadminuserpassword.txt
--groups=testgroup5 --user=admin --host=localhost --port=4848 testuser42

   [delete] Deleting:
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth/asadminuserpassword.txt

create-user-common-v3-impl-windows:

setOSConditions:

create-user-common-v3-impl:

create-user-common-v3-impl-unix:
     [exec] create-file-user --echo=true --terse=true
--authrealmname=file --passwordfile=asadminuserpassword.txt
--groups=testgroup10 --user=admin --host=localhost --port=4848 j2ee

   [delete] Deleting:
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth/asadminuserpassword.txt

create-user-common-v3-impl-windows:

build-impl:

archive-type:
     [echo] archive-type is war

build-war:
     [echo] Now creating a war file
../..//dist/security-basicauth/basicauth.war
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/security-basicauth/app
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/dist/security-basicauth
     [echo] Now compiling
    [mkdir] Created dir:
/Users/Tim/asgroup/v3/ql/quicklook/classes/security-basicauth/app/META-INF
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth/metadata/persistence.xml
to copy.
     [copy] Warning: Could not find file
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth/src/java/ApplicationResource.properties
to copy.
      [war] Building war:
/Users/Tim/asgroup/v3/ql/quicklook/dist/security-basicauth/basicauth.war
      [war] Warning: selected war files include a WEB-INF/web.xml which
will be ignored (please use webxml attribute to war task)

update-war-struts:
     [copy] Copying 1 file to
/Users/Tim/asgroup/v3/ql/quicklook/security/basicauth
     [echo] =======================================================
     [echo] Packaged Archive at
../..//dist/security-basicauth/basicauth.war and at basicauth.war
     [echo] =======================================================

archive-type:
     [echo] archive-type is war

build-ear:

archive-type:
     [echo] archive-type is war

build-jar:

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test

deploy:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./hellojsf
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/hellojsf

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./hellojsp
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/hellojsp

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./jsfastrologer
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/jsfastrologer

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./jsfinjection
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/jsfinjection

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./jdbcusertx
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/jdbcusertx

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./jpainjectemf
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/jpainjectemf

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./hellojspsecure
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/hellojspsecure

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

deploy:

setOSConditions:

deploy-v3-impl:
     [echo] glassfish.home is /Users/Tim/asgroup/v3/publish/glassfish
     [echo] deploying in v3 mode
     [echo] ./basicauth
     [echo] OS is Mac OS X
     [echo] Please access URL http://localhost:8080/basicauth

deploy-v3-impl-unix:

     [exec] Command deploy executed successfully.

deploy-v3-impl-windows:

compile-tests:

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/classloader/hellojsf/src/test/helloJSFTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/web/helloworld/src/test/HelloJSPTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfastrologer/src/test/JSFWebTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/web/jsfinjection/src/test/JSFInjectionTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/jdbc/jdbcusertx/src/test/JdbcUserTxTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/persistence/jpainjectemf/src/test/JpaInjectEMFTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-tests:
     [echo] compiling test client to ../..//classes/test
    [javac] Compiling 1 source file to
/Users/Tim/asgroup/v3/ql/quicklook/classes/test
    [javac] Note:
/Users/Tim/asgroup/v3/ql/quicklook/security/helloworld/src/test/HelloSecurityTestNG.java
uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

initprops:
    [mkdir] Created dir: /Users/Tim/asgroup/v3/ql/quicklook/test-output

runtest:
     [echo] =============Starting TestNG functional tests from
testng.xml ============
   [testng] [Parser] Running:
   [testng] /Users/Tim/asgroup/v3/ql/quicklook/testng.xml

   [testng] AMXTestBase: EffortLevel = EXTENSIVE
   [testng] AMXTestBase: Exception in setting up env. =
java.lang.RuntimeException: java.net.ConnectException: Connection refused
   [testng] java.lang.RuntimeException: java.net.ConnectException:
Connection refused
   [testng] at amxtest.AMXTestBase.setup(AMXTestBase.java:134)
   [testng] at
amxtest.AMXTestBase.setUpEnvironment(AMXTestBase.java:105)
   [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   [testng] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng] at java.lang.reflect.Method.invoke(Method.java:585)
   [testng] at
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
   [testng] at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
   [testng] at
org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
   [testng] at
org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
   [testng] at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
   [testng] at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
   [testng] at org.testng.TestRunner.runWorkers(TestRunner.java:678)
   [testng] at org.testng.TestRunner.privateRun(TestRunner.java:624)
   [testng] at org.testng.TestRunner.run(TestRunner.java:495)
   [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
   [testng] at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
   [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
   [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:190)
   [testng] at
org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
   [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
   [testng] at org.testng.TestNG.run(TestNG.java:699)
   [testng] at org.testng.TestNG.privateMain(TestNG.java:824)
   [testng] at org.testng.TestNG.main(TestNG.java:802)
   [testng] Caused by: java.net.ConnectException: Connection refused
   [testng] at java.net.PlainSocketImpl.socketConnect(Native Method)
   [testng] at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   [testng] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   [testng] at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   [testng] at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
   [testng] at java.net.Socket.connect(Socket.java:520)
   [testng] at java.net.Socket.connect(Socket.java:470)
   [testng] at java.net.Socket.<init>(Socket.java:367)
   [testng] at java.net.Socket.<init>(Socket.java:180)
   [testng] at
com.sun.jmx.remote.socket.SocketConnection.connect(SocketConnection.java:134)
   [testng] at
com.sun.jmx.remote.generic.ClientSynchroMessageConnectionImpl.connect(ClientSynchroMessageConnectionImpl.java:110)
   [testng] at
javax.management.remote.generic.GenericConnector.connect(GenericConnector.java:217)
   [testng] at
javax.management.remote.jmxmp.JMXMPConnector.connect(JMXMPConnector.java:159)
   [testng] at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
   [testng] at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:207)
   [testng] at
amxtest.AMXTestBase._getMBeanServerConnection(AMXTestBase.java:195)
   [testng] at amxtest.AMXTestBase.setup(AMXTestBase.java:123)
   [testng] ... 23 more
   [testng] FAILED: bootAMX
   [testng] AMX tests
   [testng] java.lang.NullPointerException
   [testng] at amxtest.BasicAMXTests.bootAMX(BasicAMXTests.java:84)
   [testng] ... Removed 22 stack frames
   [testng] SKIPPED: iterateAttributeResolver
   [testng] SKIPPED: testSystemStatus
   [testng] SKIPPED: iterateParentChild
   [testng] SKIPPED: iterateDefaultValues
   [testng] SKIPPED: iterateAllSanityCheck
   [testng] SKIPPED: iterateContainer

   [testng] ===============================================
   [testng] amx_tests
   [testng] Tests run: 7, Failures: 1, Skips: 6
   [testng] ===============================================

   [testng] ***** Login page not found. Sleeping to allow app to deploy....
   [testng] Sep 23, 2008 8:58:05 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] Sep 23, 2008 8:58:06 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] Sep 23, 2008 8:58:07 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] Sep 23, 2008 8:58:08 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] Sep 23, 2008 8:58:08 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] Sep 23, 2008 8:58:08 PM
org.apache.commons.httpclient.HttpMethodBase getResponseBody
   [testng] WARNING: Going to buffer response body of large or unknown
size. Using getResponseBodyAsStream instead is recommended.
   [testng] PASSED: testFrameSet
   [testng] PASSED: testDeployedWebAppPage
   [testng] PASSED: testCommonTasks
   [testng] PASSED: testNavTree
   [testng] PASSED: testHeader

   [testng] ===============================================
   [testng] adminconsole_tests
   [testng] Tests run: 5, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] Running TestMethod webtest
   [testng] URL is: http://localhost:8080/hellojsf/index.jsp
   [testng] Connecting to: http://localhost:8080/hellojsf/index.jsp
   [testng] PASSED: jsfAppDeployedFirstPagetest

   [testng] ===============================================
   [testng] classloader_jsf
   [testng] Tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] URL is: http://localhost:8080/hellojsp/simpleservlet
   [testng] Connecting to: http://localhost:8080/hellojsp/simpleservlet
   [testng] <title>Sample Application Servlet Page</title>
   [testng] <h1>Sample Application Servlet</h1>
   [testng] URL is: http://localhost:8080/hellojsp/hello.jsp
   [testng] Connecting to: http://localhost:8080/hellojsp/hello.jsp
   [testng] <h1>JSP Test Page</h1>
   [testng] URL is: http://localhost:8080
   [testng] Connecting to: http://localhost:8080
   [testng] </table> <h1>Your Server is now running</h1> <p>To replace
this page, overwrite the file <code>index.html</code> in the default
document root folder of this server. The default document root folder is
located at <var>as-install</var><code>/domains/domain1/docroot</code>,
   [testng] URL is: http://localhost:8080/hellojsp/first.html
   [testng] Connecting to: http://localhost:8080/hellojsp/first.html
   [testng] Welcome to HTML Test Program. This tests following thing
   [testng] PASSED: simpleServletTest
   [testng] PASSED: simpleJSPTestPage
   [testng] PASSED: testServerRunning
   [testng] PASSED: staticHTMLPageTest

   [testng] ===============================================
   [testng] web_jspservlet_war
   [testng] Tests run: 4, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] Running TestMethod SimpleHTMLTest
   [testng] URL is: http://localhost:8080/jsfastrologer/index.jsp
   [testng] Connecting to: http://localhost:8080/jsfastrologer/index.jsp
   [testng] <a href="./faces/greetings.jsp">JavaServer Faces
Greetings Page</a>
   [testng] Running TestMethod webtest
   [testng] URL is: http://localhost:8080/jsfastrologer/faces/greetings.jsp
   [testng] Connecting to:
http://localhost:8080/jsfastrologer/faces/greetings.jsp
   [testng] PASSED: jsfIndexPageBasicTest
   [testng] PASSED: jsfAppDeployedFirstPagetest

   [testng] ===============================================
   [testng] jsf_hello_world
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] URL is: http://localhost:8080/jsfinjection/jsfHello.jsf
   [testng] Connecting to: http://localhost:8080/jsfinjection/jsfHello.jsf
   [testng] Connected: 200
   [testng] Received: If injection worked, this sentence should
be followed by the injected words -&gt; Injected entry <br>
   [testng] Received: If second injection worked, this sentence
should be followed by 'a non-negative number' === 0
   [testng] injectedNumber = 0
   [testng] Injection2 matched.
   [testng] PASSED: injectedValuesTestPage

   [testng] ===============================================
   [testng] jsf_injection
   [testng] Tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=noleak
   [testng] Test Name:Pass<br>no-leak-test:true<br>
   [testng] Connecting to:
http://localhost:8080/jdbcusertx/MyServlet?testcase=usertx
   [testng] Test
Name:Pass<br>user-tx-commit:true<br>user-tx-rollback:true<br>
   [testng] PASSED: testNoLeak
   [testng] PASSED: testUserTx

   [testng] ===============================================
   [testng] jdbc_user_tx
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llinit
   [testng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llquery
   [testng] PASSED: test1
   [testng] PASSED: test2

   [testng] ===============================================
   [testng] jpa_inject_emf
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] URL is: http://localhost:8080/hellojspsecure/hello.jsp
   [testng] Connecting to: http://localhost:8080/hellojspsecure/hello.jsp
   [testng] Anonymous Client access Denied
   [testng] URL is: http://localhost:8080/hellojspsecure/simpleservlet
   [testng] Connecting to:
http://localhost:8080/hellojspsecure/simpleservlet
   [testng] Anonymous Client access Denied
   [testng] URL is: http://localhost:8080/hellojspsecure/first.html
   [testng] Connecting to: http://localhost:8080/hellojspsecure/first.html
   [testng] Anonymous Client access Denied
   [testng] PASSED: simpleJSPTestPage
   [testng] PASSED: simpleServletTest
   [testng] PASSED: staticHTMLPageTest

   [testng] ===============================================
   [testng] security_hello_jsp
   [testng] Tests run: 3, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] BASIC auth: Group mapped user, testuser42
   [testng] Found: RESULT: principal: testuser42
   [testng] BASIC auth: Not authorized user, testuser42
   [testng] Found: HTTP/1.1 403 Forbidden
   [testng] BASIC auth: Valid user and invalid password
   [testng] Found: HTTP/1.1 401 Unauthorized
   [testng] BASIC auth: Role Mapped User, testuser3
   [testng] Found: RESULT: principal: testuser3
   [testng] PASSED: testAuthGroupMappedUser
   [testng] PASSED: testAuthNotAuthorizedUser
   [testng] PASSED: testAuthNotValidPassword
   [testng] PASSED: testAuthRoleMappedUser

   [testng] ===============================================
   [testng] security_hello_basicauth
   [testng] Tests run: 4, Failures: 0, Skips: 0
   [testng] ===============================================

   [testng] PASSED: createJoe
   [testng] PASSED: ensureCreatedJoeExists
   [testng] PASSED: deleteJoe
   [testng] PASSED: createPool
   [testng] PASSED: ensureCreatedPoolExists
   [testng] PASSED: deletedJoeDoesNotExist
   [testng] PASSED: createListener
   [testng] PASSED: pingPool
   [testng] PASSED: deletePool
   [testng] PASSED: deletedPoolDoesNotExist
   [testng] PASSED: ensureCreatedListenerExists
   [testng] PASSED: deleteListener
   [testng] PASSED: ensureDeletedListenerDoesNotExist

   [testng] ===============================================
   [testng] asadmin_tests
   [testng] Tests run: 13, Failures: 0, Skips: 0
   [testng] ===============================================


   [testng] ===============================================
   [testng] FunctionalTests
   [testng] Total tests run: 44, Failures: 1, Skips: 6
   [testng] ===============================================


undeploy:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./hellojsf

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./hellojsp

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./jsfastrologer

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./jsfinjection

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./jdbcusertx

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./jpainjectemf

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./hellojspsecure

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

undeploy:

setOSConditions:

undeploy-v3-impl:
     [echo] undeploying in v3 mode
     [echo] ./basicauth

undeploy-v3-impl-unix:

     [exec] Command undeploy executed successfully.

undeploy-v3-impl-windows:

unsetup:

setOSConditions:

delete-user-common-v3-impl:

delete-user-common-v3-impl-unix:
     [exec] delete-file-user --echo=true --terse=true
--authrealmname=file --user=admin --host=localhost --port=4848 testuser3


delete-user-common-v3-impl-windows:

setOSConditions:

delete-user-common-v3-impl:

delete-user-common-v3-impl-unix:
     [exec] delete-file-user --echo=true --terse=true
--authrealmname=file --user=admin --host=localhost --port=4848 testuser42


delete-user-common-v3-impl-windows:

setOSConditions:

delete-user-common-v3-impl:

delete-user-common-v3-impl-unix:
     [exec] delete-file-user --echo=true --terse=true
--authrealmname=file --user=admin --host=localhost --port=4848 j2ee


delete-user-common-v3-impl-windows:

setOSConditions:

stop-server:
     [echo] stopping server

stop-server-unix:
     [exec] Waiting for the domain to stop .............
     [exec] Command stop-domain executed successfully.

stop-server-windows:

initprop:
     [echo] JavaDB Database Location:
/Users/Tim/asgroup/v3/publish/glassfish/javadb

stopDerby:
     [echo] Stopping Derby DB servers in the Network Mode
     [java] Apache Derby Network Server - 10.2.2.1 - (538595) shutdown
at 2008-09-24 01:58:30.698 GMT
     [echo] Finished stopping datbase
     [move] Moving 49 files to /Users/Tim/asgroup/v3/ql/quicklook
[INFO] Executed tasks
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 16 seconds
[INFO] Finished at: Tue Sep 23 20:58:30 CDT 2008
[INFO] Final Memory: 10M/20M
[INFO]
------------------------------------------------------------------------
timothy-quinns-macbook-pro:quicklook Tim$