specifically
murano_tempest_tests.tests.api.application_catalog.test_env_templates.TestEnvironmentTemplates.test_get_public_private_both_env_templates[smoke]
murano_tempest_tests.tests.api.application_catalog.test_sessions.TestSessions.test_get_session[smoke]
The error boils down to 2016-09-22T20:13:08 != 2016-09-22T20:13:09
other tests might be affected too. We need to exclude time from tests or instead of comparing exact time representation — compare timedelta with a certain allowance
Here are full tracebacks:
murano_tempest_tests.tests.api.application_catalog.test_env_templates.TestEnvironmentTemplates.test_get_public_private_both_env_templates[smoke]
------------------------------------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/plugins/murano/murano_tempest_tests/tests/api/application_catalog/test_env_templates.py", line 163, in test_get_public_private_both_env_templates
self.assertIn(public_env_template, public_env_templates)
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertIn
self.assertThat(haystack, Contains(needle), message)
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: {u'updated': u'2016-09-22T20:13:08', u'name': u'get_public_private_both_bb2935de', u'created': u'2016-09-22T20:13:08', u'tenant_id': u'b7a1ef2908d34bb2ad9060de5ddb3370', u'version': 0, u'description_text': u'', u'is_public': True, u'id': u'00a1eb35b62b418a99bf349184a8fbbf'} not in [{u'updated': u'2016-09-22T20:13:09', u'name': u'get_public_private_both_bb2935de', u'created': u'2016-09-22T20:13:09', u'tenant_id': u'b7a1ef2908d34bb2ad9060de5ddb3370', u'version': 0, u'description_text': u'', u'is_public': True, u'id': u'00a1eb35b62b418a99bf349184a8fbbf'}, {u'updated': u'2016-09-22T20:13:07', u'name': u'TestEnvironmentTemplates_03112244', u'created': u'2016-09-22T20:12:55', u'tenant_id': u'b7a1ef2908d34bb2ad9060de5ddb3370', u'version': 0, u'description_text': u'', u'is_public': True, u'id': u'6c00f7530e5d440c9f0b5835a42164f4'}]
and
murano_tempest_tests.tests.api.application_catalog.test_sessions.TestSessions.test_get_session[smoke]
-----------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/plugins/murano/murano_tempest_tests/tests/api/application_catalog/test_sessions.py", line 59, in test_get_session
self.assertEqual(session, session_from_resp)
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/rally/.rally/tempest/for-deployment-44cea41c-ad13-4fd8-9b99-fc00b7cea2e1/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {u'created': u'2016-09-22T20:12:43',
u'environment_id': u'661ff5e27fe74226bb1d1fc1c8165fd0',
u'id': u'cb6de9e38ab3459286cb834703c5e482',
u'state': u'opened',
u'updated': u'2016-09-22T20:12:43',
u'user_id': u'b6eaeaadbab4427c9e9a10ca2e01b584',
u'version': 0}
actual = {u'created': u'2016-09-22T20:12:44',
u'environment_id': u'661ff5e27fe74226bb1d1fc1c8165fd0',
u'id': u'cb6de9e38ab3459286cb834703c5e482',
u'state': u'opened',
u'updated': u'2016-09-22T20:12:44',
u'user_id': u'b6eaeaadbab4427c9e9a10ca2e01b584',
u'version': 0}
also client affected
muranoclient. tests.functiona l.cli.test_ murano. EnvTemplateMura noSanityClientT est.test_ environment_ template_ create