Bug 1609361
| Summary: | Wrong dependency on python-gabbi | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dimitri Savineau <dsavinea> | |
| Component: | python-heat-tests-tempest | Assignee: | Rabi Mishra <ramishra> | |
| Status: | CLOSED ERRATA | QA Contact: | Arik Chernetsky <achernet> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 14.0 (Rocky) | CC: | bschmaus, dkhairnar | |
| Target Milestone: | beta | Keywords: | Triaged | |
| Target Release: | 14.0 (Rocky) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | python-heat-tests-tempest-0.1.1-0.20180731090314.1adf487.el7ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1613475 (view as bug list) | Environment: | ||
| Last Closed: | 2019-01-11 11:50:58 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: | 1613475 | |||
The bug is also present in the latest OSP13 puddle (2018-07-30.2). The python-heat-tests-tempest package has been rebase from 0.1.1-0.20180418163701 to python-heat-tests-tempest-0.1.1-0.20180514163843 which seems to include the commit mentioned. Should I clone this bug for OSP13 too ? Hi Rabi, I saw that python-gabbi has been bumped to 1.42.1 in the latest OSP14 puddles (since 2018-08-08.1) and I don't have the issue anymore. Setting status as verified based on comment #4 I have deployed testbed with RHOSP13 + NSXT2.3.0 for plugin certification:
While running testsuite, tescases are not getting loaded.
All below RPMs are present in system:
openstack-tempest
sos
python2-neutron-tests-tempest
python2-cinder-tests-tempest
python2-manila-tests-tempest
python2-sahara-tests-tempest
python2-tempestconf
python-neutron-lbaas-tests
rhosp-release
Getting failure while listing tests:
[root@overcloud-controller-0 new]# ostestr --list
=========================
Failures during discovery
=========================
--- import errors ---
Failed to call load_tests:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 136, in loadTestsFromModule
return load_tests(self, tests, pattern)
File "/usr/lib/python2.7/site-packages/heat_tempest_plugin/tests/api/test_heat_api.py", line 96, in load_tests
test_loader_name=__name__)
File "/usr/lib/python2.7/site-packages/gabbi/driver.py", line 76, in build_tests
raise AssertionError('must specify exactly one of host or intercept')
AssertionError: must specify exactly one of host or intercept
Gabbi version on system:
[root@overcloud-controller-0 new]# rpm -qa | grep gabbi
python-gabbi-1.33.0-1.el7ost.noarch
Tried to upgrade gabbi version to 1.42 but could not find right way to upgrade this package:
[root@overcloud-controller-0 new]# yum update python-gabbi
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No packages marked for update
Unable to update Gabbi version on system. Could you please help resolution of this issue.
Need to run testsuite for certification purpose.
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-2019:0045 |
Description of problem: Tempest fails to run and generates a python stack trace Version-Release number of selected component (if applicable): RH7-RHOS-14.0 2018-07-09.1 openstack-tempest-18.0.1-0.20180703070555.879e3b0.el7ost.noarch python2-heat-tests-tempest-0.1.1-0.20180614065755.9ca1fc2.el7ost.noarch python-gabbi-1.33.0-1.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy the overcloud 2. Configure/Run tempest Actual results: + ostestr --regex '(smoke)' --concurrency 4 ========================= Failures during discovery ========================= --- import errors --- Failed to call load_tests: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 136, in loadTestsFromModule return load_tests(self, tests, pattern) File "/usr/lib/python2.7/site-packages/heat_tempest_plugin/tests/api/test_heat_api.py", line 97, in load_tests test_loader_name=__name__) File "/usr/lib/python2.7/site-packages/gabbi/driver.py", line 76, in build_tests raise AssertionError('must specify exactly one of host or intercept') AssertionError: must specify exactly one of host or intercept Expected results: Tempest run without errors. Additional info: According to [1] the gabbi library dependency on python-heat-tests-tempest should be >=1.42.1 while the current package is 1.33.0 [1] https://github.com/openstack/heat-tempest-plugin/commit/a08034e3d94d37db02d093f0f70150450a338e42