-
1. Re: DB test matrix
julien1 Jan 25, 2007 8:48 PM (in response to julien1)I have fixed some of them for oracle (Cannot execute query) in InstanceContainerTestCase with persistLocally=false. So in the next run that number should increase a little.
The other large categories failing are :
- SQLServer seems in the limbos, so nothing to look at until I see "Cannot open connection" disappear.
- Mysql X also seems weird in InstanceContainerTestCase : "An instance with id MyInstance already exist". I'll give a try to mysql. -
2. Re: DB test matrix
prabhat.jha Jan 25, 2007 8:52 PM (in response to julien1)I will take a look at conneciton issues and URLs.
-
3. Re: DB test matrix
julien1 Jan 27, 2007 8:07 AM (in response to julien1)The success rate has increased to 79.85% (1320 tests) due to the tests for oracle/InstanceContainer which are passing now.
The InstanceContainerTestCase was showing (total/errors/failures) :84/35/1 84/33/1 84/23/1 84/23/1
Now we have :84/23/1 84/23/1 84/23/1 84/23/1
-
4. Re: DB test matrix
julien1 Jan 27, 2007 5:53 PM (in response to julien1)I have executed the test suite against mysql5 and all tests are passing so there is something wrong in the QA mysql5 configuration which prevents tests to execute correctly.
My configuration is :
Server version: 5.0.33 Source distribution
mysql-connector-java-5.0.4-bin.jar
datasource configured in datasources.xml<datasource> <datasource-name>mysql5</datasource-name> <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false&jdbcCompliantTruncation=false</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name>portal</user-name> <password>portalpassword</password> </datasource>
-
5. Re: DB test matrix
prabhat.jha Jan 29, 2007 11:29 AM (in response to julien1)I have corrected sqlserver connection problem and modified mysql5 URL. Tonight's portal DB run should pick it up.
-
6. Re: DB test matrix
prabhat.jha Jan 29, 2007 12:34 PM (in response to julien1)Nuked mysql4 tables to see if that takes care of "object already exists" error.
-
7. Re: DB test matrix
julien1 Jan 30, 2007 7:26 AM (in response to julien1)It looks like the URL is not correct for mysql :
java.lang.reflect.InvocationTargetExceptionCaused by: org.xml.sax.SAXParseException: The reference to entity "jdbcCompliantTruncation" must end with the ';' delimiter. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) at org.jboss.portal.test.framework.embedded.DataSourceSupport$Config.fromXML(DataSourceSupport.java:271) at org.jboss.portal.test.framework.embedded.DataSourceSupport$Config.fromXML2(DataSourceSupport.java:259) at org.jboss.portal.test.cms.AbstractCMSTestCase.createTestSuite(AbstractCMSTestCase.java:83) at org.jboss.portal.test.cms.commands.TestFileArchiveUpload.suite(TestFileArchiveUpload.java:74) ... 7 more -
8. Re: DB test matrix
prabhat.jha Jan 30, 2007 9:04 AM (in response to julien1)Yes, I saw that error right after test was finished. I have corrected it. I will force a CC run early today so that we don't have to wait to see something else is broken.
-
9. Re: DB test matrix
julien1 Jan 30, 2007 11:53 AM (in response to julien1)It looks like it's improving now :
1320/7/60 with a success rate of 94.92%
I sees errors in
- CMS
- RegistrationPersistenceManagerTestCase
- WSRP (but it does not seem related to the database)
I'll look first at RegistrationPersistenceManagerTestCase.
Roy or Sohil will have to look at the CMS issues.
We'll look at WSRP later, it may be a transient issue as it was not occuring before. -
10. Re: DB test matrix
prabhat.jha Jan 30, 2007 12:04 PM (in response to julien1)I am glad it's going up. The DB config issues seem to have resolved now.
-
11. Re: DB test matrix
julien1 Feb 5, 2007 7:19 PM (in response to julien1)I think I fixed the issues with CMS, we'll see how it goes in the next execution of the testsuite.
-
12. Re: DB test matrix
prabhat.jha Feb 6, 2007 10:28 AM (in response to julien1)Last night's portal-db testsuite build had failed. I have forced another build and if it happens again, I will do a RCA.
-
13. Re: DB test matrix
prabhat.jha Feb 6, 2007 11:12 AM (in response to julien1)Testsuite build failed because of deploymet issue with wsrp-producer.
2007-02-06 11:06:35,628 INFO [org.jboss.system.ServiceConfigurator] Problem configuring service portal.wsrp:service=RegistrationManager
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=Policy value=MBeanProxyExt[portal.wsrp:service=RegistrationPolicy] on mbean portal.wsrp:service=Registr\
ationManager; - nested throwable: (java.lang.RuntimeException: Error creating MBeanProxy: portal.wsrp:service=RegistrationPolicy)
.....
Caused by: javax.management.InstanceNotFoundException: portal.wsrp:service=RegistrationPolicy is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666)
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407) -
14. Re: DB test matrix
prabhat.jha Feb 6, 2007 11:25 AM (in response to julien1)problem with wsrp and 4.0.4.GA is a known issue but it has not caused the build to fail in the past. The test log shows:
deploy-producer-test:
BUILD FAILED
/home/cruisecontrol/work/checkout/jboss-portal-2.6-db/testsuite/build.xml:142: The following error occurred while executing this line:
/home/cruisecontrol/work/checkout/jboss-portal-2.6-db/testsuite/build.xml:105: The following error occurred while executing this line:
/home/cruisecontrol/work/checkout/jboss-portal-2.6-db/testsuite/build.xml:92: The following error occurred while executing this line:
/home/cruisecontrol/work/checkout/jboss-portal-2.6-db/wsrp/build.xml:561: The following error occurred while executing this line:
/home/cruisecontrol/work/checkout/jboss-portal-2.6-db/wsrp/build.xml:315: org.codehaus.cargo.container.ContainerException: Failed to deploy to [http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:%2Fhome%2Fcruisecontrol%2Fwork%2Fcheckout%2Fjboss-portal-2.6-db%2Fwsrp%2Foutput%2Flib%2Ftests%2Ftest-wsrp-producer.sar]