Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1460001 - neutron-lbaas scenario tests fail because python-testscenarios not being pulled by neutron-lbaas tests subpackage
neutron-lbaas scenario tests fail because python-testscenarios not being pull...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron-lbaas (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
urgent Severity urgent
: Upstream M2
: 12.0 (Pike)
Assigned To: Nir Magnezi
Alexander Stafeyev
: AutomationBlocker, Triaged, ZStream
Depends On: 1470032
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-08 15:23 EDT by Arie Bregman
Modified: 2018-02-05 14:07 EST (History)
6 users (show)

See Also:
Fixed In Version: openstack-neutron-lbaas-11.0.0-0.20170706121958.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 16:31:55 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
RDO 7145 None None None 2017-06-20 07:11 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Arie Bregman 2017-06-08 15:23:01 EDT
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 05:05:14 EDT
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 16:31:55 EST
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.