[jira] [Commented] (QPID-5694) Windows C++ broker SSL sends non-existent negotiation token on shutdown

2014-04-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969260#comment-13969260
 ] 

ASF subversion and git services commented on QPID-5694:
---

Commit 1587446 from cliffjan...@apache.org in branch 'qpid/trunk'
[ https://svn.apache.org/r1587446 ]

QPID-5694: Windows C++ broker SSL: do not send non-existent negotiation token 
on shutdown

 Windows C++ broker SSL sends non-existent negotiation token on shutdown
 ---

 Key: QPID-5694
 URL: https://issues.apache.org/jira/browse/QPID-5694
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
 Fix For: 0.27


 The Windows SChannel logic for releasing resources on shutdown of a broker 
 connection, negotiateStep(0);, incorrectly generates a new SSL handshake 
 exchange after queueWriteClose, allowing for thread activity after the 
 ServerSslAsynchIO object's memory has been deleted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)
Gordon Sim created QPID-5700:


 Summary: heartbeat interleaved with message frames causes decode 
error
 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical


Heartbeat controls are sent on a separate 'track' from the message transfer 
command and accompanying header and content segments. 

The OpDecoder is fed the segments as they occur, but does not account for the 
possibility of interleaving of assemblies on different tracks.

Example data and exception below:

{noformat}
2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
'\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
 a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
null, disabled_reason: null, id: 42}, _msg_id: 
4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
/usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
time(s)... retrying.
2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 78, 
in inner_func
2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, line 
698, in _consumer_thread
2014-04-13 04:10:21.879 3963 TRACE root self.consume()
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, line 
689, in consume
2014-04-13 04:10:21.879 3963 TRACE root it.next()
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, line 
606, in iterconsume
2014-04-13 04:10:21.879 3963 TRACE root yield self.ensure(_error_callback, 
_consume)
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, line 
540, in ensure
2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, line 
597, in _consume
2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
self.session.next_receiver(timeout=timeout)
2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
next_receiver
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
next_receiver
2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
self.incoming, timeout):
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
_ecwait
2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
self.closed or predicate(), timeout)
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
_ewait
2014-04-13 04:10:21.879 3963 TRACE root result = 
self.connection._ewait(lambda: self.error or predicate(), timeout)
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
_ewait
2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
check_error
2014-04-13 04:10:21.879 3963 TRACE root raise self.error
2014-04-13 04:10:21.879 3963 TRACE root InternalError: Traceback (most recent 
call last):
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/messaging/driver.py, line 667, in write
2014-04-13 04:10:21.879 3963 TRACE root 
self._op_dec.write(*self._seg_dec.read())
2014-04-13 04:10:21.879 3963 TRACE root   File 
/usr/lib/python2.6/site-packages/qpid/framing.py, line 269, in write
2014-04-13 04:10:21.879 3963 TRACE root if self.op.headers 

[jira] [Commented] (QPID-5694) Windows C++ broker SSL sends non-existent negotiation token on shutdown

2014-04-15 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969394#comment-13969394
 ] 

Justin Ross commented on QPID-5694:
---

Reviewed by Andrew.  Approved for 0.28.

https://reviews.apache.org/r/20319/


 Windows C++ broker SSL sends non-existent negotiation token on shutdown
 ---

 Key: QPID-5694
 URL: https://issues.apache.org/jira/browse/QPID-5694
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
 Fix For: 0.27


 The Windows SChannel logic for releasing resources on shutdown of a broker 
 connection, negotiateStep(0);, incorrectly generates a new SSL handshake 
 exchange after queueWriteClose, allowing for thread activity after the 
 ServerSslAsynchIO object's memory has been deleted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5669) SSL negotiation failed spurious error on connection close (Windows C++)

2014-04-15 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969393#comment-13969393
 ] 

Justin Ross commented on QPID-5669:
---

