Comment 0 for bug 1667308

Revision history for this message
Mark Goddard (mgoddard) wrote : bifrost-base source image build currently broken in master

The bifrost-base source image is currently failing to build in the master branch. This is breaking Jenkins checks for the source builds. I have reproduced this locally also.

Example failure: http://logs.openstack.org/22/436922/1/check/gate-kolla-dsvm-build-centos-source-centos-7/182c940/

Relevant output:

2017-02-22 15:45:48.183529 | INFO:kolla.image.build.bifrost-base:NO MORE HOSTS LEFT *************************************************************
2017-02-22 15:45:48.183597 | INFO:kolla.image.build.bifrost-base: to retry, use: --limit @/bifrost/playbooks/install.retry
2017-02-22 15:45:48.183664 | INFO:kolla.image.build.bifrost-base:PLAY RECAP *********************************************************************
2017-02-22 15:45:48.183749 | INFO:kolla.image.build.bifrost-base:127.0.0.1 : ok=21 changed=9 unreachable=0 failed=1
2017-02-22 15:45:48.183794 | INFO:kolla.image.build.bifrost-base:Removing intermediate container 9bca3c9c0a49
2017-02-22 15:45:48.183831 | ERROR:kolla.image.build.bifrost-base:Error'd with the following message
2017-02-22 15:45:48.183952 | ERROR:kolla.image.build.bifrost-base:The command '/bin/sh -c bash -c './scripts/env-setup.sh && source ./env-vars && ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml -e @/tmp/build_arg.yml && yum clean all'' returned a non-zero code: 1

<snip>

2017-02-22 15:45:48.333710 | }}}
2017-02-22 15:45:48.333727 |
2017-02-22 15:45:48.333749 | Traceback (most recent call last):
2017-02-22 15:45:48.333775 | File "tests/test_build.py", line 64, in runTest
2017-02-22 15:45:48.333806 | self.assertEqual(failures, 0, "%d failure(s) occurred" % failures)
2017-02-22 15:45:48.333865 | File "/home/jenkins/workspace/gate-kolla-dsvm-build-centos-source-centos-7/.tox/build-centos-source/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2017-02-22 15:45:48.333890 | self.assertThat(observed, matcher, message)
2017-02-22 15:45:48.333951 | File "/home/jenkins/workspace/gate-kolla-dsvm-build-centos-source-centos-7/.tox/build-centos-source/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2017-02-22 15:45:48.333997 | raise mismatch_error
2017-02-22 15:45:48.334034 | testtools.matchers._impl.MismatchError: 1 != 0: 1 failure(s) occurred
2017-02-22 15:45:48.389036 | ERROR: InvocationError: '/home/jenkins/workspace/gate-kolla-dsvm-build-centos-source-centos-7/.tox/build-centos-source/bin/testr run test_build.BuildTestCentosSource'
2017-02-22 15:45:48.401252 | ___________________________________ summary ____________________________________
2017-02-22 15:45:48.401371 | ERROR: build-centos-source: commands failed

It appears that this is a problem when installing Bifrost dependencies.