Bug 1358065

Summary: manila tempest tests fails for RHOS8 puddle
Product: Red Hat OpenStack Reporter: pgadiya <pgadiya>
Component: openstack-manilaAssignee: Tom Barron <tbarron>
Status: CLOSED ERRATA QA Contact: Dustin Schoenbrun <dschoenb>
Severity: high Docs Contact: Don Domingo <ddomingo>
Priority: high    
Version: 8.0 (Liberty)CC: abehl, dsariel, dschoenb, jjoyce, pkshiras, rkanade, rovyas, sguha
Target Milestone: asyncKeywords: ZStream
Target Release: 8.0 (Liberty)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-manila-1.0.1-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-31 17:38:12 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:

Description pgadiya 2016-07-20 00:52:18 UTC
Description of problem:
Tempest is not able to discover manila_tempest tests.
Certification team is using this tempest as primary tool for partners to certify hence this needs to be fixed in upcoming puddle.


Version-Release number of selected component (if applicable):
python-manilaclient-1.4.0-1.el7ost.noarch
python-manila-1.0.1-3.el7ost.noarch

How reproducible:
Always

Steps to Reproduce:
1.Deploy Openstack along with sahara and neutron_lbaas services enabled using packstack

    $ packstack --allinone --default-password=openstack --os-sahara-install=y --os-neutron-lbaas-install=y

2. Install openstack-tempest, python-neutron-tests, openstack-rally, python-sahara-tests, python-neutron-lbaas-tests, python-zaqarclient

3. Run command "testr list-tests" from directory /usr/share/openstack-tempest-liberty/ 

Actual results:
testr list-tests
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover} --list 
2016-07-19 20:49:35.469 19829 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
--- import errors ---
Failed to import test module: manila_tempest_tests.tests.api.admin.test_admin_actions
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/manila_tempest_tests/tests/api/admin/test_admin_actions.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_admin_actions_negative
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/manila_tempest_tests/tests/api/admin/test_admin_actions_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_consistency_group_actions
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/manila_tempest_tests/tests/api/admin/test_consistency_group_actions.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_consistency_groups
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/manila_tempest_tests/tests/api/admin/test_consistency_groups.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_consistency_groups_negative
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/manila_tempest_tests/tests/api/admin/test_consistency_groups_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_migration
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/manila_tempest_tests/tests/api/admin/test_migration.py", line 19, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_multi_backend
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/manila_tempest_tests/tests/api/admin/test_multi_backend.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_quotas
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/manila_tempest_tests/tests/api/admin/test_quotas.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_quotas_negative
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/manila_tempest_tests/tests/api/admin/test_quotas_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_scheduler_stats
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/manila_tempest_tests/tests/api/admin/test_scheduler_stats.py", line 19, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_security_services
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/manila_tempest_tests/tests/api/admin/test_security_services.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_services
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/manila_tempest_tests/tests/api/admin/test_services.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_services_negative
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/manila_tempest_tests/tests/api/admin/test_services_negative.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_instances
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/manila_tempest_tests/tests/api/admin/test_share_instances.py", line 19, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_manage
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/manila_tempest_tests/tests/api/admin/test_share_manage.py", line 23, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_networks
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/manila_tempest_tests/tests/api/admin/test_share_networks.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_servers
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/manila_tempest_tests/tests/api/admin/test_share_servers.py", line 23, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_servers_negative
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/manila_tempest_tests/tests/api/admin/test_share_servers_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_types
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/manila_tempest_tests/tests/api/admin/test_share_types.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_types_extra_specs
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/manila_tempest_tests/tests/api/admin/test_share_types_extra_specs.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_types_extra_specs_negative
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/manila_tempest_tests/tests/api/admin/test_share_types_extra_specs_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_share_types_negative
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/manila_tempest_tests/tests/api/admin/test_share_types_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.admin.test_shares_actions
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/manila_tempest_tests/tests/api/admin/test_shares_actions.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_availability_zones
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/manila_tempest_tests/tests/api/test_availability_zones.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_consistency_group_actions
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/manila_tempest_tests/tests/api/test_consistency_group_actions.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_consistency_groups
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/manila_tempest_tests/tests/api/test_consistency_groups.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_consistency_groups_negative
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/manila_tempest_tests/tests/api/test_consistency_groups_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_extensions
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/manila_tempest_tests/tests/api/test_extensions.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_limits
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/manila_tempest_tests/tests/api/test_limits.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_metadata
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/manila_tempest_tests/tests/api/test_metadata.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_metadata_negative
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/manila_tempest_tests/tests/api/test_metadata_negative.py", line 19, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_microversions
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/manila_tempest_tests/tests/api/test_microversions.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_quotas
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/manila_tempest_tests/tests/api/test_quotas.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_quotas_negative
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/manila_tempest_tests/tests/api/test_quotas_negative.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_rules
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/manila_tempest_tests/tests/api/test_rules.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_rules_negative
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/manila_tempest_tests/tests/api/test_rules_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_scheduler_stats_negative
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/manila_tempest_tests/tests/api/test_scheduler_stats_negative.py", line 19, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_security_services
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/manila_tempest_tests/tests/api/test_security_services.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_security_services_mapping
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/manila_tempest_tests/tests/api/test_security_services_mapping.py", line 18, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_security_services_mapping_negative
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/manila_tempest_tests/tests/api/test_security_services_mapping_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_security_services_negative
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/manila_tempest_tests/tests/api/test_security_services_negative.py", line 23, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_share_networks
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/manila_tempest_tests/tests/api/test_share_networks.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_share_networks_negative
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/manila_tempest_tests/tests/api/test_share_networks_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_share_types_negative
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/manila_tempest_tests/tests/api/test_share_types_negative.py", line 21, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_shares
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/manila_tempest_tests/tests/api/test_shares.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_shares_actions
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/manila_tempest_tests/tests/api/test_shares_actions.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_shares_actions_negative
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/manila_tempest_tests/tests/api/test_shares_actions_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds

Failed to import test module: manila_tempest_tests.tests.api.test_shares_negative
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/manila_tempest_tests/tests/api/test_shares_negative.py", line 22, in <module>
    from manila_tempest_tests.tests.api import base
  File "/usr/lib/python2.7/site-packages/manila_tempest_tests/tests/api/base.py", line 23, in <module>
    from tempest.common import isolated_creds  # noqa
ImportError: cannot import name isolated_creds
Non-zero exit code (2) from test listing.


Expected results:
Should lists the tempest tests

Additional info:

Comment 4 David Sariel 2016-07-20 12:13:07 UTC
pgadya, I had this job disabled for a meanwhile. Manila tesmest job that is relevant is rhos-tempest-full-gerrit-manila-rhel-7.2-packstack-aio which is a work in progress (~50 tempest jobs are failing out of ~340)

Also, manila tepest were not planed to be supported for rhos8.  The plan is to support them from rhos9.

Comment 5 David Sariel 2016-07-20 13:07:00 UTC
how about removing the tempest plugin from manila rhos8 branch then? rhos8 is a tech-preview. Manila liberty in upstream requres some specific version of tempest in order to pass tempest tests. I don't think the tempest for certifications can be changes to that specific version of tempest from upstream that is used for Manila liberty tempest tests.

Comment 6 pgadiya 2016-07-20 13:09:12 UTC
(In reply to David Sariel from comment #4)
> pgadya, I had this job disabled for a meanwhile. Manila tesmest job that is
> relevant is rhos-tempest-full-gerrit-manila-rhel-7.2-packstack-aio which is
> a work in progress (~50 tempest jobs are failing out of ~340)
> 
> Also, manila tepest were not planed to be supported for rhos8.  The plan is
> to support them from rhos9.


David: Ack, however, we have partners waiting for RHOS8 certification and this is a blocker for us since, the manila package was installed in RHOS8 as a part of dependency and this hampers out tempest tests (since we all know that tempest is branchless)

Comment 7 Tom Barron 2016-07-20 20:43:42 UTC
pgadiya: I've posted a backport of the upstream change that corresponds to your fix.  We'll want to cherry-pick that fix to keep synced up with upstream.

Comment 8 pgadiya 2016-07-21 06:44:24 UTC
(In reply to Tom Barron from comment #7)
> pgadiya: I've posted a backport of the upstream change that corresponds to
> your fix.  We'll want to cherry-pick that fix to keep synced up with
> upstream.

tbarron: Sounds Good to me. I have checked it and looks good to me. RHOS9 puddle also has dynamic_creds module in its tempest so I think we should be good for RHOS8 and RHOS9 manilla_tempest_plugin changes

Comment 10 Dustin Schoenbrun 2016-08-15 19:37:01 UTC
I was able to replicate the procedure described above using the follow RHOS-8 packages:

openstack-packstack-7.0.0-0.19.dev1702.g490e674.el7ost.noarch
openstack-packstack-puppet-7.0.0-0.19.dev1702.g490e674.el7ost.noarch
openstack-tempest-liberty-20160413.1.el7ost.noarch
python-tempest-lib-0.13.0-3.el7ost.noarch
openstack-rally-0.1.1-4.2.el7ost.noarch
openstack-tempest-liberty-20160413.1.el7ost.noarch
python-neutron-lbaas-tests-7.1.1-1.el7ost.noarch
python-neutron-tests-7.1.1-4.el7ost.noarch
python-sahara-tests-3.0.1-4.el7ost.noarch
python-zaqarclient-0.2.0-1.el7ost.noarch

I was able to setup packstack, install the packages, and then, after installing the python-tempest-lib package, list the tests successfully without any errors.

Comment 12 Tom Barron 2016-08-29 19:27:32 UTC
*** Bug 1293840 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2016-08-31 17:38:12 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://rhn.redhat.com/errata/RHBA-2016-1792.html