Bug 473122 - txtest 'extra ids' failures in qpid_test_transaction integrity test part B
Summary: txtest 'extra ids' failures in qpid_test_transaction integrity test part B
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: 1.1
: ---
Assignee: Kim van der Riet
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-26 16:20 UTC by Frantisek Reznicek
Modified: 2015-11-16 00:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-04 15:37:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:0035 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 1.1 Release 2009-02-04 15:33:44 UTC

Comment 2 Kim van der Riet 2008-11-26 16:39:11 UTC
Part B tests recover and continue using the journal from the previous run. Only dtx tests fail in this manner.

Examination of the journal instances leading up to the failure shows that txtest uses a sequence of xids starting at 1 and incrementing. However, part B tests are fairly short-lived, and only add a few records to the journal. That means that during recovery (which start by looking at the oldest files and progressing to the newer ones) may stumble upon dtx transactions from older tests which happen to use the same xid as that of in-doubt transactions in the last test being recovered. This can cause the incorrect records to be enqueued/dequeued as part of the recovered transaction and may result in either a shortfall or excess of records at the end of the test.

This is a problem in txtest itself; the fix is to change the xids to be random rather than sequential.

Comment 3 Kim van der Riet 2008-11-26 16:42:50 UTC
txtest was fixed in r.720910.

txtest now uses the 36-char string representation of UUIDs for xids.

QA: Repeat testing for part B and check for failures.

Comment 5 Frantisek Reznicek 2008-12-04 09:21:24 UTC
Validated that issue has been fixed (7 runs), validated on RHEL 4.7 / 5.2, i386 / x86_64 on packages:qpidd-0.3.722122-2.el5, rhm-0.3.2898-1.el5.

->VERIFIED

Comment 7 errata-xmlrpc 2009-02-04 15:37:36 UTC
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/RHEA-2009-0035.html


Note You need to log in before you can comment on or make changes to this bug.