[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Status: Ready To Review  (was: In Progress)

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Alex Rudyy
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch, 
> QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Attachment: 
QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Alex Rudyy
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch, 
> QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Attachment: (was: 
0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch)

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Alex Rudyy
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Robbie Gemmell (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPID-2901:
-

Assignee: Alex Rudyy  (was: Robbie Gemmell)
  Status: Open  (was: Ready To Review)

Hi Alex, changes look good except maybe that the subscriptions should be 
unregistered within the ServerSession closure rather than within the 
ServerConnection closure.

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Alex Rudyy
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch, 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Robbie Gemmell (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPID-2901:
-

Status: Ready To Review  (was: In Progress)

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Robbie Gemmell
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch, 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-09-07 Thread Robbie Gemmell (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPID-2901:
-

Fix Version/s: (was: JIRA Cleanup)
   0.13

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>Assignee: Robbie Gemmell
> Fix For: 0.13
>
> Attachments: 
> 0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch, 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-08-29 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Attachment: 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
> Attachments: 
> 0001-QPID-2901-Fixes-racing-conditions-on-broker-side-whe.patch, 
> 0001-QPID-2901-System-test-to-reproduce-racing-conditions.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-08-29 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Attachment: (was: 
QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch)

> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-08-26 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

Attachment: 
QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch

The attached patch fixes the problem by changing the following:

- subscription send locks are acquired before closing the session from SCDP

- transport session closing state is checked in  Subscription_0_10#isSuspended 
method


> A number of tests sporadically fails with 0.10 profiles on attempt to commit 
> transaction due to exception in org.apache.qpid.transport.Session#sync
> ---
>
> Key: QPID-2901
> URL: https://issues.apache.org/jira/browse/QPID-2901
> Project: Qpid
>  Issue Type: Bug
>  Components: Java Broker, Java Client
>Affects Versions: 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
>Reporter: Robbie Gemmell
> Attachments: 
> QPID-2901-Fixes-racing-conditions-on-closing-session-from-SCDP.patch
>
>
> The following stack trace is printed for failed commit
> org.apache.qpid.transport.SessionException: ch=0 id=0 
> ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
> description=Exception processing command: java.lang.RuntimeException: Failed 
> to commit transaction)
>   at org.apache.qpid.transport.Session.sync(Session.java:807)
>   at org.apache.qpid.transport.Session.sync(Session.java:772)
>   at org.apache.qpid.transport.Session.invoke(Session.java:732)
>   at org.apache.qpid.transport.Session.invoke(Session.java:561)
>   at 
> org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
>   at 
> org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
>   at 
> org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
>   at 
> org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
>   at java.lang.Thread.run(Thread.java:619)
> This is the list of failing tests:
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
> org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
> org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
> org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
Apache Qpid - AMQP Messaging Implementation
Project:  http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org



[jira] [Updated] (QPID-2901) A number of tests sporadically fails with 0.10 profiles on attempt to commit transaction due to exception in org.apache.qpid.transport.Session#sync

2011-08-22 Thread Alex Rudyy (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy updated QPID-2901:
-

  Description: 
The following stack trace is printed for failed commit

org.apache.qpid.transport.SessionException: ch=0 id=0 
ExecutionException(errorCode=INTERNAL_ERROR, commandId=13, 
description=Exception processing command: java.lang.RuntimeException: Failed to 
commit transaction)
at org.apache.qpid.transport.Session.sync(Session.java:807)
at org.apache.qpid.transport.Session.sync(Session.java:772)
at org.apache.qpid.transport.Session.invoke(Session.java:732)
at org.apache.qpid.transport.Session.invoke(Session.java:561)
at 
org.apache.qpid.transport.SessionInvoker.txCommit(SessionInvoker.java:148)
at 
org.apache.qpid.client.AMQSession_0_10.sendCommit(AMQSession_0_10.java:423)
at 
org.apache.qpid.client.AMQSession_0_10.commit(AMQSession_0_10.java:1008)
at 
org.apache.qpid.systest.TestingBaseCase$1.run(TestingBaseCase.java:105)
at java.lang.Thread.run(Thread.java:619)

This is the list of failing tests:
org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageAge
org.apache.qpid.systest.SubscriptionTest#testTopicDurableConsumerMessageCount
org.apache.qpid.systest.TopicTest#org.apache.qpid.systest.TopicTest 
org.apache.qpid.systest.TopicTest#testTopicDurableConsumerMessageAge
org.apache.qpid.systest.GlobalQueuesTest#testTopicDurableConsumerMessageAge
org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageSize
org.apache.qpid.systest.GlobalTopicsTest#testTopicDurableConsumerMessageAge

  was:
The following SCD tests (22 in total) all continuously fail on the java.0.10 
test profiles because the "client was not disconnected":
org.apache.qpid.systest.GlobalQueuesTest#*
org.apache.qpid.systest.GlobalTopicsTest#*
org.apache.qpid.systest.MergeConfigurationTest#*
org.apache.qpid.systest.SubscriptionTest#*
org.apache.qpid.systest.TopicTest#*



org.apache.qpid.systest.GlobalQueuesTest (6)
TestName: testTopicConsumerMessageCount Duration: 13.105

Client was not disconnected


junit.framework.AssertionFailedError: Client 
was not disconnected
at 
org.apache.qpid.systest.TestingBaseCase.topicConsumer(TestingBaseCase.java:176)
at 
org.apache.qpid.systest.GlobalQueuesTest.testTopicConsumerMessageCount(GlobalQueuesTest.java:106)
at 
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:232)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)


TestName: testTopicConsumerMessageSize Duration: 11.096

Client was not disconnected


junit.framework.AssertionFailedError: Client 
was not disconnected
at 
org.apache.qpid.systest.TestingBaseCase.topicConsumer(TestingBaseCase.java:176)
at 
org.apache.qpid.systest.GlobalQueuesTest.testTopicConsumerMessageSize(GlobalQueuesTest.java:129)
at 
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:232)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)


TestName: testTopicConsumerMessageAge Duration: 11.019

Client was not disconnected


junit.framework.AssertionFailedError: Client 
was not disconnected
at 
org.apache.qpid.systest.TestingBaseCase.topicConsumer(TestingBaseCase.java:176)
at 
org.apache.qpid.systest.GlobalQueuesTest.testTopicConsumerMessageAge(GlobalQueuesTest.java:150)
at 
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:232)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)


TestName: testTopicDurableConsumerMessageCount Duration: 10.838

Client was not disconnected


junit.framework.AssertionFailedError: Client 
was not disconnected
at 
org.apache.qpid.systest.TestingBaseCase.topicConsumer(TestingBaseCase.java:176)
at 
org.apache.qpid.systest.GlobalQueuesTest.testTopicDurableConsumerMessageCount(GlobalQueuesTest.java:172)
at 
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:232)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:120)


TestName: testTopicDurableConsumerMessageSize Duration: 10.81

Client was not disconnected


junit.framework.AssertionFailedError: Client 
was not disconnec