test_router_update_gateway_upon_subnet_create_max_ips_ipv6 failure on py34/py35

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

Bug Description

test_router_update_gateway_upon_subnet_create_max_ips_ipv6 failure on py34/py35 job.
i haven't seen it for py27.

eg. http://logs.openstack.org/49/358549/1/check/gate-networking-midonet-python34-db/a087013/testr_results.html.gz

ft21.138: midonet.neutron.tests.unit.test_midonet_plugin.TestMidonetL3NatDBIntTest.test_router_update_gateway_upon_subnet_create_max_ips_ipv6_StringException: Empty attachments:
  stdout

pythonlogging:'': {{{
WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
 WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
}}}

stderr: {{{
/tmp/openstack/neutron/neutron/common/config.py:53: DeprecationWarning: Using the 'sqlite_db' argument is deprecated: Config option sqlite_db is deprecated for removal,please use option `connection`.
  max_overflow=20, pool_timeout=10)
/home/jenkins/workspace/gate-networking-midonet-python34-db/.tox/py34/lib/python3.4/site-packages/oslo_db/sqlalchemy/enginefacade.py:259: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
  self._legacy_facade = LegacyEngineFacade(None, _factory=self)
/home/jenkins/workspace/gate-networking-midonet-python34-db/midonet/neutron/plugin_v1.py:634: DeprecationWarning: Using function/method 'subscribe()' is deprecated: This will be removed in the P cycle. Subscriptions are now registered during object creation.
  l3_db.subscribe()
/home/jenkins/workspace/gate-networking-midonet-python34-db/midonet/neutron/extensions/routerinterfacefip.py:22: DeprecationWarning: InUse: moved to neutron_lib.exceptions
  class RouterInterfaceInUseAsGatewayByFloatingIP(n_exc.InUse):
/home/jenkins/workspace/gate-networking-midonet-python34-db/.tox/py34/lib/python3.4/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
  return pkg_resources.EntryPoint.parse("x=" + s).load(False)
/tmp/openstack/neutron/neutron/tests/unit/extensions/test_l3.py:935: DeprecationWarning: IPV6_SLAAC: moved to neutron_lib.constants
  ipv6_ra_mode=n_const.IPV6_SLAAC,
/tmp/openstack/neutron/neutron/tests/unit/extensions/test_l3.py:936: DeprecationWarning: IPV6_SLAAC: moved to neutron_lib.constants
  ipv6_address_mode=n_const.IPV6_SLAAC))
}}}

Traceback (most recent call last):
  File "/tmp/openstack/neutron/neutron/tests/unit/extensions/test_l3.py", line 943, in test_router_update_gateway_upon_subnet_create_max_ips_ipv6
    self.assertIn(s3['subnet']['id'], fip_subnet_ids)
KeyError: 'subnet'

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

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

commit f87ef80acedd4a21b5ed9bf84ff9dfc36a1cd219
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Aug 22 19:37:17 2016 +0900

    test_migrations: Exclude FWaaS v2 tables

    Also, disable test_router_update_gateway_upon_subnet_create_max_ips_ipv6
    for py34 for now. (See Related-Bug)

    Closes-Bug: #1615572
    Related-Bug: #1616275
    Change-Id: I2522f5fbaff1f0c88010e5933daea34dac2ba302

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote : Re: test_router_update_gateway_upon_subnet_create_max_ips_ipv6 failure on py34
summary: test_router_update_gateway_upon_subnet_create_max_ips_ipv6 failure on
- py34
+ py34/py35
description: updated
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → High
milestone: none → 3.0.0
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

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

commit 08a8b675fbe663d5ce53938e5d6a240bd252cf44
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Aug 25 16:59:15 2016 +0900

    Skip test_router_update_gateway_upon_subnet_create_max_ips_ipv6

    And add a comment to explain why.

    Closes-Bug: #1616275
    Change-Id: I49d605bf89d34a95264e18cd4e529483c6312d95

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

This issue was fixed in the openstack/networking-midonet 3.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.