Not compatible with tempest anymore

Bug #1869722 reported by Martin Kopec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
New
Undecided
Unassigned

Bug Description

The project doesn't seem to be compatible with tempest anymore .. inspecting tox.ini it might be also related to the fact, the project seems not to be compatible with py36

[master][centos@mkopec-packstack tempest]$ source .tox/py36/bin/activate
(py36)[master][centos@mkopec-packstack tempest]$ cd ../kingbird/
(py36)[master][centos@mkopec-packstack kingbird]$ git log -1
commit 54cbeaaad117a01a1bf89021c7bb5b2dadb19bb4
Author: OpenDev Sysadmins <email address hidden>
Date: Fri Apr 19 19:51:12 2019 +0000

    OpenDev Migration Patch

    This commit was bulk generated and pushed by the OpenDev sysadmins
    as a part of the Git hosting and code review systems migration
    detailed in these mailing list posts:

    http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
    http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

    Attempts have been made to correct repository namespaces and
    hostnames based on simple pattern matching, but it's possible some
    were updated incorrectly or missed entirely. Please reach out to us
    via the contact information listed at https://opendev.org/ with any
    questions you may have.
(py36)[master][centos@mkopec-packstack kingbird]$
(py36)[master][centos@mkopec-packstack kingbird]$ cd ..
(py36)[centos@mkopec-packstack mytempest]$
(py36)[centos@mkopec-packstack mytempest]$
(py36)[centos@mkopec-packstack mytempest]$ tempest init cloud
2020-03-30 13:33:27.371 9432 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/oslo_config/types.py:59: UserWarning: converting '3000' to a string
  warnings.warn('converting \'%s\' to a string' % str_val)
(py36)[centos@mkopec-packstack mytempest]$ cd cloud/
(py36)[master][centos@mkopec-packstack cloud]$ tempest list-plugins
+------+------------+
| Name | EntryPoint |
+------+------------+
+------+------------+
(py36)[master][centos@mkopec-packstack cloud]$
(py36)[master][centos@mkopec-packstack cloud]$ pip install ../kingbird/

<output omitted>

(py36)[centos@mkopec-packstack cloud]$ tempest list-plugins
+----------------+--------------------------------------------------------------+
| Name | EntryPoint |
+----------------+--------------------------------------------------------------+
| kingbird_tests | kingbird.tests.tempest.scenario.plugin:KingbirdTempestPlugin |
+----------------+--------------------------------------------------------------+
(py36)[centos@mkopec-packstack cloud]$ tempest run -l

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: scenario.quota_management.client_tests.test_quota_class_api
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/quota_management/client_tests/test_quota_class_api.py", line 16, in <module>
    import kingbirdclient
ModuleNotFoundError: No module named 'kingbirdclient'

Failed to import test module: scenario.quota_management.client_tests.test_quota_management_api
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/quota_management/client_tests/test_quota_management_api.py", line 16, in <module>
    from kingbird.tests.tempest.scenario.quota_management. \
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/quota_management/client_tests/base.py", line 25, in <module>
    from kingbird.tests.tempest.scenario.quota_management \
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/quota_management/sync_client.py", line 23, in <module>
    from kingbirdclient.api.v1 import client as kb_client
ModuleNotFoundError: No module named 'kingbirdclient'

Failed to import test module: scenario.resource_management.sync_tests.test_flavor_sync
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/resource_management/sync_tests/test_flavor_sync.py", line 16, in <module>
    import kingbirdclient
ModuleNotFoundError: No module named 'kingbirdclient'

Failed to import test module: scenario.resource_management.sync_tests.test_image_sync
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/resource_management/sync_tests/test_image_sync.py", line 16, in <module>
    import kingbirdclient
ModuleNotFoundError: No module named 'kingbirdclient'

Failed to import test module: scenario.resource_management.sync_tests.test_keypair_sync_api
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/resource_management/sync_tests/test_keypair_sync_api.py", line 16, in <module>
    import kingbirdclient
ModuleNotFoundError: No module named 'kingbirdclient'

Failed to import test module: scenario.resource_management.sync_tests.test_template_sync
Traceback (most recent call last):
  File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/tmp/mytempest/tempest/.tox/py36/lib/python3.6/site-packages/kingbird/tests/tempest/scenario/resource_management/sync_tests/test_template_sync.py", line 16, in <module>
    import kingbirdclient
ModuleNotFoundError: No module named 'kingbirdclient'

================================================================================
The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
100(py36)[centos@mkopec-packstack cloud]$

Revision history for this message
Martin Kopec (mkopec) wrote :

Once resolved feel free to remove the project from tempest blacklist, here's the review which blacklisted it: https://review.opendev.org/#/c/715946/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.