[Bug 1501703] Re: unit test failures on 32 bit architectures

Thierry Carrez thierry.carrez+lp at gmail.com
Thu Oct 15 12:40:55 UTC 2015


** Changed in: neutron
    Milestone: liberty-rc2 => 7.0.0

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1501703

Title:
  unit test failures on 32 bit architectures

Status in neutron:
  Fix Released
Status in neutron package in Ubuntu:
  Fix Released

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



More information about the Ubuntu-openstack-bugs mailing list