Reviewed by Andrew.  Approved for 0.28.

 SSL negotiation failed spurious error on connection close (Windows C++)
 -

 Key: QPID-5669
 URL: https://issues.apache.org/jira/browse/QPID-5669
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
Priority: Critical

 The AMQP 1.0 protocol transport driver has a different interaction between 
 threads on connection close.  This exposes bugs in the existing SslAsynchIO 
 driver that leads to spurious error messages about failed negotiation setup, 
 even though the setup succeeded long ago.
 The associated reason for the failure varies, because the contents of the 
 error code is unrelated to any SSL processing error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPID-5669) SSL negotiation failed spurious error on connection close (Windows C++)

2014-04-15 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969393#comment-13969393
 ] 

Justin Ross edited comment on QPID-5669 at 4/15/14 9:53 AM:


Reviewed by Andrew.  Approved for 0.28.

https://reviews.apache.org/r/20122/


was (Author: justi9):
Reviewed by Andrew.  Approved for 0.28.

 SSL negotiation failed spurious error on connection close (Windows C++)
 -

 Key: QPID-5669
 URL: https://issues.apache.org/jira/browse/QPID-5669
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
Priority: Critical

 The AMQP 1.0 protocol transport driver has a different interaction between 
 threads on connection close.  This exposes bugs in the existing SslAsynchIO 
 driver that leads to spurious error messages about failed negotiation setup, 
 even though the setup succeeded long ago.
 The associated reason for the failure varies, because the contents of the 
 error code is unrelated to any SSL processing error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969454#comment-13969454
 ] 

Gordon Sim commented on QPID-5700:
--

A couple of suggested fixes. The first assumes there are no multi-segment 
controls (which I think is a valid assumption) and avoids interfering with any 
inprogress op on the command track:

{noformat}
Index: qpid/framing.py
===
--- qpid/framing.py (revision 1587222)
+++ qpid/framing.py (working copy)
@@ -257,6 +257,13 @@
 
   def write(self, *segments):
 for seg in segments:
+  if seg.track == 0:
+  # all controls must be sent on track 0
+  op = self.decode_control(seg.payload)
+  op.channel = seg.channel
+  self.ops.append(op)
+  continue
+
   if seg.first:
 if seg.type == segment_type.command:
   self.op = self.decode_command(seg.payload)
{noformat}

the second is more generic, allowing for an in progress op per track, but is a 
little more involved in terms of the change:

{noformat}
Index: qpid/framing.py
===
--- qpid/framing.py (revision 1587222)
+++ qpid/framing.py (working copy)
@@ -252,31 +252,33 @@
 class OpDecoder:
 
   def __init__(self):
-self.op = None
+self.current_op = {}
 self.ops = []
 
   def write(self, *segments):
 for seg in segments:
+  op = self.current_op.get(seg.track)
   if seg.first:
 if seg.type == segment_type.command:
-  self.op = self.decode_command(seg.payload)
+  op = self.decode_command(seg.payload)
 elif seg.type == segment_type.control:
-  self.op = self.decode_control(seg.payload)
+  op = self.decode_control(seg.payload)
 else:
   raise ValueError(seg)
-self.op.channel = seg.channel
+op.channel = seg.channel
   elif seg.type == segment_type.header:
-if self.op.headers is None:
-  self.op.headers = []
-self.op.headers.extend(self.decode_headers(seg.payload))
+if op.headers is None:
+  op.headers = []
+op.headers.extend(self.decode_headers(seg.payload))
   elif seg.type == segment_type.body:
-if self.op.payload is None:
-  self.op.payload = seg.payload
+if op.payload is None:
+  op.payload = seg.payload
 else:
-  self.op.payload += seg.payload
+  op.payload += seg.payload
   if seg.last:
-self.ops.append(self.op)
-self.op = None
+self.ops.append(op)
+  else:
+self.current_op[seg.track] = op
 
   def decode_command(self, encoded):
 sc = StringCodec(encoded)
{noformat}

There are of course other options as well.

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 

[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969464#comment-13969464
 ] 

Gordon Sim commented on QPID-5700:
--

Second option should actually also clear out the current_op for the given track 
if seg.last. Though in practice that would only be an issue for an invalid 
protocol sequence, it could in that case obscure the actual issue.

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 

