Bug 489315
| Summary: | perftest shutdown seems to be not clean 'Error in shutdown: Connection closed' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Frantisek Reznicek <freznice> | ||||||
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 1.1 | CC: | esammons, gsim, jsarenik, mgoulish | ||||||
| Target Milestone: | 1.3 | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
A shutdown performed by "src/tests/perftest.cpp" closed a connection without checking whether it was still open. This produced the following error: "Error in shutdown: Connection closed". With this update, 'perftest' checks whether a connection is still open. If so, 'perftest' closes the connection and the session.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2010-10-14 15:57:15 UTC | Type: | --- | ||||||
| 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
Frantisek Reznicek
2009-03-09 13:22:01 UTC
Fixed by r752937. It would help if the current packages were built into the devel repo. Created attachment 390500 [details]
Test script used by bug reporter
After running the test script on current -candidate qpidd on RHEL5 (there are still no current qpidc builds for RHEL4) this is the content of perftest.log: ----- Processing 1 messages from perftest_sub_ready . done. Sending start 1 times to perftest_pub_start Processing 1 messages from perftest_pub_done .2010-02-12 15:52:28 warning Connection closed PublishThread exception: Connection closed 2010-02-12 15:52:28 warning Connection closed Controller exception: Connection closed 2010-02-12 15:52:29 warning Connection closed SubscribeThread exception: Connection closed ----- So there are no more lines containing shutdown errors. qpidc 0.7.908272-1.el5 both i686 and x86_64 I will test RHEL4 as soon as packages arrive in dist-4E-mrg-candidate repo. Created attachment 397857 [details]
Script
RHEL4 (i386, x86_64):
qpid-cpp-server-0.7.916826-2.el4
qpid-cpp-client-devel-0.7.916826-2.el4
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause:
Client dtor in src/tests/perftest.cpp closed connection without first making sure that it was still open.
Consequence:
'Error in shutdown: Connection closed' reported by perftest shutdown.
Fix:
Check that connection is still open. If so, close it and the session.
Result:
Fewer weird error messages when perftest is shut down.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,11 +1 @@
-Cause:
+A shutdown performed by "src/tests/perftest.cpp" closed a connection without checking whether it was still open. This produced the following error: "Error in shutdown: Connection closed". With this update, 'perftest' checks whether a connection is still open. If so, 'perftest' closes the connection and the session.- Client dtor in src/tests/perftest.cpp closed connection without first making sure that it was still open.
-
- Consequence:
- 'Error in shutdown: Connection closed' reported by perftest shutdown.
-
- Fix:
- Check that connection is still open. If so, close it and the session.
-
- Result:
- Fewer weird error messages when perftest is shut down.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0773.html |