Bug 451830

Summary: python self test failure on python 2.3.4
Product: Red Hat Enterprise MRG Reporter: Rafael H. Schloming <rafaels>
Component: python-qpidAssignee: Rafael H. Schloming <rafaels>
Status: CLOSED UPSTREAM QA Contact: Kim van der Riet <kim.vdriet>
Severity: low Docs Contact:
Priority: low    
Version: betaCC: cctrieloff, tross
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-10 14:10:47 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:

Description Rafael H. Schloming 2008-06-17 17:39:12 UTC
The python self tests exhibit the following failure on RHEL-4, i386, (python 2.3.4):

======================================================================
ERROR: testMessageProperties (qpid.tests.spec010.SpecTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/qpid/tests/spec010.py", line 55, in
testMessageProperties
    dec = self.encdec(mp, props)
  File "/usr/lib/python2.3/site-packages/qpid/tests/spec010.py", line 44, in encdec
    type.encode(sc, value)
  File "/usr/lib/python2.3/site-packages/qpid/spec010.py", line 241, in encode
    self.encode_fields(sc, value)
  File "/usr/lib/python2.3/site-packages/qpid/spec010.py", line 256, in
encode_fields
    f.type.encode(codec, values[f.name])
  File "/usr/lib/python2.3/site-packages/qpid/spec010.py", line 147, in encode
    getattr(codec, "write_%s" % self.name)(value)
  File "/usr/lib/python2.3/site-packages/qpid/codec010.py", line 98, in write_uint64
    self.pack("!Q", n)
  File "/usr/lib/python2.3/site-packages/qpid/packer.py", line 36, in pack
    self.write(struct.pack(fmt, *args))
TypeError: can't convert negative long to unsigned

----------------------------------------------------------------------