Bug 1460001 - neutron-lbaas scenario tests fail because python-testscenarios not being pulled by neutron-lbaas tests subpackage
Summary: neutron-lbaas scenario tests fail because python-testscenarios not being pull...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron-lbaas
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Upstream M2
: 12.0 (Pike)
Assignee: Nir Magnezi
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On: 1470032
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-08 19:23 UTC by Arie Bregman
Modified: 2019-09-10 14:07 UTC (History)
5 users (show)

Fixed In Version: openstack-neutron-lbaas-11.0.0-0.20170706121958.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:31:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 7145 0 None None None 2017-06-20 11:11:44 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Arie Bregman 2017-06-08 19:23:01 UTC
Description of problem:

The following neutron-lbaas tests are using testscenarios python module:

neutron_lbaas/tests/tempest/v2/ddt/test_listeners_admin_state.py

But python-neutron-lbaas-tests is not installing testscenarios RPM (or any other RPM! only python-neutron-lbasas) hence the tests are failing


Version-Release number of selected component (if applicable): python-neutron-lbaas-tests-10.0.0-8.el7ost.noarch


How reproducible: 100%


Steps to Reproduce:
1. Install python-neutron-lbaas-tests
2. Run tests

Actual results:

---
Failed to import test module: neutron_lbaas.tests.tempest.v2.ddt.test_health_monitor_admin_state_up\nTraceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 445, in _find_test_path\n    module = self._get_module_from_name(name)\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 384, in _get_module_from_name\n    __import__(name)\n  File \"/usr/lib/python2.7/site-packages/neutron_lbaas/tests/tempest/v2/ddt/test_health_monitor_admin_state_up.py\", line 17, in <module>\n    import testscenarios\nImportError: No module named testscenarios\n\nFailed to import test module: neutron_lbaas.tests.tempest.v2.ddt.test_listeners_admin_state\nTraceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 445, in _find_test_path\n    module = self._get_module_from_name(name)\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 384, in _get_module_from_name\n    __import__(name)\n  File \"/usr/lib/python2.7/site-packages/neutron_lbaas/tests/tempest/v2/ddt/test_listeners_admin_state.py\", line 16, in <module>\n    import testscenarios\nImportError: No module named testscenarios\n\nFailed to import test module: neutron_lbaas.tests.tempest.v2.ddt.test_members_admin_state_up\nTraceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 445, in _find_test_path\n    module = self._get_module_from_name(name)\n  File \"/usr/lib/python2.7/site-packages/unittest2/loader.py\", line 384, in _get_module_from_name\n    __import__(name)\n  File \"/usr/lib/python2.7/site-packages/neutron_lbaas/tests/tempest/v2/ddt/test_members_admin_state_up.py\", line 16, in <module>
---


Expected results: Tests passed successfully

Comment 2 Nir Magnezi 2017-07-05 09:05:14 UTC
https://review.rdoproject.org/r/#/c/7145/ got merged to RDO.
Waiting for the next RDO import for this change to be part of the OSP package.

Comment 7 errata-xmlrpc 2017-12-13 21:31:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462


Note You need to log in before you can comment on or make changes to this bug.