[jira] [Created] (QPID-5701) [AMQP 1.0] C++ client should notify broker about session.sync() invoked by application

2014-04-15 Thread Pavel Moravec (JIRA)
Pavel Moravec created QPID-5701:
---

 Summary:  [AMQP 1.0] C++ client should notify broker about 
session.sync() invoked by application
 Key: QPID-5701
 URL: https://issues.apache.org/jira/browse/QPID-5701
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker, C++ Client
Affects Versions: 0.26
Reporter: Pavel Moravec
Priority: Minor


Description of problem:
When application using C++ client invokes session.sync() method on AMQP 0-10 
connection, the client sends execution.sync AMQP primitive to the broker to get 
aligned with the broker asap. While AMQP 1.0 client does not invoke anything 
like that, causing the client redundantly waits until the broker decides to 
send disposition and flow performatives by itself.

Particular use case:
- send durable messages to a durable queue and time to time (e.g. after N 
messages) invoke session.sync() to be synced.
- message throughput is approx. N msgs/sec
- this is caused by store module flushing work done every second (via 
MessageStoreImpl::defJournalFlushTimeout = 500ms, not sure why .5s and not 1s 
but confirmed to be relevant)


Version-Release number of selected component (if applicable):
upstream (0.28 incl)


How reproducible:
100%


Steps to Reproduce:
1. Apply trivial patch to qpid-send to invoke session.sync() every N message 
(--group-size option misused just for the test):
Index: src/tests/qpid-send.cpp
===
--- src/tests/qpid-send.cpp (revision 1587518)
+++ src/tests/qpid-send.cpp (working copy)
@@ -413,6 +413,9 @@
 sender.send(msg);
 reporter.message(msg);
 
+if (sent % opts.groupSize == 0)
+session.sync();
+
 if (opts.tx  (sent % opts.tx == 0)) {
 if (opts.rollbackFrequency 
 (++txCount % opts.rollbackFrequency == 0))

2. qpid-config add queue Durable --durable
3. qpid-send -a Durable -m 100 --connection-options {protocol:amqp1.0} 
--group-key=KEY --group-size=1 --report-total --durable=yes
4. qpid-send -a Durable -m 100 --connection-options {protocol:amqp1.0} 
--group-key=KEY --group-size=10 --report-total --durable=yes
5. qpid-send -a Durable -m 100 --connection-options {protocol:amqp1.0} 
--group-key=KEY --group-size=100 --report-total --durable=yes


Actual results:
tp/s differ extremely, like:
group-size=1 - tp/s 1
group-size=10 - tp/s 10
group-size=100 - tp/s 100

When using AMQP 0-10, the difference isnt such huge and tp/s is in general much 
much higher (i.e. 2025 for group-size=10).


Expected results:
AMQP 1.0 client to provide similar results like 0-10



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Ken Giusti (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969529#comment-13969529
 ] 

Ken Giusti commented on QPID-5700:
--

+1 to the second patch, and I agree that current_op[seg.track] = None is  a 
good idea for last segment.

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 TRACE root raise self.error
 2014-04-13 04:10:21.879 3963 TRACE root InternalError: Traceback (most recent 
 call 

[jira] [Created] (QPID-5702) Upgrade Junit version from 3 to 4

2014-04-15 Thread Andrew MacBean (JIRA)
Andrew MacBean created QPID-5702:


 Summary: Upgrade Junit version from 3 to 4
 Key: QPID-5702
 URL: https://issues.apache.org/jira/browse/QPID-5702
 Project: Qpid
  Issue Type: Improvement
  Components: Build Tools
Affects Versions: 0.26
Reporter: Andrew MacBean
Assignee: Andrew MacBean
 Fix For: Future


Update the junit dependency version (in both ANT and Maven) from 3.8.1 to 4.11 
and also resolve the obvious warnings for use of deprecated packages and APIs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-5048) [Java] Implement a Maven 3 build system

2014-04-15 Thread Andrew MacBean (JIRA)

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

Andrew MacBean updated QPID-5048:
-

Attachment: 0002-QPID-5048-re-instate-dependency-versions-after-qpid-.patch
0001-QPID-5048-update-qpid-parent-pom-to-remove-dependenc.patch

Changes to maven build to:

- remove dependency management section from maven parent
- re-instate children version definitions using parent defined properties
- moved the orable bdb repo config from parent to java build pom
- add initial apache-release profile override config

 [Java] Implement a Maven 3 build system 
 

 Key: QPID-5048
 URL: https://issues.apache.org/jira/browse/QPID-5048
 Project: Qpid
  Issue Type: Task
  Components: Build Tools
Reporter: Rob Godfrey
Assignee: Robbie Gemmell
 Attachments: 
 0001-NO-JIRA-fix-to-resolve-potential-parse-error-in-Abst.patch, 
 0001-QPID-5048-Maven-POM-refactoring-names-descriptions-d.patch, 
 0001-QPID-5048-Maven-enahancements-to-remove-child-versio.patch, 
 0001-QPID-5048-Maven-enahancements-to-restructure-POM-hie.patch, 
 0001-QPID-5048-Moved-slf4j-deps-to-test-utils-to-workarou.patch, 
 0001-QPID-5048-added-basic-cpp-broker-test-profile.patch, 
 0001-QPID-5048-changes-get-perf-tests-running-again.patch, 
 0001-QPID-5048-dby-profiles-bdb-test-deps-and-config-for-.patch, 
 0001-QPID-5048-maven-license-plugin-optimisation-enhanced.patch, 
 0001-QPID-5048-modified-deployment-plugin-config-so-only-.patch, 
 0001-QPID-5048-new-maven-enforcer-plugin-rule-for-checkin.patch, 
 0001-QPID-5048-parent-pom-changes-for-release-license-and.patch, 
 0001-QPID-5048-split-out-systests-from-perftests-and-add-.patch, 
 0001-QPID-5048-surefire-site-coverage-and-jxr-config.patch, 
 0001-QPID-5048-update-qpid-parent-pom-to-inherit-from-lat.patch, 
 0001-QPID-5048-update-qpid-parent-pom-to-remove-dependenc.patch, 
 0002-QPID-5048-Logging-dependency-and-configuration-tidy-.patch, 
 0002-QPID-5048-added-dependency-license-reference-checkin.patch, 
 0002-QPID-5048-re-instate-dependency-versions-after-qpid-.patch, 
 0003-QPID-5048-logging-and-build-output-cleanup.patch, 
 QPID-5048-maven-qpid-parent-changes.diff


 Implement a Maven build system which generates the same artefacts as the 
 current ant based build.  
 See: https://cwiki.apache.org/confluence/display/qpid/Java+Build+System
 TO DO
 - Fix what the systests/perftests do to copy the test-profiles dir to the 
 necessary location.
 - Test deploying the modules to a local Nexus instance (by overriding the 
 repo properties locally).
 - Ensure we dont deploy modules we aren't already doing so, it will make 
 changing them later less of a pain for everyone.
 - Align the XML in the pom files consistently, fix whitepsace errors.
 - improve the performance hit from using the license plugin
 - check that perf-tests actually needs the unpacked broker for running non 
 spawn profiles and remove if not
 - remove the child module version to let them inherit from java parent
 - check the bcel bundle dependancy exclusions are still required
 === Once the Ant build is removed ===
 - Move all the resources to be in the /src/foo/resources folders.
 - Make qpidversion.properties in common be a filtered resource instead of 
 generated.
 - Get rid of the antrun-plugin execution in common, directly invoke the 
 required java elements.
 - Do the above in the generate-sources-common profile instead of current 
 default config.
 - Get rid of the antrun-plugin execution in broker-core, directly invoke the 
 required java elements.
 - Fix the tests not to be dependant on the working dir being the java dir.
 - Fix the tests not to be dependant on the test config/output dirs being 
 children of qpid.home.
 - Remove the QBTC output file mechanics, rely on Surefire to do it?
 - JUnit test profiles instead of Exludes files?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-5702) Upgrade Junit version from 3 to 4

2014-04-15 Thread Andrew MacBean (JIRA)

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

Andrew MacBean updated QPID-5702:
-

Attachment: 0001-QPID-5702-Upgrade-Junit-version-from-3-to-4-in-maven.patch
0002-QPID-5702-Upgrade-Junit-version-from-3-to-4.patch

Patch files to upgrade the ANT and Maven builds to Junit 4.

 Upgrade Junit version from 3 to 4
 -

 Key: QPID-5702
 URL: https://issues.apache.org/jira/browse/QPID-5702
 Project: Qpid
  Issue Type: Improvement
  Components: Build Tools
Affects Versions: 0.26
Reporter: Andrew MacBean
Assignee: Andrew MacBean
 Fix For: Future

 Attachments: 
 0001-QPID-5702-Upgrade-Junit-version-from-3-to-4-in-maven.patch, 
 0002-QPID-5702-Upgrade-Junit-version-from-3-to-4.patch

   Original Estimate: 24h
  Remaining Estimate: 24h

 Update the junit dependency version (in both ANT and Maven) from 3.8.1 to 
 4.11 and also resolve the obvious warnings for use of deprecated packages and 
 APIs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Assigned] (QPID-5702) Upgrade Junit version from 3 to 4

2014-04-15 Thread Andrew MacBean (JIRA)

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

Andrew MacBean reassigned QPID-5702:


Assignee: Robbie Gemmell  (was: Andrew MacBean)

Could you please review?

 Upgrade Junit version from 3 to 4
 -

 Key: QPID-5702
 URL: https://issues.apache.org/jira/browse/QPID-5702
 Project: Qpid
  Issue Type: Improvement
  Components: Build Tools
Affects Versions: 0.26
Reporter: Andrew MacBean
Assignee: Robbie Gemmell
 Fix For: Future

 Attachments: 
 0001-QPID-5702-Upgrade-Junit-version-from-3-to-4-in-maven.patch, 
 0002-QPID-5702-Upgrade-Junit-version-from-3-to-4.patch

   Original Estimate: 24h
  Remaining Estimate: 24h

 Update the junit dependency version (in both ANT and Maven) from 3.8.1 to 
 4.11 and also resolve the obvious warnings for use of deprecated packages and 
 APIs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-5697) An exchange is deleted by a request for topic removal

2014-04-15 Thread Ernest Allen (JIRA)

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

Ernest Allen resolved QPID-5697.


   Resolution: Fixed
Fix Version/s: 0.22

 An exchange is deleted by a request for topic removal
 -

 Key: QPID-5697
 URL: https://issues.apache.org/jira/browse/QPID-5697
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
Reporter: Ernest Allen
 Fix For: 0.22

 Attachments: bz1082023.patch


 When a topic delete request is issued and the topic does not exist and there 
 is an exchange of that name, the exchange is deleted which is obviously not 
 intended. When the topic exists the topic is deleted first, see additional 
 info for more details.
 How reproducible:
 100%
 Steps to Reproduce:
 1. qpid-config add exchange fanout myExchange
 2. qpid-config del topic myExchange
 Exchange myExchange removed instead of 'Topic not found' exception



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969582#comment-13969582
 ] 

Gordon Sim commented on QPID-5700:
--

So for clarity, the second option would be:

{noformat}
Index: qpid/framing.py
===
--- qpid/framing.py (revision 1587222)
+++ qpid/framing.py (working copy)
@@ -252,31 +252,35 @@
 class OpDecoder:
 
   def __init__(self):
-self.op = None
+self.current_op = {}
 self.ops = []
 
   def write(self, *segments):
 for seg in segments:
+  op = self.current_op.get(seg.track)
   if seg.first:
 if seg.type == segment_type.command:
-  self.op = self.decode_command(seg.payload)
+  op = self.decode_command(seg.payload)
 elif seg.type == segment_type.control:
-  self.op = self.decode_control(seg.payload)
+  op = self.decode_control(seg.payload)
 else:
   raise ValueError(seg)
-self.op.channel = seg.channel
+op.channel = seg.channel
   elif seg.type == segment_type.header:
-if self.op.headers is None:
-  self.op.headers = []
-self.op.headers.extend(self.decode_headers(seg.payload))
+if op.headers is None:
+  op.headers = []
+op.headers.extend(self.decode_headers(seg.payload))
   elif seg.type == segment_type.body:
-if self.op.payload is None:
-  self.op.payload = seg.payload
+if op.payload is None:
+  op.payload = seg.payload
 else:
-  self.op.payload += seg.payload
+  op.payload += seg.payload
   if seg.last:
-self.ops.append(self.op)
-self.op = None
+self.ops.append(op)
+if seg.track in self.current_op:
+  del self.current_op[seg.track]
+  else:
+self.current_op[seg.track] = op
 
   def decode_command(self, encoded):
 sc = StringCodec(encoded)
{noformat}

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 

[jira] [Commented] (QPID-5669) SSL negotiation failed spurious error on connection close (Windows C++)

2014-04-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969680#comment-13969680
 ] 

ASF subversion and git services commented on QPID-5669:
---

Commit 1587629 from cliffjan...@apache.org in branch 'qpid/branches/0.28'
[ https://svn.apache.org/r1587629 ]

QPID-5669: spurious error on connection close (Windows C++): SSL negotiation 
failed (0.28 branch)

 SSL negotiation failed spurious error on connection close (Windows C++)
 -

 Key: QPID-5669
 URL: https://issues.apache.org/jira/browse/QPID-5669
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
Priority: Critical

 The AMQP 1.0 protocol transport driver has a different interaction between 
 threads on connection close.  This exposes bugs in the existing SslAsynchIO 
 driver that leads to spurious error messages about failed negotiation setup, 
 even though the setup succeeded long ago.
 The associated reason for the failure varies, because the contents of the 
 error code is unrelated to any SSL processing error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5694) Windows C++ broker SSL sends non-existent negotiation token on shutdown

2014-04-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969689#comment-13969689
 ] 

ASF subversion and git services commented on QPID-5694:
---

Commit 1587630 from cliffjan...@apache.org in branch 'qpid/branches/0.28'
[ https://svn.apache.org/r1587630 ]

QPID-5694: Windows C++ broker SSL: do not send non-existent negotiation token 
on shutdown (0.28 branch)

 Windows C++ broker SSL sends non-existent negotiation token on shutdown
 ---

 Key: QPID-5694
 URL: https://issues.apache.org/jira/browse/QPID-5694
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.27
 Environment: Windows
Reporter: Cliff Jansen
Assignee: Cliff Jansen
 Fix For: 0.27


 The Windows SChannel logic for releasing resources on shutdown of a broker 
 connection, negotiateStep(0);, incorrectly generates a new SSL handshake 
 exchange after queueWriteClose, allowing for thread activity after the 
 ServerSslAsynchIO object's memory has been deleted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (DISPATCH-2) Adhere to the AMQP Management Specification for remote management

2014-04-15 Thread Ted Ross (JIRA)

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

Ted Ross updated DISPATCH-2:


Fix Version/s: 0.3

 Adhere to the AMQP Management Specification for remote management
 -

 Key: DISPATCH-2
 URL: https://issues.apache.org/jira/browse/DISPATCH-2
 Project: Qpid Dispatch
  Issue Type: Improvement
  Components: Management Agent
Affects Versions: 0.1
Reporter: Ted Ross
Assignee: Ted Ross
 Fix For: 0.3


 Qpid Dispatch should adhere as closely as possible to the emerging Management 
 specification from the AMQP technical committee. This issue will track work 
 and comments related to compliance with the specification.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5698) [Java Broker] Move all configured attributes to be either automated or derived

2014-04-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969883#comment-13969883
 ] 

ASF subversion and git services commented on QPID-5698:
---

Commit 1587682 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1587682 ]

