dev@glassfish.java.net

QL failures with current GF 3.1 build

From: Ken <ken.cavanaugh_at_oracle.com>
Date: Mon, 16 Aug 2010 15:51:03 -0700

I am building GF 3.1 rev 39757 with no changes. I am seeing 3 QL failures:

   [testng] ===============================================
   [testng] wsit_jaxws_tests
   [testng] Tests run: 2, Failures: 0, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] ######### FAILURE #########
   [testng] asadmin --host localhost --port 4848 --user admin
--interactive=false --echo=true --terse=true list-instances
--verbose=false --timeoutmsec 2000 --standaloneonly=false --nostatus=false
   [testng] eein1-with-a-very-very-very-long-name running
   [testng] eein2 no response
   [testng]
   [testng]
   [testng]
   [testng] PASSED: createClusterTest
   [testng] PASSED: createInstanceTest
   [testng] FAILED: startInstanceTest
   [testng] java.lang.AssertionError: Start instance failed ...
expected:<true> but was:<false>
   [testng] at
test.clustersetup.ClusterSetupTest.startInstanceTest(ClusterSetupTest.java:93)
   [testng] ... Removed 26 stack frames
   [testng]
   [testng] ===============================================
   [testng] cluster_setup
   [testng] Tests run: 3, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] ######### FAILURE #########
   [testng] asadmin --host localhost --port 4848 --user admin
--interactive=false --echo=true --terse=true deploy --force=false
--precompilejsp=false --verify=false --enabled=true
--generatermistubs=false --availabilityenabled=false
--asyncreplication=true --target eec1 --keepreposdir=false
--keepfailedstubs=false --logreportederrors=true --lbenabled=true
/space/ws/GlassFish/v3.1_unchanged/v3/tests/quicklook/dist/hellocluster/helloworld.war
   [testng] Application deployed successfully with name helloworld.
   [testng] Command _deploy executed successfully on server instance
eein1-with-a-very-very-very-long-name
   [testng] WARNING : Command _deploy did not complete successfully on
server instance eein2 : Authentication failed for user: admin (Usually,
this means invalid user name and/or password)
   [testng]
   [testng]
   [testng]
   [testng] PASSED: clusterDeployTest
   [testng] FAILED: clusterHelloWorldTest
   [testng] java.lang.AssertionError: Accessing helloworld page failed
... expected:<true> but was:<false>
   [testng] at
test.hellocluster.ClusterHelloworldTest.clusterHelloWorldTest(ClusterHelloworldTest.java:76)
   [testng] ... Removed 26 stack frames
   [testng] SKIPPED: clusterUnDeployTest
   [testng]
   [testng] ===============================================
   [testng] cluster_helloworld
   [testng] Tests run: 3, Failures: 1, Skips: 1
   [testng] ===============================================
   [testng]
   [testng] ######### FAILURE #########
   [testng] asadmin --host localhost --port 4848 --interactive=false
--echo=true --terse=true delete-local-instance eein2
   [testng]
   [testng] The instance is running. Stop it and then re-run the command.
   [testng]
   [testng] ######### FAILURE #########
   [testng] asadmin --host localhost --port 4848 --user admin
--interactive=false --echo=true --terse=true delete-cluster eec1
   [testng]
   [testng] remote failure: Exception while deleting the configuration
com.sun.enterprise.config.serverbeans.Cluster :Cluster eec1 contains
server instances eein2, and must not contain any instances :
org.jvnet.hk2.config.TransactionFailure: Cluster eec1 contains server
instances eein2, and must not contain any instances
   [testng] Cluster eec1 contains server instances eein2, and must not
contain any instances
   [testng]
   [testng]
   [testng] PASSED: deleteInstanceTest
   [testng] FAILED: deleteClusterTest
   [testng] java.lang.AssertionError: Cluster unsetup failed ...
expected:<true> but was:<false>
   [testng] at
test.clusterteardown.ClusterTeardownTest.deleteClusterTest(ClusterTeardownTest.java:66)
   [testng] ... Removed 26 stack frames
   [testng]
   [testng] ===============================================
   [testng] cluster_teardown
   [testng] Tests run: 2, Failures: 1, Skips: 0
   [testng] ===============================================
   [testng]

Why are these tests failing? Is this a known problem?

Thanks,

Ken.