In backporting https://review.openstack.org/#/c/447229/ to stable/newton I consistently see the following CI error:
http://logs.openstack.org/29/447229/2/check/gate-tripleo-ci-centos-7-nonha-multinode-oooq/c1f6ba4/logs/quickstart_install.txt.gz
TASK [build-test-packages : Run DLRN] ******************************************
[1;30mtask path: /home/jenkins/workspace/gate-tripleo-ci-centos-7-nonha-multinode-oooq/.quickstart/usr/local/share/ansible/roles/build-test-packages/tasks/dlrn-build.yml:53[0m
Saturday 18 March 2017 22:01:04 +0000 (0:00:01.182) 0:04:16.893 ********
[0;31mfatal: [undercloud]: FAILED! => {"changed": true, "cmd": "set +e; source /home/jenkins/dlrn-venv/bin/activate; while true; do\n dlrn --config-file projects.ini --head-only --package-name openstack-tripleo-heat-templates --local --info-repo rdoinfo --dev;\n if [ $? -eq 0 ]; then\n # SUCCESS\n break;\n elif [ $? -eq 1 ]; then\n # FAILED\n exit 1;\n elif [ $? -eq 2 ]; then\n # RETRY\n continue;\n fi;\n # Unexpected DLRN return code\n exit $?;\n done;", "delta": "0:02:02.897140", "end": "2017-03-18 22:03:08.844269", "failed": true, "rc": 1, "start": "2017-03-18 22:01:05.947129", "stderr": "2017-03-18 22:01:06,817 INFO:dlrn-repositories:Getting https://github.com/rdo-packages/tripleo-heat-templates-distgit.git to ./data/openstack-tripleo-heat-templates_distro (rpm-newton)\n2017-03-18 22:01:07,895 INFO:dlrn-repositories:Falling back to rpm-master\n2017-03-18 22:01:08,206 INFO:dlrn-repositories:Getting git://git.openstack.org/openstack/tripleo-heat-templates to ./data/openstack-tripleo-heat-templates (stable/newton)\n2017-03-18 22:01:08,504 INFO:dlrn-build:Processing openstack-tripleo-heat-templates 50f0b974c8fd764c8a0cac5124d28e8382a73658\n2017-03-18 22:03:07,138 ERROR:dlrn-build:cmd failed. See logs at: /home/jenkins/DLRN/data/repos/50/f0/50f0b974c8fd764c8a0cac5124d28e8382a73658_dev/\n2017-03-18 22:03:07,139 INFO:dlrn:Received exception Error in build_rpm_wrapper for openstack-tripleo-heat-templates: \n\n RAN: /usr/bin/env /home/jenkins/DLRN/scripts/build_rpm.sh centos openstack-tripleo-heat-templates /home/jenkins/DLRN/data/repos/50/f0/50f0b974c8fd764c8a0cac5124d28e8382a73658_dev /home/jenkins/DLRN/data https://trunk.rdoproject.org/centos7-newton /home/jenkins/DLRN/data/openstack-tripleo-heat-templates_distro\n\n STDOUT:\n\n\n STDERR:\n\n2017-03-18 22:03:07,144 ERROR:dlrn:Received exception Error in build_rpm_wrapper for openstack-tripleo-heat-templates: \n\n RAN: /usr/bin/env /home/jenkins/DLRN/scripts/build_rpm.sh centos openstack-tripleo-heat-templates /home/jenkins/DLRN/data/repos/50/f0/50f0b974c8fd764c8a0cac5124d28e8382a73658_dev /home/jenkins/DLRN/data https://trunk.rdoproject.org/centos7-newton /home/jenkins/DLRN/data/openstack-tripleo-heat-templates_distro\n\n STDOUT:\n\n\n STDERR:\n\n2017-03-18 22:03:07,149 INFO:dlrn-notifications:Skipping notify email to ['<email address hidden>', '<email address hidden>']", "stdout": "", "stdout_lines": [], "warnings": []}[0m
The error is:
http://logs.openstack.org/29/447229/2/check/gate-tripleo-ci-centos-7-nonha-multinode-oooq/c1f6ba4/logs/delorean_logs/50/f0/50f0b974c8fd764c8a0cac5124d28e8382a73658_dev/build.log.txt.gz
+ cp -ar scripts /builddir/build/BUILDROOT/openstack-tripleo-heat-templates-5.2.1-0.20170318220252.50f0b97.el7.centos.x86_64//usr/share/openstack-tripleo-heat-templates
cp: cannot stat 'scripts': No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.EcBM03 (%install)
Bad exit status from /var/tmp/rpm-tmp.EcBM03 (%install)
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-heat-templates.spec
Reproducer: /github. com/openstack- infra/tripleo- ci ROOT=/tmp/ test ./scripts/ tripleo. sh --delorean-setup RELEASE= newton TRIPLEO_ ROOT=/tmp/ test ./scripts/ tripleo. sh --delorean-build openstack/ tripleo- heat-templates
mkdir -p /tmp/test && cd /tmp/test
git clone https:/
cd tripleo-ci/
TRIPLEO_
STABLE_