[tests][glare][murano-client] Package is not in cache package class when use glare

Bug #1625039 reported by Mykola Stolyarenko on 2016-09-19
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Medium
Unassigned

Bug Description

Run murano-client tests with glare.

4 of them will failed:

muranoclient.tests.functional.cli.test_murano.DeployMuranoEnvironmentTest
test_add_component_to_deployed_env
fail
test_environment_deployment
fail

muranoclient.tests.functional.cli.test_murano.PackageMuranoSanityClientTest
test_package_import_skip
fail
test_package_import_abort
fail

ft3.1: muranoclient.tests.functional.cli.test_murano.DeployMuranoEnvironmentTest.test_add_component_to_deployed_env_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2016-09-14 08:51:49,140 10961 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Importing package io.murano.apps.dummy_app_03b97699
2016-09-14 08:51:51,481 10961 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Created new session:
2016-09-14 08:52:00,660 10961 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Deleted package '060783f4-bd0d-41bd-b6e7-82eed2018e8b'
}}}

Traceback (most recent call last):
  File "muranoclient/tests/functional/cli/test_murano.py", line 693, in test_add_component_to_deployed_env
    self.deploy_environment(env_id, obj_model)
  File "muranoclient/tests/functional/cli/murano_test_utils.py", line 255, in deploy_environment
    result = self.wait_deployment_result(env_id)
  File "muranoclient/tests/functional/cli/murano_test_utils.py", line 212, in wait_deployment_result
    raise exceptions.TempestException(msg)
tempest.lib.exceptions.TempestException: An unknown exception occurred
Details: Environment status deploy failure is not in expected statuses: ['ready', 'deploying']

ft6.8: muranoclient.tests.functional.cli.test_murano.PackageMuranoSanityClientTest.test_package_import_abort_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2016-09-14 08:52:25,243 10967 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Importing package io.murano.apps.dummy_app_c5603237
2016-09-14 08:52:27,797 10967 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Importing package io.murano.apps.dummy_app_c5603237
2016-09-14 08:52:30,921 10967 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Deleted package '75c71870-ca7d-4aca-b93f-d04686c27dc7'
2016-09-14 08:52:33,938 10967 WARNING [tempest.lib.cli.output_parser] skipping invalid table line: Deleted package '921a4282-8037-4aa2-91bc-6eee741e9863'
}}}

Traceback (most recent call last):
  File "muranoclient/tests/functional/cli/test_murano.py", line 619, in test_package_import_abort
    self.assertNotIn(package, package_list)
  File "/opt/stack/new/python-muranoclient/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 455, in assertNotIn
    self.assertThat(haystack, matcher, message)
  File "/opt/stack/new/python-muranoclient/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: [{'Type': 'Library', 'FQN': 'io.murano', 'Author': 'murano.io', 'Is Public': 'True', 'Name': 'Core library', 'ID': 'e2e6a6a2-5162-46d9-9f7e-36cbcac90ca8', 'Version': '0.0.0', 'Active': 'True'}, {'Type': 'Application', 'FQN': 'io.murano.apps.dummy_app_c5603237', 'Author': 'Mirantis, Inc', 'Is Public': '', 'Name': 'dummy_app_c5603237', 'ID': '75c71870-ca7d-4aca-b93f-d04686c27dc7', 'Version': '0.0.0', 'Active': 'True'}, {'Type': 'Application', 'FQN': 'io.murano.apps.dummy_app_c5603237', 'Author': 'Mirantis, Inc', 'Is Public': '', 'Name': 'dummy_app_c5603237', 'ID': '921a4282-8037-4aa2-91bc-6eee741e9863', 'Version': '0.0.0', 'Active': 'True'}] matches Contains({'Type': 'Application', 'FQN': 'io.murano.apps.dummy_app_c5603237', 'Author': 'Mirantis, Inc', 'Is Public': '', 'Name': 'dummy_app_c5603237', 'ID': '75c71870-ca7d-4aca-b93f-d04686c27dc7', 'Version': '0.0.0', 'Active': 'True'})

http://paste.openstack.org/show/o4e0guyjel3NayDFbKQz/

http://paste.openstack.org/show/zyUJBApEFCnIYcmkoWIp/

Changed in python-muranoclient:
importance: High → Medium

The thing is that everything works fine on common deployments. So, the problem might be somewhere in tests client creation. However I spent a plenty amount of time researching this idea and can't find anythin, so I might be wrong.

Changed in python-muranoclient:
status: New → Confirmed
Changed in python-muranoclient:
milestone: 0.12.0 → 1.0.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers