Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 909829

Summary: qpid-receive does not commit ready address message
Product: Red Hat Enterprise MRG Reporter: Pavel Moravec <pmoravec>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED ERRATA QA Contact: Leonid Zhaldybin <lzhaldyb>
Severity: low Docs Contact:
Priority: medium    
Version: 2.2CC: esammons, jross, lzhaldyb
Target Milestone: 3.0Keywords: EasyFix, Patch, TestCaseProvided
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 15:06:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Trivial patch none

Description Pavel Moravec 2013-02-11 09:21:00 UTC
Description of problem:
Running qpid-benchmark with --receive-arg=--tx=10 option leads to timeout (see below for details). The reason is that qpid-receive does not commit its session after sending a message to ready address (see --ready-address option).


Version-Release number of selected component (if applicable):
Any (also in upstream qpid 0.20)


How reproducible:
100%


Steps to Reproduce:
./qpid-benchmark --receive-arg=--tx=10

  
Actual results:
Traceback (most recent call last):
  File "./qpid-benchmark", line 330, in <module>
    if __name__ == "__main__": main()
  File "./qpid-benchmark", line 316, in main
    ready_receiver.wait(filter(None, receivers)) # Wait for receivers to be ready.
  File "./qpid-benchmark", line 269, in wait
    raise Exception("Timed out waiting for receivers to be ready")
Exception: Timed out waiting for receivers to be ready


Expected results:
No exception, proper run.


Additional info:
Patch proposed.

Comment 1 Pavel Moravec 2013-02-11 09:22:47 UTC
Created attachment 695977 [details]
Trivial patch

Comment 2 Pavel Moravec 2013-03-12 17:44:27 UTC
Gordon Sim resolved QPID-4576 in qpid 0.21 (Patch applied as http://svn.apache.org/viewvc?view=revision&revision=1455549).

Comment 6 Leonid Zhaldybin 2013-12-16 14:46:03 UTC
Tested on RHEL6.5 (both i386 and x86_64). This issue has been fixed.

Packages used for testing:

python-qpid-0.22-8.el6
python-qpid-qmf-0.22-24.el6
qpid-cpp-client-0.22-29.el6
qpid-cpp-client-devel-0.22-29.el6
qpid-cpp-client-devel-docs-0.22-29.el6
qpid-cpp-client-ssl-0.22-29.el6
qpid-cpp-server-0.22-29.el6
qpid-cpp-server-devel-0.22-29.el6
qpid-cpp-server-ha-0.22-29.el6
qpid-cpp-server-ssl-0.22-29.el6
qpid-cpp-server-store-0.22-29.el6
qpid-cpp-server-xml-0.22-29.el6
qpid-java-client-0.22-5.el6
qpid-java-common-0.22-5.el6
qpid-java-example-0.22-5.el6
qpid-jca-0.22-1.el6
qpid-jca-xarecovery-0.22-1.el6
qpid-proton-c-0.5-9.el6
qpid-qmf-0.22-24.el6
qpid-tools-0.22-7.el6

-> VERIFIED

Comment 7 errata-xmlrpc 2014-09-24 15:06:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html