8 Replies Latest reply on Nov 30, 2009 12:11 PM by clebert.suconic

    5 test failures -- are they known?

    gaohoward

      Trying to fix https://jira.jboss.org/jira/browse/HORNETQ-228
      I think my fix works. However all-tests result shows there are five test failures, I believe none related to my change (as it's only a change to FilterParser.jj).

      Just make sure they are known issues: (by the way it tooks almost 4 hous running all-tests on my laptop)

      MultiThreadRandomFailoverStressTest testE
      
      Error Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
      
      junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
      
      
      CompactingStressTest testMultiProducerAndCompactNIO
      
      Error Timed out waiting for response when sending packet 43
      
      HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 43]
      at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:262)
      at org.hornetq.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:482)
      at org.hornetq.core.client.impl.DelegatingSession.commit(DelegatingSession.java:144)
      at org.hornetq.tests.stress.journal.CompactingStressTest.internalTestMultiProducer(CompactingStressTest.java:195)
      at org.hornetq.tests.stress.journal.CompactingStressTest.testMultiProducerAndCompactNIO(CompactingStressTest.java:172)
      
      
      LargeJournalStressTest testMultiProducerAndCompactNIO Error Timed out waiting for response when sending packet 43
      
      HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 43]
      at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:262)
      at org.hornetq.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:482)
      at org.hornetq.core.client.impl.DelegatingSession.commit(DelegatingSession.java:144)
      at org.hornetq.tests.stress.journal.LargeJournalStressTest$1FastProducer.run(LargeJournalStressTest.java:115)
      
      
      NIOMultiThreadCompactorStressTest testMultiThreadCompact Error Timed out waiting for response when sending packet 43
      
      HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 43]
      at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:262)
      at org.hornetq.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:482)
      at org.hornetq.core.client.impl.DelegatingSession.commit(DelegatingSession.java:144)
      at org.hornetq.tests.stress.journal.NIOMultiThreadCompactorStressTest.addBogusData(NIOMultiThreadCompactorStressTest.java:309)
      at org.hornetq.tests.stress.journal.NIOMultiThreadCompactorStressTest.internalTestProduceAndConsume(NIOMultiThreadCompactorStressTest.java:174)
      at org.hornetq.tests.stress.journal.NIOMultiThreadCompactorStressTest.testMultiThreadCompact(NIOMultiThreadCompactorStressTest.java:89)
      
      
      PageStressTest testStopDuringDepage Error N/A
      
      HornetQException[errorCode=0 message=null]
      at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:272)
      at org.hornetq.core.client.impl.ClientSessionImpl.internalCreateConsumer(ClientSessionImpl.java:1390)
      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:412)
      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:380)
      at org.hornetq.core.client.impl.ClientSessionImpl.createConsumer(ClientSessionImpl.java:353)
      at org.hornetq.core.client.impl.DelegatingSession.createConsumer(DelegatingSession.java:204)
      at org.hornetq.tests.stress.paging.PageStressTest.testStopDuringDepage(PageStressTest.java:129)
      




        • 1. Re: 5 test failures -- are they known?
          clebert.suconic

          - I'm not sure about MultiThreadRandomFailoverStressTest

          CompactingStressTest, LargeJournalStressTest, NIOMultiThreadcompactorStressTest and PageStressTest will need tweaks.

          Those tests were written before we changed some of the defaults on syncs.. and maybe they need to set blockOnSend to false.. etc. I would need to look at those since I wrote them.

          So, ATM those tests are invalids. You could maybe comment them out for now.


          Again... the only test I'm not sure about the status is MultiThreadRandomFailoverStressTest.

          • 2. Re: 5 test failures -- are they known?
            timfox

            Clebert, if they're invalid - they need to be fixed.

            • 3. Re: 5 test failures -- are they known?
              clebert.suconic

              Sure.. i said they could be commented out *for now*.

              Howard.. if you can take a look on making sure the Compacting tests, and paging tests are using setBlock(false); If they are I will have to take a look on later.

              • 4. Re: 5 test failures -- are they known?
                timfox

                I don't think they should be commented out at all.

                If they, fail they're failing for a reason and need to be fixed.

                • 5. Re: 5 test failures -- are they known?
                  clebert.suconic

                  Sure, I'm just giving priorities on what needs to be done first. They will be fixed.

                  • 6. Re: 5 test failures -- are they known?
                    gaohoward

                    Thanks guys. Clebert I'll take a look at the setBlock() thing.

                    Howard

                    • 7. Re: 5 test failures -- are they known?
                      gaohoward

                      today I ran those tests inside eclipse most of them passed except the last one PageStressTest.testStopDuringDepage. Note I didn't change any code.

                      Nov 30, 2009 4:06:47 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: ###### starting test org.hornetq.tests.stress.paging.PageStressTest.testStopDuringDepage
                      Nov 30, 2009 4:06:47 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: live server is starting..
                      Nov 30, 2009 4:06:47 PM org.hornetq.core.logging.impl.JULLogDelegate warn
                      WARNING: It has been detected that the cluster admin user and password which are used to replicate management operation from one node to the other have not been changed from the installation default. Please see the HornetQ user guide for instructions on how to do this.
                      Nov 30, 2009 4:06:47 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: AIO journal selected
                      Nov 30, 2009 4:06:47 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: AIO loaded successfully
                      Nov 30, 2009 4:06:48 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: HornetQ Server version 2.0.0.BETA5 (hornet-baby, 108) started
                      Sent 0
                      Sent 10000
                      Sent 20000
                      Sent 30000
                      Sent 40000
                      Sent 50000
                      Received 1000
                      Received 2000
                      Received 3000
                      Received 4000
                      Received 5000
                      Received 6000
                      Received 7000
                      Received 8000
                      Received 9000
                      Received 10000
                      Received 11000
                      Received 12000
                      Received 13000
                      Received 14000
                      Received 15000
                      Received 16000
                      Received 17000
                      Received 18000
                      Received 19000
                      Received 20000
                      Received 21000
                      Received 22000
                      Received 23000
                      Received 24000
                      Received 25000
                      Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate error
                      SEVERE: java.lang.IllegalStateException: The journal is not loaded 0
                      java.lang.IllegalStateException: The journal is not loaded 0
                       at org.hornetq.core.journal.impl.JournalImpl.appendRecord(JournalImpl.java:2712)
                       at org.hornetq.core.journal.impl.JournalImpl.appendAddRecordTransactional(JournalImpl.java:889)
                       at org.hornetq.core.persistence.impl.journal.JournalStorageManager.storeMessageTransactional(JournalStorageManager.java:560)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.processRoute(PostOfficeImpl.java:914)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:670)
                       at org.hornetq.core.paging.impl.PagingStoreImpl.onDepage(PagingStoreImpl.java:982)
                       at org.hornetq.core.paging.impl.PagingStoreImpl.readPage(PagingStoreImpl.java:677)
                       at org.hornetq.core.paging.impl.PagingStoreImpl.access$2(PagingStoreImpl.java:664)
                       at org.hornetq.core.paging.impl.PagingStoreImpl$DepageRunnable.run(PagingStoreImpl.java:1143)
                       at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                       at java.lang.Thread.run(Thread.java:619)
                      Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: HornetQ Server version 2.0.0.BETA5 (hornet-baby, 108) stopped
                      server stopped, nr msgs: 25298Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: live server is starting..
                      Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate warn
                      WARNING: It has been detected that the cluster admin user and password which are used to replicate management operation from one node to the other have not been changed from the installation default. Please see the HornetQ user guide for instructions on how to do this.
                      Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: AIO journal selected
                      Nov 30, 2009 4:07:02 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: AIO loaded successfully
                      
                      Nov 30, 2009 4:07:05 PM org.hornetq.core.logging.impl.JULLogDelegate warn
                      WARNING: Uncommitted transaction with id 60012 found and discarded
                      Nov 30, 2009 4:07:05 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: HornetQ Server version 2.0.0.BETA5 (hornet-baby, 108) started
                      Nov 30, 2009 4:07:05 PM org.hornetq.core.logging.impl.JULLogDelegate error
                      SEVERE: Failed to create consumer
                      java.lang.IllegalStateException: pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 10485760 ps 20971520
                       at org.hornetq.core.paging.impl.PagingStoreImpl.<init>(PagingStoreImpl.java:174)
                       at org.hornetq.core.paging.impl.PagingStoreFactoryNIO.newStore(PagingStoreFactoryNIO.java:92)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.newStore(PagingManagerImpl.java:249)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.createPageStore(PagingManagerImpl.java:114)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.getPageStore(PagingManagerImpl.java:131)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.setPagingStore(PostOfficeImpl.java:850)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:611)
                       at org.hornetq.core.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:742)
                       at org.hornetq.core.server.impl.ServerSessionImpl.handleCreateConsumer(ServerSessionImpl.java:436)
                       at org.hornetq.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:125)
                       at org.hornetq.core.remoting.impl.ChannelImpl.handlePacket(ChannelImpl.java:456)
                       at org.hornetq.core.remoting.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:383)
                       at org.hornetq.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:337)
                       at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:416)
                       at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:131)
                       at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                       at java.lang.Thread.run(Thread.java:619)
                      Nov 30, 2009 4:07:05 PM org.hornetq.core.logging.impl.JULLogDelegate error
                      SEVERE: Failed to close
                      java.lang.IllegalStateException: pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 10485760 ps 20971520
                       at org.hornetq.core.paging.impl.PagingStoreImpl.<init>(PagingStoreImpl.java:174)
                       at org.hornetq.core.paging.impl.PagingStoreFactoryNIO.newStore(PagingStoreFactoryNIO.java:92)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.newStore(PagingManagerImpl.java:249)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.createPageStore(PagingManagerImpl.java:114)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.getPageStore(PagingManagerImpl.java:131)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.setPagingStore(PostOfficeImpl.java:850)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:611)
                       at org.hornetq.core.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:742)
                       at org.hornetq.core.server.impl.ServerConsumerImpl.close(ServerConsumerImpl.java:328)
                       at org.hornetq.core.server.impl.ServerSessionImpl.close(ServerSessionImpl.java:332)
                       at org.hornetq.core.server.impl.ServerSessionImpl.handleClose(ServerSessionImpl.java:1358)
                       at org.hornetq.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:255)
                       at org.hornetq.core.remoting.impl.ChannelImpl.handlePacket(ChannelImpl.java:456)
                       at org.hornetq.core.remoting.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:383)
                       at org.hornetq.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:337)
                       at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:416)
                       at org.hornetq.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:131)
                       at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                       at java.lang.Thread.run(Thread.java:619)
                      java.lang.IllegalStateException: pageSize for address hornetq.notifications >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 10485760 ps 20971520
                       at org.hornetq.core.paging.impl.PagingStoreImpl.<init>(PagingStoreImpl.java:174)
                       at org.hornetq.core.paging.impl.PagingStoreFactoryNIO.newStore(PagingStoreFactoryNIO.java:92)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.newStore(PagingManagerImpl.java:249)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.createPageStore(PagingManagerImpl.java:114)
                       at org.hornetq.core.paging.impl.PagingManagerImpl.getPageStore(PagingManagerImpl.java:131)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.setPagingStore(PostOfficeImpl.java:850)
                       at org.hornetq.core.postoffice.impl.PostOfficeImpl.route(PostOfficeImpl.java:611)
                       at org.hornetq.core.management.impl.ManagementServiceImpl.sendNotification(ManagementServiceImpl.java:742)
                       at org.hornetq.core.remoting.impl.invm.InVMAcceptor.stop(InVMAcceptor.java:125)
                       at org.hornetq.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:237)
                       at org.hornetq.core.server.impl.HornetQServerImpl.stop(HornetQServerImpl.java:357)
                       at org.hornetq.tests.stress.paging.PageStressTest.testStopDuringDepage(PageStressTest.java:156)
                       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:597)
                       at junit.framework.TestCase.runTest(TestCase.java:164)
                       at junit.framework.TestCase.runBare(TestCase.java:130)
                       at junit.framework.TestResult$1.protect(TestResult.java:106)
                       at junit.framework.TestResult.runProtected(TestResult.java:124)
                       at junit.framework.TestResult.run(TestResult.java:109)
                       at junit.framework.TestCase.run(TestCase.java:120)
                       at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
                       at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
                       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
                       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
                       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
                       at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
                      Nov 30, 2009 4:07:05 PM org.hornetq.core.logging.impl.JULLogDelegate info
                      INFO: HornetQ Server version 2.0.0.BETA5 (hornet-baby, 108) stopped
                      
                      


                      • 8. Re: 5 test failures -- are they known?
                        clebert.suconic

                        Aren't they taking a long time to run? (hence timing out on ant?)

                        In Eclipse you won't have any timeouts.. so they could take a long time to finish. That would be caused by the extra blocking/sync that is not needed now.