test_port_security_macspoofing_port failure

Bug #1521185 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
High
YAMAMOTO Takashi
tempest
Fix Released
Undecided
YAMAMOTO Takashi

Bug Description

http://logs.openstack.org/95/251295/1/check/gate-tempest-dsvm-networking-midonet-v2/238331d/logs/testr_results.html.gz

Traceback (most recent call last):
  File "tempest/test.py", line 172, in wrapper
    return func(*func_args, **func_kwargs)
  File "tempest/test.py", line 127, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/scenario/test_network_basic_ops.py", line 760, in test_port_security_macspoofing_port
    self.check_public_network_connectivity(should_connect=False)
  File "tempest/scenario/test_network_basic_ops.py", line 208, in check_public_network_connectivity
    self.check_floating_ip_status(floating_ip, floatingip_status)
  File "tempest/scenario/manager.py", line 840, in check_floating_ip_status
    st=status))
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'DOWN' != u'ACTIVE': FloatingIP: <"FloatingIP" addr="172.24.5.164" id="55bd8c41-71d4-49f2-a862-6b54dfd418b2"> is at status: ACTIVE. failed to reach status: DOWN

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

seems like a bug in the test.

Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Low
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
Yair Fried (yfried) wrote :

That's a bug in the test.
It's supposed to verify connection is successful. No idea how it passed the gate

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

mark it confirmed for easier tracking on midonet side

Changed in networking-midonet:
milestone: none → 2.0.0
status: Invalid → Confirmed
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

make importance high as this is a gate problem

Changed in networking-midonet:
importance: Low → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/254542
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=45b6caf5db633a5cf74e5ff076a2219bb83d454f
Submitter: Jenkins
Branch: master

commit 45b6caf5db633a5cf74e5ff076a2219bb83d454f
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Dec 8 13:41:28 2015 +0900

    devstackgaterc: Skip a few known broken test cases

    To avoid hiding other problems.

    Related-Bug: #1513312
    Related-Bug: #1521185
    Change-Id: I02ed929f80a0985d9af899f560ec3032dcfaa7f0

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

Reviewed: https://review.openstack.org/251389
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=c368dde1dc33c6d6469b8c731051442726756a20
Submitter: Jenkins
Branch: master

commit c368dde1dc33c6d6469b8c731051442726756a20
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Nov 30 23:04:14 2015 +0900

    test_port_security_macspoofing_port: Fix an inversed check

    As create_floating_ip() associates the fip to a server,
    the status of the fip will get ACTIVE sooner or later.

    For the Neutron reference implementation, the current test
    which ensures the fip DOWN succeeds only when it happens
    to run faster than L3 agent. In case of MidoNet, the test
    always fail as the fip gets ACTIVE synchronously.

    Closes-Bug: #1521185
    Change-Id: Ie6d4f5428dccdf4c83a647361cdae0c739fae394

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (stable/liberty)

Related fix proposed to branch: stable/liberty
Review: https://review.openstack.org/281698

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (stable/liberty)

Reviewed: https://review.openstack.org/281698
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=e5a8cdf3eb54bbff2fd66031f61b97e1372ef102
Submitter: Jenkins
Branch: stable/liberty

commit e5a8cdf3eb54bbff2fd66031f61b97e1372ef102
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Dec 8 13:41:28 2015 +0900

    devstackgaterc: Skip a few known broken test cases

    To avoid hiding other problems.

    Related-Bug: #1513312
    Related-Bug: #1521185
    Change-Id: I02ed929f80a0985d9af899f560ec3032dcfaa7f0
    (cherry picked from commit 45b6caf5db633a5cf74e5ff076a2219bb83d454f)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-midonet (master)

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

Changed in networking-midonet:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/320763
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=7bee02d33811a8f2aaacc774e2a76131b58ee3a7
Submitter: Jenkins
Branch: master

commit 7bee02d33811a8f2aaacc774e2a76131b58ee3a7
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed May 25 12:30:07 2016 +0900

    Enable test_port_security_macspoofing_port

    The issue was fixed in tempest recently.

    Closes-Bug: #1521185
    Change-Id: I30060e138d3f854ecf77adb283dcd6548005e573

Changed in networking-midonet:
status: In Progress → Fix Released
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.