yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03049
[Bug 1050359] Re: Tests fail on 32bit machines (_get_hash_str is platform dependent)
** Changed in: cinder/folsom
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1050359
Title:
Tests fail on 32bit machines (_get_hash_str is platform dependent)
Status in Cinder:
Fix Released
Status in Cinder folsom series:
Won't Fix
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) folsom series:
Fix Released
Status in “nova” package in Ubuntu:
Fix Released
Status in “nova” source package in Quantal:
Fix Released
Bug description:
Running the nova tests, 3 tests failed on my system, due to the fact,
that My machine is running a 32 bit operating system:
======================================================================
FAIL: _get_hash_str should calculation correct value
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matel/nova/nova/tests/test_nfs.py", line 216, in test_get_hash_str
drv._get_hash_str(self.TEST_NFS_EXPORT1))
AssertionError: '12118957640568004265' != '18446744073140166313'
"'12118957640568004265' != '18446744073140166313'" = '%s != %s' % (safe_repr('12118957640568004265'), safe_repr('18446744073140166313'))
"'12118957640568004265' != '18446744073140166313'" = self._formatMessage("'12118957640568004265' != '18446744073140166313'", "'12118957640568004265' != '18446744073140166313'")
>> raise self.failureException("'12118957640568004265' != '18446744073140166313'")
======================================================================
FAIL: _get_mount_point_for_share should calculate correct value
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matel/nova/nova/tests/test_nfs.py", line 225, in test_get_mount_point_for_share
drv._get_mount_point_for_share(self.TEST_NFS_EXPORT1))
AssertionError: '/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'
"'/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'" = '%s != %s' % (safe_repr('/mnt/test/12118957640568004265'), safe_repr('/mnt/test/18446744073140166313'))
"'/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'" = self._formatMessage("'/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'", "'/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'")
>> raise self.failureException("'/mnt/test/12118957640568004265' != '/mnt/test/18446744073140166313'")
======================================================================
FAIL: local_path common use case
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matel/nova/nova/tests/test_nfs.py", line 113, in test_local_path
drv.local_path(volume))
AssertionError: '/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'
"'/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'" = '%s != %s' % (safe_repr('/mnt/test/12118957640568004265/volume-123'), safe_repr('/mnt/test/18446744073140166313/volume-123'))
"'/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'" = self._formatMessage("'/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'", "'/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'")
>> raise self.failureException("'/mnt/test/12118957640568004265/volume-123' != '/mnt/test/18446744073140166313/volume-123'")
----------------------------------------------------------------------
See my inline comments here:
https://github.com/openstack/nova/commit/772c5d47d5bdffcd4ff8e09f4116d22568bf6eb9#L3R215
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1050359/+subscriptions