yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39509
[Bug 1501703] [NEW] unit test failures on 32 bit architectures
Public bug reported:
Test all pass fine in Ubuntu on 64 bit archs, however on a 32 bit
architecture (which is how we build packages in 14.04), two unit tests
fail - this is a int/long type problem.
======================================================================
FAIL: neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark
neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 633, in test__make_canonical_fwmark
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 633, in test__make_canonical_fwmark
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
======================================================================
FAIL: neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark_integer
neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark_integer
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 642, in test__make_canonical_fwmark_integer
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 642, in test__make_canonical_fwmark_integer
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1501703
Title:
unit test failures on 32 bit architectures
Status in neutron:
New
Bug description:
Test all pass fine in Ubuntu on 64 bit archs, however on a 32 bit
architecture (which is how we build packages in 14.04), two unit tests
fail - this is a int/long type problem.
======================================================================
FAIL: neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark
neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 633, in test__make_canonical_fwmark
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 633, in test__make_canonical_fwmark
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
======================================================================
FAIL: neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark_integer
neutron.tests.unit.agent.linux.test_ip_lib.TestIpRuleCommand.test__make_canonical_fwmark_integer
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 642, in test__make_canonical_fwmark_integer
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
Traceback (most recent call last):
_StringException: Empty attachments:
pythonlogging:''
pythonlogging:'neutron.api.extensions'
stderr
stdout
Traceback (most recent call last):
File "/«PKGBUILDDIR»/neutron/tests/unit/agent/linux/test_ip_lib.py", line 642, in test__make_canonical_fwmark_integer
'type': 'unicast'}, actual)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 348, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: !=:
reference = {'fwmark': '0x400/0xffffffff', 'type': 'unicast'}
actual = {'fwmark': '0x400/0xffffffffL', 'type': 'unicast'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1501703/+subscriptions
Follow ups