Problematic type casting between int/long?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
cinder (Ubuntu) |
Fix Released
|
High
|
James Page | ||
python2.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We're seeing this error with the new kilo-3 milestone:
=======
FAIL: cinder.
cinder.
-------
_StringException: Traceback (most recent call last):
File "/build/
dev = self._test_
File "/usr/lib/
return func(*args, **keywargs)
File "/build/
dev = utils.get_
File "/build/
return get_blkdev_
File "/build/
return '%d:%d' % (os.major(
SystemError: ../Objects/
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/build/
dev = self._test_
File "/usr/lib/
return func(*args, **keywargs)
File "/build/
dev = utils.get_
File "/build/
return get_blkdev_
File "/build/
return '%d:%d' % (os.major(
SystemError: ../Objects/
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/build/
dev = self._test_
File "/usr/lib/
return func(*args, **keywargs)
File "/build/
dev = utils.get_
File "/build/
return get_blkdev_
File "/build/
return '%d:%d' % (os.major(
SystemError: ../Objects/
This is evidently not impacting cinder on 14.04, just 15.04 so I would suspect some sort of python 2.7.9 issue.
Casting to long appears to workaround this problem.
Changed in cinder (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
Changed in python: | |
status: | Unknown → New |
Changed in python: | |
status: | New → Fix Released |
This bug was fixed in the package cinder - 1:2015. 1~b3-0ubuntu1
--------------- 1~b3-0ubuntu1) vivid; urgency=medium
cinder (1:2015.
[ James Page ]
* d/pydist-overrides: Add overrides for oslo packages.
[ Corey Bryant ] huaweistorac- delete- snapshot- success- test.patch: Dropped.
* New upstream milestone release for OpenStack Kilo:
- d/control: Align with upstream dependencies.
- d/p/skip-
Patched test has been removed.
[ James Page ] testresources. long-casting. patch: Workaround some problematic type casting between assert- raises- regex-tests. patch: Patchup incorrect usage of egex{p} in unit tests.
* d/control: Add missing BD on python-
* d/p/fix-
int/long (LP: #1435242).
* d/p/fix-
assertUsesR
-- James Page <email address hidden> Mon, 30 Mar 2015 11:07:20 +0100