Breakage in py27/34 tests (again)

Bug #1546138 reported by Paul Michali on 2016-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Undecided
Carol Bouchard

Bug Description

Tests are breaking again. Narrowed down the breakage to commit introduced in Neutron (63fe3a418c685ca90077f1dd4c35fd9ccf586fca) - indicated by review https://review.openstack.org/#/c/162260/, which is fixing bug #1399249.

Paul Michali (pcm) wrote :
Download full text (5.6 KiB)

Here is the test failure seen:

ft71.90: networking_cisco.tests.unit.ml2.drivers.cisco.nexus.test_cisco_mech.TestCiscoPortsV2.test_nexus_vxlan_bind_port_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
WARNING [neutron.agent.securitygroups_rpc] Driver configuration doesn't match with enable_security_group
 WARNING [neutron.api.extensions] Extension auto-allocated-topology not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension bgp not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension bgp_dragent_scheduler not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dvr not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension flavors not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3-ha not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3_agent_scheduler not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension qos not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router_availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension service-type not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension vlan-transparent not supported by any of loaded plugins
   ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
 WARNING [neutron.quota.resource_registry] subnet is already registered
 WARNING [neutron.quota.resource_registry] subnetpool is already registered
 WARNING [neutron.quota.resource_registry] network is already registered
 WARNING [neutron.quota.resource_registry] port is already registered
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api] Unable to schedule network ef607857-766a-44a6-a21c-de3b5817243c: 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 ef607857-766a-44a6-a21c-de3b5817243c: no agents available; will retry on subsequent port and subnet creation events.
   ERROR [neutron.plugins.ml2.managers] Failed to bind port 4a63c58f-0e9b-4252-ae3d-4c59440b0aff on host testhost
   ERROR [neutron.plugins.ml2.managers] Failed to bind port 4a63c58f-0e9b-4252-ae3d-4c59440b0aff on host testhost
   ERROR [neutron.plugins.ml2.managers] Failed to bind port 4a63c58f-0e9b-4252-ae3d-4c59440b0aff on host testhost
   ERROR [neutron.plugins.ml2.managers] Failed...

Read more...

Changed in networking-cisco:
assignee: nobody → Carol Bouchard (caboucha)

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

Changed in networking-cisco:
status: New → In Progress

Reviewed: https://review.openstack.org/280818
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=8225693012ea2ea23ff49c011f9b87b73867ff6d
Submitter: Jenkins
Branch: master

commit 8225693012ea2ea23ff49c011f9b87b73867ff6d
Author: Carol Bouchard <email address hidden>
Date: Tue Feb 16 11:54:18 2016 -0500

    Retries cause Nexus bind_port failure

    The test test_nexus_vxlan_bind_port() is now failing because neutron
    now does retries on bind failures where previously it didn't. This
    test has always failed in neutron _bind_port_level() during unit test
    because context._new_bound_segment is None. It fails on error
    'Failed to bind port xxx on host yyy'.

    To open up the gates, this test will be skipped until a better
    solution is determined. This a partial fix for 1546138.

    Change-Id: I7f94bf62710af51291f36a23c3ff0ea4feb52591
    Partial-Bug: #1546138

Reviewed: https://review.openstack.org/290708
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=61937780c7586d22f0a1708afe996ee62fac0de8
Submitter: Jenkins
Branch: stable/liberty

commit 61937780c7586d22f0a1708afe996ee62fac0de8
Author: Paul Michali <email address hidden>
Date: Wed Mar 9 10:33:56 2016 -0500

    Use public method execute() for client extension

    This fixes breakage on Liberty, due to updated neutronclient.

    The client extension was using take_action(), which is really a
    private method (and caused problems recently, when it changed from
    get_data to take_action).

    Instead, this commit uses execute(), which is the public method for
    client extension purposes. This will prevent issues from occurring,
    if/when the neutronclient changes.

    Cherry-pick of I48ef59f10e741aa95a1f75e569ff9660e3ec5819 to Liberty.
    Had to manually perform, because, on Liberty, the method used is
    get_data() and not take_action().

    Also, needed to cherry-pick I7f94bf62710af51291f36a23c3ff0ea4feb52591
    so that tests pass.

    Change-Id: I2c3daba7a72a5d81774e58e62bc962494c1342f5
    Closes-Bug: #1554717
    Partial-Bug: #1546138

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

Other bug subscribers