5 kolla tests are failing for master tripleo-common (tripleo_common/tests/image/test_kolla_builder.py)
they all follow the same pattern
First differing element 0:
{u'imagename': u'tripleoupstream/centos-binary-aodh-api:latest'}
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-aodh-api:latest"}
somehow {{namespace}} on the templates are being rendered as <class 'jinja2.utils.Namespace'> instead of the "tripleoupstream"
log of the errors:
FAIL: tripleo_common.tests.image.test_kolla_builder.TestKollaImageBuilderTemplate.test_container_images_from_template
tags: worker-6
----------------------------------------------------------------------
Traceback (most recent call last):
File "tripleo_common/tests/image/test_kolla_builder.py", line 157, in test_container_images_from_template
self.assertEqual(container_images, result)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [{u'imagename': u'tripleoupstream/heat-docker-agents-centos:latest',
u'push_destination': u'localhost:8787'},
{u'imagename': u'tripleoupstream/centos-binary-nova-compute:liberty',
u'pull_source': u'docker.io',
u'push_destination': u'localhost:8787',
u'uploader': u'docker'},
{u'imagename': u'tripleoupstream/centos-binary-nova-libvirt:liberty',
u'pull_source': u'docker.io',
u'uploader': u'docker'},
{u'imagename': u'tripleoupstream/image-with-missing-tag',
u'push_destination': u'localhost:8787'}]
actual = [{u'imagename': u"<class 'jinja2.utils.Namespace'>/heat-docker-agents-centos:latest",
u'push_destination': u'localhost:8787'},
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-nova-compute:liberty",
u'pull_source': u'docker.io',
u'push_destination': u'localhost:8787',
u'uploader': u'docker'},
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-nova-libvirt:liberty",
u'pull_source': u'docker.io',
u'uploader': u'docker'},
{u'imagename': u"<class 'jinja2.utils.Namespace'>/image-with-missing-tag",
u'push_destination': u'localhost:8787'}]
======================================================================
FAIL: tripleo_common.tests.image.test_kolla_builder.TestKollaImageBuilderTemplate.test_container_images_from_template_filter
tags: worker-4
----------------------------------------------------------------------
Traceback (most recent call last):
File "tripleo_common/tests/image/test_kolla_builder.py", line 192, in test_container_images_from_template_filter
self.assertEqual(container_images, result)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [{'imagename': 'tripleoupstream/centos-binary-nova-compute:liberty',
'pull_source': 'docker.io',
'push_destination': 'localhost:8787',
'uploader': 'docker'},
{'imagename': 'tripleoupstream/centos-binary-nova-libvirt:liberty',
'pull_source': 'docker.io',
'push_destination': 'localhost:8787',
'uploader': 'docker'},
{'imagename': 'tripleoupstream/image-with-missing-tag',
'pull_source': 'docker.io',
'push_destination': 'localhost:8787'}]
actual = [{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-nova-compute:liberty",
u'pull_source': 'docker.io',
u'push_destination': 'localhost:8787',
u'uploader': u'docker'},
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-nova-libvirt:liberty",
u'pull_source': 'docker.io',
'push_destination': 'localhost:8787',
u'uploader': u'docker'},
{u'imagename': u"<class 'jinja2.utils.Namespace'>/image-with-missing-tag",
'pull_source': 'docker.io',
u'push_destination': 'localhost:8787'}]
======================================================================
FAIL: tripleo_common.tests.image.test_kolla_builder.TestKollaImageBuilderTemplate.test_container_images_yaml_in_sync
tags: worker-3
----------------------------------------------------------------------
Traceback (most recent call last):
File "tripleo_common/tests/image/test_kolla_builder.py", line 246, in test_container_images_yaml_in_sync
remove_images=remove_images)
File "tripleo_common/tests/image/test_kolla_builder.py", line 227, in _test_container_images_yaml_in_sync_helper
self.assertSequenceEqual(container_images, result)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual
self.fail(msg)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: Sequences differ: [{u'imagename': u'tripleoupstream/centos-binary-aodh-api:l[5938 chars]-7'}] != [{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-[7366 chars]-7'}]
First differing element 0:
{u'imagename': u'tripleoupstream/centos-binary-aodh-api:latest'}
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-aodh-api:latest"}
Diff is 25699 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: tripleo_common.tests.image.test_kolla_builder.TestKollaImageBuilderTemplate.test_container_images_yaml_in_sync_for_ovn
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
File "tripleo_common/tests/image/test_kolla_builder.py", line 275, in test_container_images_yaml_in_sync_for_ovn
neutron_driver='ovn', remove_images=remove_images)
File "tripleo_common/tests/image/test_kolla_builder.py", line 227, in _test_container_images_yaml_in_sync_helper
self.assertSequenceEqual(container_images, result)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual
self.fail(msg)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: Sequences differ: [{u'imagename': u'tripleoupstream/centos-binary-aodh-api:l[6296 chars]-7'}] != [{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-[7809 chars]-7'}]
First differing element 0:
{u'imagename': u'tripleoupstream/centos-binary-aodh-api:latest'}
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-aodh-api:latest"}
Diff is 27351 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: tripleo_common.tests.image.test_kolla_builder.TestKollaImageBuilderTemplate.test_container_images_yaml_in_sync_for_odl
tags: worker-2
----------------------------------------------------------------------
Traceback (most recent call last):
File "tripleo_common/tests/image/test_kolla_builder.py", line 264, in test_container_images_yaml_in_sync_for_odl
neutron_driver='odl', remove_images=remove_images)
File "tripleo_common/tests/image/test_kolla_builder.py", line 227, in _test_container_images_yaml_in_sync_helper
self.assertSequenceEqual(container_images, result)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual
self.fail(msg)
File "/home/frac/Code/tripleo-common/.tox/py27/lib/python2.7/site-packages/unittest2/case.py", line 690, in fail
raise self.failureException(msg)
AssertionError: Sequences differ: [{u'imagename': u'tripleoupstream/centos-binary-aodh-api:l[6021 chars]-7'}] != [{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-[7466 chars]-7'}]
First differing element 0:
{u'imagename': u'tripleoupstream/centos-binary-aodh-api:latest'}
{u'imagename': u"<class 'jinja2.utils.Namespace'>/centos-binary-aodh-api:latest"}
Diff is 26075 characters long. Set self.maxDiff to None to see it.
Ran 372 tests in 4.316s (+2.855s)
FAILED (id=145, failures=5)
Triaging as Critical since no patch can merge in tripleo-common until this is resolved.