dlrn builds failing on unit test "ttest_upload_image_v1_manifest"

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

Bug Description

test_validate_config_invalid_yaml (tripleo_common.tests.utils.test_config.TestConfig)
tripleo_common.tests.utils.test_config.TestConfig.test_validate_config_invalid_yaml ... ERROR [tripleo_common.utils.config.Config] Config for file /tmp/testfile.yaml contains invalid yaml, got error while scanning a simple key
  in "<string>", line 7, column 9:
            overcloud-novacompute-0.ctlplane ...
            ^
could not found expected ':'
  in "<string>", line 8, column 9:
            overcloud-novacompute-1.ctlplane ...
            ^
ok
test_write_config (tripleo_common.tests.utils.test_config.TestConfig)

======================================================================
FAIL: test_upload_image_v1_manifest (tripleo_common.tests.image.test_image_uploader.TestPythonImageUploader)
tripleo_common.tests.image.test_image_uploader.TestPythonImageUploader.test_upload_image_v1_manifest
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/builddir/build/BUILD/tripleo-common-10.6.2.dev16/tripleo_common/tests/image/test_image_uploader.py", line 1392, in test_upload_image_v1_manifest
    source_url
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 969, in assert_has_calls
    ), cause)
  File "/usr/lib/python2.7/site-packages/six.py", line 737, in raise_from
    raise value
AssertionError: Calls not found.
Expected: [call(ParseResult(scheme='docker', netloc='localhost:8787', path='/tripleomaster/heat-docker-agents-centos:latest', params='', query='', fragment='')),
 call(ParseResult(scheme='docker', netloc='docker.io', path='/tripleomaster/heat-docker-agents-centos:latest', params='', query='', fragment=''))]
Actual: [call(ParseResult(scheme='docker', netloc='localhost:8787', path='/tripleomaster/heat-docker-agents-centos:latest', params='', query='', fragment=''), password=None, username=None),
 call(ParseResult(scheme='docker', netloc='docker.io', path='/tripleomaster/heat-docker-agents-centos:latest', params='', query='', fragment=''), password=None, username=None)]

Ran 565 tests in 10.344s
FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=565 errors=0 failures=1>
Building fedora-base image with: sudo buildah bud --tls-verify=False --logfile /tmp/kolla/fedora-base/fedora-base-build.log -t 127.0.0.1:8787/master/fedora-binary-fedora-base:latest /tmp/kolla/fedora-base
Pushing 127.0.0.1:8787/master/fedora-binary-fedora-base:latest image with: sudo buildah push --tls-verify=False 127.0.0.1:8787/master/fedora-binary-fedora-base:latest docker://127.0.0.1:8787/master/fedora-binary-fedora-base:latest
error: Test failed: <unittest.runner.TextTestResult run=565 errors=0 failures=1>
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.sf1ZRu (%check)
    Bad exit status from /var/tmp/rpm-tmp.sf1ZRu (%check)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openstack-tripleo-common.spec

http://logs.openstack.org/51/651051/1/gate/tripleo-ci-centos-7-standalone/9f3a2d9/logs/delorean_logs/46/0d/460d1dfedb86ba4e76a71e5649ebad025c8ae45a_dev/build.log.txt.gz

Tags: alert
Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

I'm pretty sure this bug can be closed, https://review.openstack.org/#/c/651051/ hadn't landed yet and it needed a change to update the test test_upload_image_v1_manifest to account for https://review.openstack.org/#/c/651005/ landing

Revision history for this message
Quique Llorente (quiquell) wrote :
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.