test_floating_port_status_not_applicable failure

Bug #1644261 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

eg. http://logs.openstack.org/72/401272/2/check/gate-networking-midonet-python27-db-ubuntu-xenial/f3c69ef/testr_results.html.gz

ft38.9: midonet.neutron.tests.unit.test_midonet_plugin_v2.TestMidonetL3NatExtraRoute.test_floating_port_status_not_applicable_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
WARNING [oslo_policy.policy] Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference.
 WARNING [stevedore.named] Could not load midonet.neutron.plugin_v2.MidonetPluginV2
   ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
 WARNING [oslo_policy.policy] Policies ['update_rbac_policy:target_tenant'] are part of a cyclical reference.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 11d234d0-431c-47eb-b47a-59b038f29759: no agents available; will retry on subsequent port and subnet creation events.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 73db3646-a801-49a4-b957-eecddf75da9d: no agents available; will retry on subsequent port and subnet creation events.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 73db3646-a801-49a4-b957-eecddf75da9d: no agents available; will retry on subsequent port and subnet creation events.
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network 73db3646-a801-49a4-b957-eecddf75da9d: no agents available; will retry on subsequent port and subnet creation events.
}}}

Traceback (most recent call last):
  File "/tmp/openstack/neutron/neutron/tests/base.py", line 126, in func
    return f(self, *args, **kwargs)
  File "/tmp/openstack/neutron/neutron/tests/base.py", line 126, in func
    return f(self, *args, **kwargs)
  File "/tmp/openstack/neutron/neutron/tests/base.py", line 126, in func
    return f(self, *args, **kwargs)
  File "/tmp/openstack/neutron/neutron/tests/unit/extensions/test_l3.py", line 2081, in test_floating_port_status_not_applicable
    port_body['status'])
  File "/home/jenkins/workspace/gate-networking-midonet-python27-db-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/gate-networking-midonet-python27-db-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'N/A' != u'ACTIVE'

Tags: gate-failure
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 3.0.0
status: New → In Progress
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-midonet (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/401272
Reason: folded into https://review.openstack.org/#/c/398562/

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

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

commit b905f315e497f1ad3460e0d6dd2d32ce1451a699
Author: Armando Migliaccio <email address hidden>
Date: Wed Nov 16 11:56:18 2016 -0800

    Switch to using plugins directory in lieu of neutron manager

    The following changes were merged into this single commit
    to pass the gate.

    -------------------------------------

    Switch to using plugins directory in lieu of neutron manager

    Partially-implements: blueprint neutron-lib

    -------------------------------------

    L3: Add another GUARD_TRANSACTION

    Recently neutron removed GUARD_TRANSACTION for create_floaingip. [1]
    As we still have a surronding transaction, we need to tweak
    GUARD_TRANSACTION by ourselves.

    [1] Ia4c34c6654a5bfb64fbf06b11b0a29b018c6854f

    Closes-Bug: #1644236

    -------------------------------------

    update_port: Don't update N/A status

    update_port for floating-ip port is introduced by recent
    Neutron change. [2] Our automatic update of status field
    is not appropriate for floating-ip ports, where it's supposed
    to be N/A.

    [2] Ia4c34c6654a5bfb64fbf06b11b0a29b018c6854f

    Closes-Bug: #1644261

    -------------------------------------

    Skip test_list_firewalls_with_filtering

    This test has been merged recently. [3]
    It fails because it expects a newly created firewall is
    PENDING_CREATE, while our plugin set it to ACTIVE
    synchronously. Skip the test for now to unbreak the gate.
    REVISIT(yamamoto): Probably it's better to tweak the test,
    and/or mock our plugin to make it pass.

    [3] I5bcd148de524af802f01e4e5444a6e605318954f

    Closes-Bug: #1644500

    -------------------------------------

    Co-Authored-By: YAMAMOTO Takashi <email address hidden>
    Change-Id: I418a777463eb896ee6e19fe4d662943cc9772bf0

Changed in networking-midonet:
status: In Progress → Fix Released
Changed in networking-midonet:
milestone: 3.0.0 → 4.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 4.0.0

This issue was fixed in the openstack/networking-midonet 4.0.0 release.

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.