← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1690598] [NEW] test_filtering_shared_subnets tempest test case fails with segments extension enabled

 

Public bug reported:

neutron.tests.tempest.api.admin.test_shared_network_extension.SharedNetworksTest.test_filtering_shared_subnets
creates a subnet in a private network using a non admin client and a
subnet in a shared network using an admin client. It then uses those two
clients to list and filter shared and non-shared subnets and executes
assertions on the results depending on whether the previously created
subnets are expected to be found or not. When this is done with the
'segments' extension enabled, some of these assertions fail, because the
'segment_id' attribute is returned in subnets listed with an admin
client but not in subnets listed with a non admin client. This can be
seen in the following Jenkins failure, triggered by patchset
https://review.openstack.org/#/c/459439/ that enables the segments
extension in the gate: http://paste.openstack.org/show/609502/

** Affects: neutron
     Importance: Undecided
     Assignee: Miguel Lavalle (minsel)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Miguel Lavalle (minsel)

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

Title:
  test_filtering_shared_subnets tempest test case fails with segments
  extension enabled

Status in neutron:
  New

Bug description:
  neutron.tests.tempest.api.admin.test_shared_network_extension.SharedNetworksTest.test_filtering_shared_subnets
  creates a subnet in a private network using a non admin client and a
  subnet in a shared network using an admin client. It then uses those
  two clients to list and filter shared and non-shared subnets and
  executes assertions on the results depending on whether the previously
  created subnets are expected to be found or not. When this is done
  with the 'segments' extension enabled, some of these assertions fail,
  because the 'segment_id' attribute is returned in subnets listed with
  an admin client but not in subnets listed with a non admin client.
  This can be seen in the following Jenkins failure, triggered by
  patchset https://review.openstack.org/#/c/459439/ that enables the
  segments extension in the gate:
  http://paste.openstack.org/show/609502/

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


Follow ups