01-package-installs should fail the whole image build if it python tracebacks

Bug #1765787 reported by James Slagle on 2018-04-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Undecided
Unassigned
tripleo
Undecided
Unassigned

Bug Description

In TripleO, we were using a badly formatted pkg-map file which was not valid JSON. This caused 01-package-installs to throw a python traceback and ValueError:

https://logs.rdoproject.org/30/558630/3/openstack-check/gate-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset035-master/Zc3a34f0f9f304efea55dc3ca3b4cca2d/undercloud/home/jenkins/overcloud_image_build.log.txt.gz#_2018-04-20_14_02_48

Except this didn't fail the image build, it kept going and built an image with a huge amount of missing packages.

Instead, it should have failed so we would have caught the error earlier.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers