← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1448245] [NEW] VPNaaS UTs broken in neutron/tests/unit/extensions/test_l3.py

 

Public bug reported:

Recently, VPNaaS repo UTs are failing in tests that inherit from Neutron
tests. The tests worked 4/22/2015 and are broken on 4/24/2015. Will try
to bisect to find change in Neutron that affects tests.

Example failure:

2015-04-24 06:40:39.838 | Captured pythonlogging:
2015-04-24 06:40:39.838 | ~~~~~~~~~~~~~~~~~~~~~~~
2015-04-24 06:40:39.838 |     2015-04-24 06:40:38,704    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
2015-04-24 06:40:39.838 |     
2015-04-24 06:40:39.838 | 
2015-04-24 06:40:39.838 | Captured traceback:
2015-04-24 06:40:39.838 | ~~~~~~~~~~~~~~~~~~~
2015-04-24 06:40:39.838 |     Traceback (most recent call last):
2015-04-24 06:40:39.838 |       File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 886, in test_delete_router_interface_in_use_by_vpnservice
2015-04-24 06:40:39.839 |         expected_code=webob.exc.
2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/src/neutron/neutron/tests/unit/extensions/test_l3.py", line 401, in _router_interface_action
2015-04-24 06:40:39.839 |         self.assertEqual(res.status_int, expected_code, msg)
2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
2015-04-24 06:40:39.839 |         self.assertThat(observed, matcher, message)
2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
2015-04-24 06:40:39.839 |         raise mismatch_error
2015-04-24 06:40:39.839 |     testtools.matchers._impl.MismatchError: 200 != 409
2015-04-24 06:40:39.839 |     
2015-04-24 06:40:39.839 | 
2015-04-24 06:40:39.839 | Captured pythonlogging:
2015-04-24 06:40:39.839 | ~~~~~~~~~~~~~~~~~~~~~~~
2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Loading core plugin: neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnCorePlugin
2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Loading Plugin: neutron_vpnaas.services.vpn.plugin.VPNPlugin
2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,704    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!

** Affects: neutron
     Importance: Undecided
     Assignee: Paul Michali (pcm)
         Status: In Progress


** Tags: vpnaas

** Changed in: neutron
     Assignee: (unassigned) => Paul Michali (pcm)

** Changed in: neutron
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1448245

Title:
  VPNaaS UTs broken in neutron/tests/unit/extensions/test_l3.py

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  Recently, VPNaaS repo UTs are failing in tests that inherit from
  Neutron tests. The tests worked 4/22/2015 and are broken on 4/24/2015.
  Will try to bisect to find change in Neutron that affects tests.

  Example failure:

  2015-04-24 06:40:39.838 | Captured pythonlogging:
  2015-04-24 06:40:39.838 | ~~~~~~~~~~~~~~~~~~~~~~~
  2015-04-24 06:40:39.838 |     2015-04-24 06:40:38,704    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
  2015-04-24 06:40:39.838 |     
  2015-04-24 06:40:39.838 | 
  2015-04-24 06:40:39.838 | Captured traceback:
  2015-04-24 06:40:39.838 | ~~~~~~~~~~~~~~~~~~~
  2015-04-24 06:40:39.838 |     Traceback (most recent call last):
  2015-04-24 06:40:39.838 |       File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 886, in test_delete_router_interface_in_use_by_vpnservice
  2015-04-24 06:40:39.839 |         expected_code=webob.exc.
  2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/src/neutron/neutron/tests/unit/extensions/test_l3.py", line 401, in _router_interface_action
  2015-04-24 06:40:39.839 |         self.assertEqual(res.status_int, expected_code, msg)
  2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
  2015-04-24 06:40:39.839 |         self.assertThat(observed, matcher, message)
  2015-04-24 06:40:39.839 |       File "/home/jenkins/workspace/gate-neutron-vpnaas-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
  2015-04-24 06:40:39.839 |         raise mismatch_error
  2015-04-24 06:40:39.839 |     testtools.matchers._impl.MismatchError: 200 != 409
  2015-04-24 06:40:39.839 |     
  2015-04-24 06:40:39.839 | 
  2015-04-24 06:40:39.839 | Captured pythonlogging:
  2015-04-24 06:40:39.839 | ~~~~~~~~~~~~~~~~~~~~~~~
  2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Loading core plugin: neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnCorePlugin
  2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,694     INFO [neutron.manager] Loading Plugin: neutron_vpnaas.services.vpn.plugin.VPNPlugin
  2015-04-24 06:40:39.840 |     2015-04-24 06:40:38,704    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1448245/+subscriptions


Follow ups

References