QPID-5698 : [Java Broker] make attributes automated or derived

 [Java Broker] Move all configured attributes to be either automated or derived
 --

 Key: QPID-5698
 URL: https://issues.apache.org/jira/browse/QPID-5698
 Project: Qpid
  Issue Type: Sub-task
Reporter: Rob Godfrey
Assignee: Rob Godfrey

 Move all configured object attributes to be either automated (meaning that 
 the base class handles the setting and thus performs defaulting and 
 interpolation) or derived (which means that the attribute cannot be set and 
 responsibility for providing the value is left to the implementation class).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Rafael H. Schloming (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969980#comment-13969980
 ] 

Rafael H. Schloming commented on QPID-5700:
---

I'm +1 on the last patch you posted.

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 TRACE root raise self.error
 2014-04-13 04:10:21.879 3963 TRACE root InternalError: Traceback (most recent 
 call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 

[jira] [Commented] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13969982#comment-13969982
 ] 

ASF subversion and git services commented on QPID-5700:
---

Commit 1587710 from g...@apache.org in branch 'qpid/trunk'
[ https://svn.apache.org/r1587710 ]

QPID-5700: ensure interleaved segments on different tracks do not get confused

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Priority: Critical

 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 TRACE root  

[jira] [Resolved] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)

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

Gordon Sim resolved QPID-5700.
--

   Resolution: Fixed
