Hide Forgot
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
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.
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