Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-2570/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-524710206.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tfm-rubygem-foreman_openscap-0.5.2-1.git.7.bd6b73b.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-2570/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-foreman_openscap.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jg3Jrl + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + scl enable tfm ' gem unpack /builddir/build/SOURCES/foreman_openscap-0.5.2.gem ' Unpacked gem: '/builddir/build/BUILD/foreman_openscap-0.5.2' + cd /builddir/build/BUILD + cd foreman_openscap-0.5.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p ./opt/theforeman/tfm/root/usr/share/gems + scl enable tfm ' gem install --local --install-dir ./opt/theforeman/tfm/root/usr/share/gems --force /builddir/build/SOURCES/foreman_openscap-0.5.2.gem --no-rdoc --no-ri ' Successfully installed foreman_openscap-0.5.2 1 gem installed + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NHw3C8 + umask 022 + cd /builddir/build/BUILD + cd foreman_openscap-0.5.2 + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xUP3OV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 + cd foreman_openscap-0.5.2 + LANG=C + export LANG + unset DISPLAY + mkdir -p /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems + cp -a ./opt/theforeman/tfm/root/usr/share/gems/build_info ./opt/theforeman/tfm/root/usr/share/gems/cache ./opt/theforeman/tfm/root/usr/share/gems/doc ./opt/theforeman/tfm/root/usr/share/gems/extensions ./opt/theforeman/tfm/root/usr/share/gems/gems ./opt/theforeman/tfm/root/usr/share/gems/specifications /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/usr/share/foreman/bundler.d + mkdir -p /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/usr/share/foreman/bundler.d + cat + mkdir -p .//usr/share + cp -r /usr/share/foreman .//usr/share cp: cannot open `/usr/share/foreman/config/initializers/local_secret_token.rb' for reading: Permission denied cp: cannot access `/usr/share/foreman/.ssh': Permission denied + echo 0 0 + mkdir -p .//var/lib/foreman + cp -r /var/lib/foreman/db .//var/lib/foreman + unlink .//usr/share/foreman/db ++ pwd + ln -sv /builddir/build/BUILD/foreman_openscap-0.5.2//var/lib/foreman/db .//usr/share/foreman/db `.//usr/share/foreman/db' -> `/builddir/build/BUILD/foreman_openscap-0.5.2//var/lib/foreman/db' + pushd .//usr/share/foreman ~/build/BUILD/foreman_openscap-0.5.2/usr/share/foreman ~/build/BUILD/foreman_openscap-0.5.2 ++ scl enable rh-ror41 -- ruby -e 'print Gem.path.join('\'':'\'')' + export GEM_PATH=/builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/rh-ror41/root/usr/share/gems:/builddir/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems + GEM_PATH=/builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/rh-ror41/root/usr/share/gems:/builddir/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems + cp /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/usr/share/foreman/bundler.d/foreman_openscap.rb ./bundler.d/foreman_openscap.rb + unlink tmp ++ pwd + rm /builddir/build/BUILD/foreman_openscap-0.5.2/usr/share/foreman/config/initializers/encryption_key.rb + /usr/bin/tfm-rake security:generate_encryption_key Log file /builddir/build/BUILD/foreman_openscap-0.5.2/usr/share/foreman/log/development.log cannot be opened. Falling back to STDOUT WARN root : No appender set, logging to STDOUT Encryption key generated in file config/initializers/encryption_key.rb Restart the server and then run rake db:compute_resources:encrypt + export BUNDLER_EXT_NOSTRICT=1 + BUNDLER_EXT_NOSTRICT=1 + /usr/bin/tfm-rake 'plugin:assets:precompile[foreman_openscap]' RAILS_ENV=production --trace Log file /builddir/build/BUILD/foreman_openscap-0.5.2/usr/share/foreman/log/production.log cannot be opened. Falling back to STDOUT WARN root : No appender set, logging to STDOUT ** Invoke plugin:assets:precompile (first_time) ** Execute plugin:assets:precompile I, [2015-12-14T15:56:35.989478 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/arf_reports-d79be4830602b20f00497d375135616a.js I, [2015-12-14T15:56:36.005371 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/load_report-447375b88f1a50a3eb175fe6dd74cc36.js I, [2015-12-14T15:56:36.036766 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/openscap_proxy-92e9defcfcd34acc1d2171d58f59a1bb.js I, [2015-12-14T15:56:36.056555 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/period_selector-99518fe4cbb3d610605e4402c3e698a7.js I, [2015-12-14T15:56:36.083198 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/policy_edit-b69c0dfce8b5b598cde4eac0f798f240.js I, [2015-12-14T15:56:36.101190 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/reports-dc39d60ef2a0fdabd4f42315399397e5.js I, [2015-12-14T15:56:36.116416 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/scap_hosts_show-830d20735e5b081f845df487a38bbd47.js I, [2015-12-14T15:56:36.120024 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/policy-4ed7eb3ec3adec94b867af0c97050eda.css I, [2015-12-14T15:56:36.123433 #4245] INFO -- : Writing /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.2/public/assets/foreman_openscap/reports-0a3a207fc64c475183681991d1771cc5.css ~/build/BUILD/foreman_openscap-0.5.2 + popd + rm -rf ./usr + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/foreman_openscap-0.5.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/theforeman/tfm/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/theforeman/tfm/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.noarch Provides: foreman-plugin-openscap tfm-rubygem(foreman_openscap) = 0.5.2 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Obsoletes: tfm-rubygem(scaptimony) < 0.3.2-3 ruby193-rubygem-foreman_openscap Processing files: tfm-rubygem-foreman_openscap-doc-0.5.2-1.fm1_11.git.7.bd6b73b.el6.noarch Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: ruby193-rubygem-foreman_openscap-doc Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-524710206.novalocal Wrote: /builddir/build/RPMS/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.noarch.rpm Wrote: /builddir/build/RPMS/tfm-rubygem-foreman_openscap-doc-0.5.2-1.fm1_11.git.7.bd6b73b.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3s327s + umask 022 + cd /builddir/build/BUILD + cd foreman_openscap-0.5.2 + /bin/rm -rf /builddir/build/BUILDROOT/tfm-rubygem-foreman_openscap-0.5.2-1.fm1_11.git.7.bd6b73b.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->