Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hiera.spec'], chrootPath='/var/lib/mock/805955-epel-7-x86_64-1538664579.714033/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a08461a822844f9f91813026ef980e82', '-D', '/var/lib/mock/805955-epel-7-x86_64-1538664579.714033/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hiera.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hiera-3.3.1-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hiera.spec'], chrootPath='/var/lib/mock/805955-epel-7-x86_64-1538664579.714033/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c3b9c260cbf740eb994ff5dafa7b9bc8', '-D', '/var/lib/mock/805955-epel-7-x86_64-1538664579.714033/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hiera.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bQ1V9O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiera-3.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/hiera-3.3.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hiera-3.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-puppetlab-paths.patch):' Patch #0 (fix-puppetlab-paths.patch): + /usr/bin/cat /builddir/build/SOURCES/fix-puppetlab-paths.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/hiera/util.rb + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9O9Lri + umask 022 + cd /builddir/build/BUILD + cd hiera-3.3.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zfxPKL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 + cd hiera-3.3.1 + rm -rf /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/ruby/vendor_ruby + mkdir -p /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/etc/puppet + mkdir -p /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/bin + cp -pr lib/hiera /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/ruby/vendor_ruby + cp -pr lib/hiera.rb /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/ruby/vendor_ruby + install -p -m0755 bin/hiera /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/bin + install -p -m0644 ext/hiera.yaml /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/etc/puppet + mkdir -p /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/var/lib/hiera + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/hiera-3.3.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.T6W5mf + umask 022 + cd /builddir/build/BUILD + cd hiera-3.3.1 + ruby spec/spec_helper.rb BUILDSTDERR: *** Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`. BUILDSTDERR: *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded *before* Mocha. BUILDSTDERR: *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use `require 'mocha/api'` instead of `require 'mocha'`. + exit 0 Processing files: hiera-3.3.1-5.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h49eFJ + umask 022 + cd /builddir/build/BUILD + cd hiera-3.3.1 + DOCDIR=/builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/doc/hiera-3.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/doc/hiera-3.3.1 + cp -pr COPYING /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/doc/hiera-3.3.1 + cp -pr README.md /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/doc/hiera-3.3.1 + cp -pr LICENSE /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64/usr/share/doc/hiera-3.3.1 + exit 0 Provides: config(hiera) = 3.3.1-5.el7 hiera = 3.3.1-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env Obsoletes: hiera<2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 Wrote: /builddir/build/RPMS/hiera-3.3.1-5.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XJvzxK + umask 022 + cd /builddir/build/BUILD + cd hiera-3.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hiera-3.3.1-5.el7.x86_64 + exit 0 Child return code was: 0