← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1890842] Re: API test test_create_port_without_propagate_uplink_status fails with neutron-lib 2.5.0

 

Reviewed:  https://review.opendev.org/745538
Committed: https://git.openstack.org/cgit/openstack/neutron-tempest-plugin/commit/?id=2466fa99685f970e40f84094d1600b1cf49bcf7d
Submitter: Zuul
Branch:    master

commit 2466fa99685f970e40f84094d1600b1cf49bcf7d
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Mon Aug 10 15:39:07 2020 +0200

    Remove propagate_uplink_status API related tests
    
    Due to the related bug we can't have test
    test_create_port_without_propagate_uplink_status in
    neutron-tempest-plugin repo anymore as this repo is branchless and we
    run tests from it against neutron master branch and against stable
    branches. Now default value of the "propagate_uplink_status" attribute
    was changed in master branch but not in stable branches so this test
    would fail always.
    
    Because of that those tests are now moved to be in fullstack - see [1]
    for details and we don't need them in neutron-tempest-plugin anymore so
    this patch is removing them from neutron-tempest-plugin.
    
    [1] https://review.opendev.org/#/c/745521/
    
    Change-Id: I79581da5b2cb3df6fa9407f1f06509513ac7f96d
    Closes-Bug: #1890842


** 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/1890842

Title:
  API test test_create_port_without_propagate_uplink_status fails with
  neutron-lib 2.5.0

Status in neutron:
  Fix Released

Bug description:
  neutron-lib 2.5.0 contains a change
  https://review.opendev.org/#/c/744208/ which changed default value of
  "propagate_uplink_status" from false to true and that is now causing
  failure of the related API test. See below:

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 108, in wrapper
      return func(*func_args, **func_kwargs)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/neutron_tempest_plugin/api/test_ports.py", line 155, in test_create_port_without_propagate_uplink_status
      self.assertFalse(body['propagate_uplink_status'])
    File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/unittest2/case.py", line 696, in assertFalse
      raise self.failureException(msg)
  AssertionError: True is not false

  Test logs:
  https://bd288d6333a0897d11d0-d734b7f9e01841154d136f70e6f8b512.ssl.cf5.rackcdn.com/745310/1/check
  /neutron-tempest-plugin-api/b3a35ec/testr_results.html

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


References