Fix Version/s: 0.29

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Assignee: Gordon Sim
Priority: Critical
 Fix For: 0.29


 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 TRACE root raise self.error
 2014-04-13 04:10:21.879 3963 TRACE root InternalError: Traceback (most recent 
 call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 

[jira] [Assigned] (QPID-5700) heartbeat interleaved with message frames causes decode error

2014-04-15 Thread Gordon Sim (JIRA)

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

Gordon Sim reassigned QPID-5700:


Assignee: Gordon Sim

 heartbeat interleaved with message frames causes decode error
 -

 Key: QPID-5700
 URL: https://issues.apache.org/jira/browse/QPID-5700
 Project: Qpid
  Issue Type: Bug
  Components: Python Client
Affects Versions: 0.26
Reporter: Gordon Sim
Assignee: Gordon Sim
Priority: Critical
 Fix For: 0.29


 Heartbeat controls are sent on a separate 'track' from the message transfer 
 command and accompanying header and content segments. 
 The OpDecoder is fed the segments as they occur, but does not account for the 
 possibility of interleaving of assemblies on different tracks.
 Example data and exception below:
 {noformat}
 2014-04-13 04:10:21.866 3963 DEBUG qpid.messaging.io.raw [-] READ[477e7a0]: 
 '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00reply_9fc61f642ec14f8785ebc4ca7635b4e6\x00\x00\x006\x04\x01\x00\x03\namq.directreply_9fc61f642ec14f8785ebc4ca7635b4e6\x07\x03\x01\xcb\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\xbb\x00\x00\x00\x02\x0coslo.message\x95\x01\x94{_unique_id:
  a4b5b02a187c4313826f647627e82200, failure: null, result: {binary: 
 nova-compute, deleted: 0, created_at: 2014-03-16T21:22:19.00, 
 updated_at: 2014-04-13T09:10:21.862224, report_count: 210969, topic: 
 compute, host: nova51.rhelpoc.local, disabled: false, deleted_at: 
 null, disabled_reason: null, id: 42}, _msg_id: 
 4135f2273eb3459fbc5cba773faac851}\x0coslo.version\x95\x00\x032.0' readable 
 /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:434
 2014-04-13 04:10:21.879 3963 ERROR root [-] Unexpected exception occurred 1 
 time(s)... retrying.
 2014-04-13 04:10:21.879 3963 TRACE root Traceback (most recent call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py, line 
 78, in inner_func
 2014-04-13 04:10:21.879 3963 TRACE root return infunc(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 698, in _consumer_thread
 2014-04-13 04:10:21.879 3963 TRACE root self.consume()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 689, in consume
 2014-04-13 04:10:21.879 3963 TRACE root it.next()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 606, in iterconsume
 2014-04-13 04:10:21.879 3963 TRACE root yield 
 self.ensure(_error_callback, _consume)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 540, in ensure
 2014-04-13 04:10:21.879 3963 TRACE root return method(*args, **kwargs)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py, 
 line 597, in _consume
 2014-04-13 04:10:21.879 3963 TRACE root nxt_receiver = 
 self.session.next_receiver(timeout=timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File string, line 6, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 665, in 
 next_receiver
 2014-04-13 04:10:21.879 3963 TRACE root if self._ecwait(lambda: 
 self.incoming, timeout):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 50, in 
 _ecwait
 2014-04-13 04:10:21.879 3963 TRACE root result = self._ewait(lambda: 
 self.closed or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 571, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root result = 
 self.connection._ewait(lambda: self.error or predicate(), timeout)
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 214, in 
 _ewait
 2014-04-13 04:10:21.879 3963 TRACE root self.check_error()
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 /usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py, line 207, in 
 check_error
 2014-04-13 04:10:21.879 3963 TRACE root raise self.error
 2014-04-13 04:10:21.879 3963 TRACE root InternalError: Traceback (most recent 
 call last):
 2014-04-13 04:10:21.879 3963 TRACE root   File 
 

[jira] [Resolved] (QPID-5451) [AMQP 1.0] overly verbose logging at notce level for message sequence annotations over AMQP 1.0

2014-04-15 Thread Gordon Sim (JIRA)

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

Gordon Sim resolved QPID-5451.
--

Resolution: Fixed

 [AMQP 1.0] overly verbose logging at notce level for message sequence 
 annotations over AMQP 1.0
 ---

 Key: QPID-5451
 URL: https://issues.apache.org/jira/browse/QPID-5451
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.26
Reporter: Gordon Sim
Assignee: Gordon Sim
 Fix For: 0.27


 The fix to QPID-5106 unintentionally left in some logging at too verbose a 
 level. This should be removed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-5697) An exchange is deleted by a request for topic removal

2014-04-15 Thread Ernest Allen (JIRA)

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

Ernest Allen updated QPID-5697:
---

Fix Version/s: (was: 0.22)
   0.28

 An exchange is deleted by a request for topic removal
 -

 Key: QPID-5697
 URL: https://issues.apache.org/jira/browse/QPID-5697
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.22
Reporter: Ernest Allen
 Fix For: 0.28

 Attachments: bz1082023.patch


 When a topic delete request is issued and the topic does not exist and there 
 is an exchange of that name, the exchange is deleted which is obviously not 
 intended. When the topic exists the topic is deleted first, see additional 
 info for more details.
 How reproducible:
 100%
 Steps to Reproduce:
 1. qpid-config add exchange fanout myExchange
 2. qpid-config del topic myExchange
 Exchange myExchange removed instead of 'Topic not found' exception



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-5703) Don't log Generated $file during cmake configure

2014-04-15 Thread Justin Ross (JIRA)
Justin Ross created QPID-5703:
-

 Summary: Don't log Generated $file during cmake configure
 Key: QPID-5703
 URL: https://issues.apache.org/jira/browse/QPID-5703
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Broker, C++ Client
Affects Versions: 0.29
Reporter: Justin Ross


The output of cmake $src_dir is important.  It tells the source tree user 
which dependencies are found and which are missing.  Putting many lines of 
Generated $file in the middle of that output (enough to scroll stuff off the 
screen) makes it much easier for folks to miss this crucial information.

I think it would do no harm to simply remove the statements about generation.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-5704) [AMQP 1.0] dangling reference to domain in InterconnectFactory

2014-04-15 Thread Gordon Sim (JIRA)
Gordon Sim created QPID-5704:


 Summary: [AMQP 1.0] dangling reference to domain in 
InterconnectFactory
 Key: QPID-5704
 URL: https://issues.apache.org/jira/browse/QPID-5704
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.26
Reporter: Gordon Sim
Assignee: Gordon Sim


If a domain is deleted while referred to be an InterconnectFactory, that 
reference will be invalid and if used will cause a segfault (e.g. if a pending 
link attempt fails).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org