py27 pythonImageUploader failing tests in tripleo git repos for stable/train

Bug #1867672 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

tripleo_common.tests.image.test_image_uploader.TestPythonImageUploader 31 28 3 0 0 Detail
test_copy_manifest_config_to_registry_export
fail
test_copy_manifest_config_to_registry
fail
test_copy_manifest_config_to_registry_oci
fail

https://02475c780c6fc32e71dc-f63b2c309fc0040fbb4a377b77794f40.ssl.cf1.rackcdn.com/710456/2/gate/openstack-tox-py27/babda20/testr_results.html

[x]

ft1.5: tripleo_common.tests.image.test_image_uploader.TestPythonImageUploader.test_copy_manifest_config_to_registry_exporttesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/tripleo-common/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 1330, in patched
    return func(*args, **keywargs)
  File "tripleo_common/tests/image/test_image_uploader.py", line 2140, in test_copy_manifest_config_to_registry_export
    export_mock.assert_has_calls(calls)
  File "/home/zuul/src/opendev.org/openstack/tripleo-common/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 978, in assert_has_calls
    ), cause)
  File "/home/zuul/src/opendev.org/openstack/tripleo-common/.tox/py27/lib/python2.7/site-packages/six.py", line 737, in raise_from
    raise value
AssertionError: Calls not found.
Expected: [call(ParseResult(scheme='docker', netloc='192.168.2.1:5000', path='/t/nova-api:latest', params='', query='', fragment=''), '{\n "config": {\n "mediaType": "application/vnd.docker.container.image.v1+json", \n "digest": "sha256:1234", \n "size": 2\n }, \n "layers": [\n {\n "digest": "sha256:aaaa"\n }, \n {\n "digest": "sha256:bbbb"\n }\n ], \n "mediaType": "application/vnd.docker.distribution.manifest.v2+json"\n}', 'application/vnd.docker.distribution.manifest.v2+json', None, multi_arch=False)]
Actual: [call(ParseResult(scheme='docker', netloc='192.168.2.1:5000', path='/t/nova-api:latest', params='', query='', fragment=''), '{\n "config": {\n "size": 2, \n "digest": "sha256:1234", \n "mediaType": "application/vnd.docker.container.image.v1+json"\n }, \n "layers": [\n {\n "digest": "sha256:aaaa"\n }, \n {\n "digest": "sha256:bbbb"\n }\n ], \n "mediaType": "application/vnd.docker.distribution.manifest.v2+json"\n}', 'application/vnd.docker.distribution.manifest.v2+json', None, multi_arch=False)].

Tags: alert
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Fix Released
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.