← Back to team overview

yahoo-eng-team team mailing list archive

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

 

This bug was fixed in the package neutron - 2:7.0.0~rc1-0ubuntu4

---------------
neutron (2:7.0.0~rc1-0ubuntu4) wily; urgency=medium

  * Drop hard requirement on python-ryu for this cycle as it supports
    a new alternative agent implementation for Open vSwitch and is not
    the default, avoiding inclusion of ryu in main for Wily.
    - d/control: Drop (Build-)Depends on ryu, add Suggests.
    - d/p/drop-ryu-dep.patch: Patch out hard requirement on ryu.

 -- James Page <james.page@xxxxxxxxxx>  Fri, 02 Oct 2015 18:10:49 +0100

** Changed in: neutron (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  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


References