← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1940224] Re: UT neutron.tests.unit.services.ovn_l3.test_plugin.OVNL3ExtrarouteTests failing with neutron-lib from master

 

Reviewed:  https://review.opendev.org/c/openstack/neutron-lib/+/804894
Committed: https://opendev.org/openstack/neutron-lib/commit/c6f576e66b577b9929f080f1ffd83cd3783794a4
Submitter: "Zuul (22348)"
Branch:    master

commit c6f576e66b577b9929f080f1ffd83cd3783794a4
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Aug 17 16:39:38 2021 +0000

    Use explicit "dict_or_nodata" validation for "external_gateway_info"
    
    That API definition will be used during the policy check to create the
    needed rule for each internal GW info element, specifically with the
    external network fixed IPs. Only the owner of the external network or
    the administrator can create fixed IPs on the external network.
    
    Change-Id: Ia70485ed7713436dd6433ed39ae721500dbed7dd
    Closes-Bug: #1940224


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  UT neutron.tests.unit.services.ovn_l3.test_plugin.OVNL3ExtrarouteTests
  failing with neutron-lib from master

Status in neutron:
  Fix Released

Bug description:
  Since 13.08.2021 one of our UT
  neutron.tests.unit.services.ovn_l3.test_plugin.OVNL3ExtrarouteTests.test_router_create_with_gwinfo_ext_ip_non_admin
  is failing with neutron-lib from master.

  Failure example:
  https://5095d1cf5e3173e1d222-5acdef5dc10478cee5291df1596ec66a.ssl.cf5.rackcdn.com/periodic/opendev.org/openstack/neutron/master/openstack-
  tox-py36-with-neutron-lib-master/292883e/testr_results.html

  Stacktrace:

  ft1.182: neutron.tests.unit.services.ovn_l3.test_plugin.OVNL3ExtrarouteTests.test_router_create_with_gwinfo_ext_ip_non_admintesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/unit/extensions/test_l3.py", line 749, in test_router_create_with_gwinfo_ext_ip_non_admin
      self.assertEqual(exc.HTTPForbidden.code, res.status_int)
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 393, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/zuul/src/opendev.org/openstack/neutron/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 480, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 403 != 201

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



References