Bug 1613475 - Wrong dependency on python-gabbi [osp13]
Summary: Wrong dependency on python-gabbi [osp13]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-heat-tests-tempest
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z3
: 13.0 (Queens)
Assignee: Rabi Mishra
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On: 1609361 1619367 1623845
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-07 15:53 UTC by Dimitri Savineau
Modified: 2021-12-10 17:01 UTC (History)
18 users (show)

Fixed In Version: python-heat-tests-tempest-0.1.1-0.20180514163844.9d99219.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1609361
Environment:
Last Closed: 2018-11-14 01:14:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 15326 0 None queens-rdo: MERGED openstack/heat-tempest-plugin-distgit: Sync python2-gabbi minimum requirement (If9c4936342911fcdff8359d3e42c5afcfebb40bf... 2018-08-30 10:08:18 UTC
Red Hat Issue Tracker OSP-11523 0 None None None 2021-12-10 17:01:30 UTC
Red Hat Product Errata RHBA-2018:3611 0 None None None 2018-11-14 01:15:45 UTC

Comment 1 Rabi Mishra 2018-08-08 02:51:53 UTC
Tempest is branchless, so a new build should fix it.

Comment 3 Jun'ichi NOMURA 2018-08-09 02:00:01 UTC
I want this fix, too. Since RH7-RHOS-13.0 2018-07-30.2, we are hitting a Tempest failure, which is likely BZ#1609361.

Comment 5 Dimitri Savineau 2018-08-13 17:12:02 UTC
Since the fix on OSP14 from BZ#1609361 is working fine, do you know how long the backport upstream to RDO/queens and then in OSP13 will take ?

Comment 6 Jun'ichi NOMURA 2018-08-30 04:30:44 UTC
python2-heat-tests-tempest-0.1.1-0.20180514163843.9d99219.el7ost is released in public without the fix, as a part of OSP13 errata RHBA-2018:2573.
python-gabi is still 1.33.

Now people will hit a failure like this if heat is enabled for tempest:

+ tempest run --concurrency 4 -s
+ tee run-tempest.log

=========================
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

================================================================================
The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.

Comment 18 dkhairnar@vmware.com 2018-10-08 09:16:16 UTC
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.

Comment 19 Anshul Behl 2018-10-08 09:35:06 UTC
Hi,

Try removing the heat tempest rpm called (python2-heat-tests-tempest).
#yum remove python2-heat-tests-tempest

And then try running

#ostestr --list

This should do the trick for you and unblock the cert run as heat tempest tests are not required.

Thanks,
Anshul

Comment 20 Ronnie Rasouli 2018-10-11 12:09:46 UTC
verified 
 [root@undercloud-0 ~]# rpm -qa | grep gabbi
python2-gabbi-1.42.1-2.el7ost.noarch

Comment 27 Keigo Noha 2018-11-01 04:24:52 UTC
Hello Rabi,

The fix in the upstream is insufficient and it causes all tests in heat-tempest-plugin is skipped.

Current fix makes the heat-test-tempest unusable.
I filed a bugzilla for he issue as https://bugzilla.redhat.com/show_bug.cgi?id=1644957.

Could you consider to make the new bugzilla as blocker of this bugzilla?

Best Regards,
Keigo Noha

Comment 30 errata-xmlrpc 2018-11-14 01:14:59 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/RHBA-2018:3611


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