Qpid
  1. Qpid
  2. QPID-4092

org.apache.qpid.server.queue.AMQPriorityQueueTest.testPriorityOrdering failed on Qpid-Java-Java-Test-IBMJDK1.6 Apache Jenkins CI job

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.17
    • Fix Version/s: 0.17
    • Component/s: Java Broker
    • Labels:
      None

      Description

      We saw test AMQPriorityQueueTest.testPriorityOrdering fail in build 133 with the following exception on the Qpid-Java-Java-Test-IBMJDK1.6 job profile.

      https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-Test-IBMJDK1.6/133/testReport/junit/org.apache.qpid.server.queue/AMQPriorityQueueTest/testPriorityOrdering/

      org.apache.qpid.server.queue.AMQPriorityQueueTest.testPriorityOrdering
      
      Failing for the past 1 build (Since #133 )
      Took 0.17 sec.
      Error Message
      
      Index: 0, Size: 0
      Stacktrace
      
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.get(ArrayList.java:343)
      	at org.apache.qpid.server.queue.AMQPriorityQueueTest.testPriorityOrdering(AMQPriorityQueueTest.java:69)
      	at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:137)
      
      

      It also appears the delivery thread failed with a NPE:

      Exception in thread "pool-3-thread-49" java.util.concurrent.RejectedExecutionException
      	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1770)
      	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:778)
      	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:669)
      	at org.apache.qpid.server.queue.SimpleAMQQueue.execute(SimpleAMQQueue.java:305)
      	at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:100)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      	at java.lang.Thread.run(Thread.java:735)
      Exception in thread "pool-3-thread-67" java.lang.NullPointerException
      	at org.apache.qpid.server.queue.SimpleAMQQueue.setLastSeenEntry(SimpleAMQQueue.java:836)
      	at org.apache.qpid.server.queue.SimpleAMQQueue.deliverMessage(SimpleAMQQueue.java:819)
      	at org.apache.qpid.server.queue.SimpleAMQQueue.attemptDelivery(SimpleAMQQueue.java:1843)
      	at org.apache.qpid.server.queue.SimpleAMQQueue.processQueue(SimpleAMQQueue.java:2010)
      	at org.apache.qpid.server.queue.QueueRunner.run(QueueRunner.java:71)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      	at java.lang.Thread.run(Thread.java:735)
      

        Activity

        Keith Wall created issue -
        Keith Wall made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Robbie Gemmell [ gemmellr ]
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Fix Version/s 0.17 [ 12320179 ]
        Resolution Fixed [ 1 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Keith Wall
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development