[jboss-user] [JBoss Messaging] - Re: How Do I Run JBoss Messaging TestSuite in Q1 2008
cmagidcmagid
do-not-reply at jboss.com
Wed Jan 23 14:45:27 EST 2008
Thank you so much for your reply.
I am following the directions at url: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingBuildInstructions. BTW I added the workaround for je-3.2.44.jar. I get up to the step 3 where I execute: ./build.sh report and get the error I reported. From step 1. I checked out the head yesterday.
I will need more clarification as to the target of the jbm-beans.xml file you mentioned above. I can not find that file on my system. I am guessing that these instructions are out of date and I will need to install the AS before I can get the tests working. I am including the stacktrace and the FIT test results below. thnx in advance.
I am not sure where the embeded Exceptions end so I
may be providing more than the single trace you requested.
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
[junit] Running org.jboss.messaging.core.remoting.test.unit.ConnectorRegistryTest
[junit] NioProcessor-4 11:50:42,062 WARN [RequestResponseFilter] [localhost/127.0.0.1:9090] Unknown request ID '0' for the response message. Timed out already?: PACKET[type=TEXT, version=1, correlationID=0, targetID=NO_ID_SET, callbackID=NO_ID_SET, text=tuoemiThtiWgnikcolBdneStset]
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
[junit] Running org.jboss.messaging.core.remoting.test.unit.PacketDispatcherTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
[junit] Running org.jboss.messaging.core.remoting.test.unit.ServerLocatorTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0 sec
[junit] Running org.jboss.messaging.core.remoting.wireformat.test.unit.PacketTypeTest
[junit] Tests run: 44, Failures: 0, Errors: 0, Time elapsed: 0.078 sec
[junit] Running org.jboss.messaging.core.tx.test.unit.MessagingXidTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[junit] Running org.jboss.test.messaging.jms.AcknowledgementTest
[junit] main 11:50:42,296 INFO [AcknowledgementTest] ####################################################### Start IN-VM test: testPersistentMessagesForTopicDropped
[junit] main 11:50:43,671 INFO [JBMBootstrapServer] JBM Server Started
[junit] main 11:50:43,765 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -53e0bd4e:fd4:47977063:1
[junit] main 11:50:43,812 INFO [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4052
[junit] main 11:50:43,812 INFO [arjLogger] TransactionStatusManagerItem - host: 172.31.66.178 port: 4052
[junit] main 11:50:43,828 INFO [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 4052 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
[junit] main 11:50:44,171 INFO [ServerManagement] Attempting to create local server 0
[junit] main 11:50:44,187 INFO [LocalTestServer] Deleted dir: C:\Documents and Settings\Charles Magid\bdbje\env deleted: false
[junit] main 11:50:45,343 ERROR [AbstractKernelController] Error installing to Instantiated: name=MinaService state=Described
[junit] java.lang.IllegalArgumentException: No enum const class org.jboss.messaging.core.remoting.TransportType.tcp
[junit] at java.lang.Enum.valueOf(Enum.java:196)
[junit] at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:130)
[junit] at org.jboss.reflect.plugins.ClassInfoImpl.convertValue(ClassInfoImpl.java:485)
[junit] at org.jboss.beans.metadata.plugins.StringValueMetaData.getValue(StringValueMetaData.java:107)
[junit] at org.jboss.kernel.plugins.config.Configurator.getParameters(Configurator.java:857)
[junit] at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:186)
[junit] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getConstructorJoinPoint(AbstractKernelConfigurator.java:110)
[junit] at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:51)
[junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:137)
[junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:47)
[junit] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[junit] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[junit] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[junit] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
[junit] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
[junit] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
[junit] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:309)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:279)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
[junit] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.deploy(JBMBootstrapServer.java:192)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.bootstrap(JBMBootstrapServer.java:177)
[junit] at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.run(JBMBootstrapServer.java:87)
[junit] at org.jboss.test.messaging.tools.container.LocalTestServer.start(LocalTestServer.java:161)
[junit] at org.jboss.test.messaging.JBMServerTestCase.setUp(JBMServerTestCase.java:149)
[junit] at org.jboss.test.messaging.jms.JMSTestCase.setUp(JMSTestCase.java:32)
[junit] at junit.framework.TestCase.runBare(TestCase.java:128)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] java.lang.IllegalStateException: Incompletely deployed:
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit]
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
[junit] *** DEPLOYMENTS IN ERROR: Name -> Error
[junit] MinaService -> java.lang.IllegalArgumentException: No enum const class org.jboss.messaging.core.remoting.TransportType.tcp
[junit]
[junit] *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
[junit] MessagingServer -> JMSUserManager{Configured:Installed}, PersistenceManager{Configured:Installed}, MinaService{Configured:**ERROR**}, Configuration{Configured:Installed}
[junit] JNDIObjectDeployer -> MessagingServer{Configured:Instantiated}
[junit] MessagingServerManagement -> MessagingServer{Configured:Instantiated}
[junit]
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:260)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.bootstrap(JBMBootstrapServer.java:180)
[junit] at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.run(JBMBootstrapServer.java:87)
[junit] at org.jboss.test.messaging.tools.container.LocalTestServer.start(LocalTestServer.java:161)
[junit] at org.jboss.test.messaging.JBMServerTestCase.setUp(JBMServerTestCase.java:149)
[junit] at org.jboss.test.messaging.jms.JMSTestCase.setUp(JMSTestCase.java:32)
[junit] at junit.framework.TestCase.runBare(TestCase.java:128)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
[junit] main 11:50:45,406 INFO [JBMBootstrapServer] Shutting down
[junit]
[junit] *** DEPLOYMENTS IN ERROR: Name -> Error
[junit] MinaService -> java.lang.IllegalArgumentException: No enum const class org.jboss.messaging.core.remoting.TransportType.tcp
[junit]
[junit] *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
[junit] MessagingServer -> JMSUserManager{Configured:Installed}, PersistenceManager{Configured:Installed}, MinaService{Configured:**ERROR**}, Configuration{Configured:Installed}
[junit] JNDIObjectDeployer -> MessagingServer{Configured:Instantiated}
[junit] MessagingServerManagement -> MessagingServer{Configured:Instantiated}
[junit] )
[junit] main 11:50:45,421 INFO [AcknowledgementTest] ####################################################### Start IN-VM test: testPersistentMessagesForTopicDropped2
[junit] main 11:50:45,468 INFO [LocalTestServer] Deleted dir: C:\Documents and Settings\Charles Magid\bdbje\env deleted: true
[junit] main 11:50:45,921 ERROR [AbstractKernelController] Error installing to Instantiated: name=MinaService state=Described
[junit] java.lang.IllegalArgumentException: No enum const class org.jboss.messaging.core.remoting.TransportType.tcp
[junit] at java.lang.Enum.valueOf(Enum.java:196)
[junit] at org.jboss.reflect.plugins.ValueConvertor.convertValue(ValueConvertor.java:130)
[junit] at org.jboss.reflect.plugins.ClassInfoImpl.convertValue(ClassInfoImpl.java:485)
[junit] at org.jboss.beans.metadata.plugins.StringValueMetaData.getValue(StringValueMetaData.java:107)
[junit] at org.jboss.kernel.plugins.config.Configurator.getParameters(Configurator.java:857)
[junit] at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:186)
[junit] at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getConstructorJoinPoint(AbstractKernelConfigurator.java:110)
[junit] at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:51)
[junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:137)
[junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:47)
[junit] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[junit] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[junit] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[junit] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
[junit] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
[junit] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
[junit] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)
[junit] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:309)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:279)
[junit] at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
[junit] at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.deploy(JBMBootstrapServer.java:192)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.bootstrap(JBMBootstrapServer.java:177)
[junit] at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
[junit] at org.jboss.messaging.microcontainer.JBMBootstrapServer.run(JBMBootstrapServer.java:87)
[junit] at org.jboss.test.messaging.tools.container.LocalTestServer.start(LocalTestServer.java:161)
[junit] at org.jboss.test.messaging.JBMServerTestCase.setUp(JBMServerTestCase.java:149)
[junit] at org.jboss.test.messaging.jms.JMSTestCase.setUp(JMSTestCase.java:32)
[junit] at junit.framework.TestCase.runBare(TestCase.java:128)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[junit] at junit.framework.TestSuite.run(TestSuite.java:225)
[junit] java.lang.IllegalStateException: Incompletely deployed:
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
2
None of the tests in the following packages passed all resulted in errors:
org.jboss.test.messaging.jms
org.jboss.test.messaging.jms.message
org.jboss.test.messaging.jms.message.foreign
org.jboss.test.messaging.jms.selector
org.jboss.test.messaging.util
Unit Test Results
Designed for use with JUnit and Ant. Generated on January 23 2008.
Summary
Tests Failures Errors Success rate Time
779 0 406 47.88% 219.337
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
Packages
Name Tests Errors Failures Time(s)
org.jboss.jms.server.deployer.test.unit 5 0 0 0.547
org.jboss.jms.server.destination.settings.test.unit 1 0 0 0.109
org.jboss.jms.server.security.test.unit 7 0 0 0.063
org.jboss.jms.server.test.unit 21 0 0 0.188
org.jboss.messaging.core.impl.bdbje.integration.test.unit 46 0 0 2.547
org.jboss.messaging.core.impl.bdbje.test.unit 60 0 0 0.140
org.jboss.messaging.core.impl.filter.test.unit 29 0 0 0.062
org.jboss.messaging.core.impl.test.concurrent 1 0 0 5.531
org.jboss.messaging.core.impl.test.timing 3 0 0 21.515
org.jboss.messaging.core.impl.test.unit 61 0 0 0.124
org.jboss.messaging.core.remoting.impl.invm.test.unit 7 0 0 0.031
org.jboss.messaging.core.remoting.impl.mina.integration.test 23 0 0 1.172
org.jboss.messaging.core.remoting.test.unit 21 0 0 0.061
org.jboss.messaging.core.remoting.wireformat.test.unit 44 0 0 0.078
org.jboss.messaging.core.tx.test.unit 5 0 0 0.016
org.jboss.test.messaging.jms 293 293 0 129.593
org.jboss.test.messaging.jms.client.test.unit 9 0 0 0.015
org.jboss.test.messaging.jms.message 83 83 0 42.247
org.jboss.test.messaging.jms.message.foreign 18 18 0 9.188
org.jboss.test.messaging.jms.selector 9 9 0 4.516
org.jboss.test.messaging.jms.util 3 0 0 0.016
org.jboss.test.messaging.util 30 3 0 1.578
Java Version 1.5.0_14
Java Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Client VM
Java VM Version 1.5.0_14-b03
Java VM Info mixed mode, sharing
OS Name Windows XP
OS Version 5.1
OS Arch x86
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122779#4122779
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122779
More information about the jboss-user
mailing list