Bug 1529937
| Summary: | tests fail due to missing test_utils module | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Arie Bregman <abregman> | |
| Component: | openstack-tempest | Assignee: | Chandan Kumar <chkumar> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.0 (Mitaka) | CC: | abregman, apevec, ccollett, chkumar, jschluet, lhh, slinaber | |
| Target Milestone: | zstream | Keywords: | Triaged, ZStream | |
| Target Release: | 9.0 (Mitaka) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tempest-10.0.0-7.b4a056dgit.el7ost | Doc Type: | If docs needed, set a value | |
| Doc Text: |
undefined
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1548490 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-15 12:45:24 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1526098, 1548490 | |||
Hello Arie, Here is the attached scratch-build containing the fixes: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15001358 Here is the rpm link: http://download.eng.bos.redhat.com/brewroot/work/tasks/1358/15001358/openstack-tempest-10.0.0-7.b4a056dgit.el7ost.noarch.rpm Please test it and confirm so that I can do the final build. Here is the tagged build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=646388. openstack-tempest-10.0.0-7.b4a056dgit.el7ost package contains the fix for the ImportError mentioned above -> VERIFIED. Note: neutron-lbaas package's version needs to be 8.4.0-3 or higher, because of the bug [1]. Tested on deployment: RHOS9 core_puddle=2017-10-26.2 undercloud:1,controller:1,compute:1 ipv4, vxlan [root@undercloud-0 ~]# rpm -qa | grep neutron-lbaas python-neutron-lbaas-8.4.0-3.el7ost.noarch python-neutron-lbaas-tests-8.4.0-3.el7ost.noarch openstack-neutron-lbaas-8.4.0-3.el7ost.noarch [1] https://bugzilla.redhat.com/show_bug.cgi?id=1526098 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/RHBA-2018:0540 |
Description of problem: Neutron-lbaas OSP 9 tests are failing due to the following missing file 'tempest/lib/common/utils/test_utils.py' Looks like it should be backported from OSP 10 Version-Release number of selected component (if applicable): Latest OSP 9 How reproducible: 100% Steps to Reproduce: 1. Execute neutron-lbaas OSP 9 tests Actual results: Failed to import test module: neutron_lbaas.tests.tempest.v2.scenario.test_session_persistence Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 445, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 384, in _get_module_from_name __import__(name) File "/usr/lib/python2.7/site-packages/neutron_lbaas/tests/tempest/v2/scenario/test_session_persistence.py", line 18, in <module> from neutron_lbaas.tests.tempest.v2.scenario import base File "/usr/lib/python2.7/site-packages/neutron_lbaas/tests/tempest/v2/scenario/base.py", line 31, in <module> from tempest.lib.common.utils import test_utils ImportError: cannot import name test_utils Expected results: Tests passed successfully