Failures/Errors in running test suites in jboss-4.0.4.GA-src
myxlinux Sep 11, 2006 3:56 PMI executed test suites in jboss-4.0.4.GA-src using "./build.sh tests". Overall, I got the following failures. Does anyone known what is going on? I do run the suites for many times, but got different failures. Is it undeterministic? My machine is Linux with jvm 1.4.2_10.
The failed classes:
1) org.jboss.test.cmp2.optimisticlock.test.OptimisticLockUnitTestCase
2) org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
3) org.jboss.test.pooled.test.SSLSocketsUnitTestCase
4) org.jboss.test.security.test.SRPLoginModuleUnitTestCase
5) org.jboss.test.webservice.samples.ServerSideJMSTestCase
Details:
1) org.jboss.test.cmp2.optimisticlock.test.OptimisticLockUnitTestCase
Testcase: testBug1006723 took 0.096 sec
Caused an ERROR
Error checking if entity exists:java.sql.SQLException: Column not found: OIDCMP in statement [SELECT COUNT(*) FROM ENTITYA WHERE OIDCMP=?]
javax.ejb.CreateException: Error checking if entity exists:java.sql.SQLException: Column not found: OIDCMP in statement [SELECT COUNT(*) FROM ENTITYA WHERE OIDCMP=?]
2) org.jboss.test.jmx.test.RMIAdaptorAuthorizationUnitTestCase
17:51:28,618 INFO [RMIAdaptorAuthorizationUnitTestCase] Access failed as expected
java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=subject-context
3) org.jboss.test.pooled.test.SSLSocketsUnitTestCase
Testcase: testClientCertSSLAccess took 1.427 sec
Caused an ERROR
SecurityException; nested exception is:
javax.security.auth.login.FailedLoginException: Supplied Credential did not match existing credential for null
java.rmi.AccessException: SecurityException; nested exception is:
javax.security.auth.login.FailedLoginException: Supplied Credential did not match existing credential for null
4) org.jboss.test.security.test.SRPLoginModuleUnitTestCase
Testcase: testSRPLoginWithAuxChallenge took 0.417 sec
FAILED
Unable to complete login: Failed to complete SRP login, msg=Failed to encrypt aux challenge
junit.framework.AssertionFailedError: Unable to complete login: Failed to complete SRP login, msg=Failed to encrypt aux challenge
at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLoginWithAuxChallenge(SRPLoginModuleUnitTestCase.java:142)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
5) org.jboss.test.webservice.samples.ServerSideJMSTestCase
Testcase: testSOAPMessageToEndpointQueue took 0.618 sec
FAILED
expected:<<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header/><env:Body><ns1:getContactInfoResponse xmlns:ns1='http://org.jboss.test.webservice/samples'>The 'mafia' boss is currently out of office, please call again.</ns1:getContactInfoResponse></env:Body></env:Envelope>> but was:
junit.framework.ComparisonFailure: expected:<<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header/><env:Body><ns1:getContactInfoResponse xmlns:ns1='http://org.jboss.test.webservice/samples'>The 'mafia' boss is currently out of office, please call again.</ns1:getContactInfoResponse></env:Body></env:Envelope>> but was:
at org.jboss.test.webservice.samples.ServerSideJMSTestCase.testSOAPMessageToEndpointQueue(ServerSideJMSTestCase.java:95)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)