test_ipv6.TestIsEnabled.test_enabled failure

Bug #1363805 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
YAMAMOTO Takashi
Icehouse
New
Undecided
Unassigned

Bug Description

https://review.openstack.org/#/c/116826/ introduced UT failures on systems without the procfs entry.

======================================================================
FAIL: neutron.tests.unit.test_ipv6.TestIsEnabled.test_memoize
tags: worker-4
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

pythonlogging:'': {{{2014-09-01 15:53:08,028 INFO [neutron.common.ipv6_utils] IPv6 is not enabled on this system.}}}

Traceback (most recent call last):
  File "neutron/tests/unit/test_ipv6.py", line 77, in test_memoize
  File "/usr/pkg/lib/python2.7/unittest/case.py", line 422, in assertTrue
AssertionError: False is not true
======================================================================
FAIL: neutron.tests.unit.test_ipv6.TestIsEnabled.test_enabled
tags: worker-3
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

pythonlogging:'': {{{2014-09-01 15:53:08,041 INFO [neutron.common.ipv6_utils] IPv6 is not enabled on this system.}}}

Traceback (most recent call last):
  File "neutron/tests/unit/test_ipv6.py", line 66, in test_enabled
  File "/usr/pkg/lib/python2.7/unittest/case.py", line 422, in assertTrue
AssertionError: False is not true
======================================================================

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118075

Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
description: updated
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → juno-3
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/118075
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6f5f14872387f3814d3c421f07e68f6ce45f7d7d
Submitter: Jenkins
Branch: master

commit 6f5f14872387f3814d3c421f07e68f6ce45f7d7d
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Sep 1 13:39:12 2014 +0900

    Fix a recent ipv6 UT regression

    This fixes UT failures on systems without the procfs entry
    by adding appropriate mocking. The problem introduced by
    the following change:
        https://review.openstack.org/#/c/116826/
        commit 0c963f6140237d8d3f361c6aaa7d2a6b656504db

    Also, add a test for the case which the change in question fixed.

    Closes-Bug: #1363805
    Related-Bug: #1361542
    Change-Id: I72842c3446f3275e2288adc411540ab036025ed0

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/130450

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/130450
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=be67d6db0f053c3d87cc38439db0bd05948f4b85
Submitter: Jenkins
Branch: stable/icehouse

commit be67d6db0f053c3d87cc38439db0bd05948f4b85
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Sep 1 13:39:12 2014 +0900

    Fix a recent ipv6 UT regression

    This fixes UT failures on systems without the procfs entry
    by adding appropriate mocking. The problem introduced by
    the following change:
        https://review.openstack.org/#/c/116826/
        commit 0c963f6140237d8d3f361c6aaa7d2a6b656504db

    Also, add a test for the case which the change in question fixed.

    Closes-Bug: #1363805
    Related-Bug: #1361542
    Change-Id: I72842c3446f3275e2288adc411540ab036025ed0
    (cherry picked from commit 6f5f14872387f3814d3c421f07e68f6ce45f7d7d)

tags: added: in-stable-icehouse
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.