Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-thread_order.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587636040.017959/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '764cd61a47ae4de9b62cfd4184fe80df', '-D', '/var/lib/mock/epel-7-x86_64-1587636040.017959/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-thread_order.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-thread_order-1.1.1-3.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-thread_order.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587636040.017959/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '812a4a1bc0a04d51a71ce8e99e57c390', '-D', '/var/lib/mock/epel-7-x86_64-1587636040.017959/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sfuq85pp:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-thread_order.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DmQjaT + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/thread_order-1.1.1.gem Unpacked gem: '/builddir/build/BUILD/thread_order-1.1.1' + gem specification /builddir/build/SOURCES/thread_order-1.1.1.gem -l --ruby + cd /builddir/build/BUILD + /usr/bin/tar -xf /builddir/build/SOURCES/thread_order-1.1.1.gem + cd thread_order-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mLjHeK + umask 022 + cd /builddir/build/BUILD + cd thread_order-1.1.1 + gem build ../thread_order-1.1.1.gemspec Successfully built RubyGem Name: thread_order Version: 1.1.1 File: thread_order-1.1.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc thread_order-1.1.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/thread_order-1.1.1 Bin dir: /builddir/build/BUILD/thread_order-1.1.1/usr/bin Gem home: /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/.gitignore /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/.travis.yml /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/Gemfile /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/License.txt /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/Readme.md /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order/mutex.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order/version.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/run /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/thread_order.gemspec Successfully installed thread_order-1.1.1 Parsing documentation for thread_order-1.1.1 Parsing sources... 33% [ 1/ 3] lib/thread_order.rb 66% [ 2/ 3] lib/thread_order/mutex.rb 100% [ 3/ 3] lib/thread_order/version.rb Installing ri documentation for thread_order-1.1.1 Installing darkfish documentation for thread_order-1.1.1 Done installing documentation for thread_order after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cpWp1C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 + cd thread_order-1.1.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64/usr/share/gems/ + /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/thread_order-1.1.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.trxYWv + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1 ~/build/BUILD/thread_order-1.1.1 + cd thread_order-1.1.1 + pushd ./usr/share/gems/gems/thread_order-1.1.1 + sed -i '/^\s*not_loaded\! '\''monitor.rb'\''$/ s/^/#/' spec/thread_order_spec.rb + sed -i '/RSpec.describe/ i RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = [:expect, :should] end end' spec/thread_order_spec.rb + rspec spec .............# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:89:in `sleep': the roof (RuntimeError) . from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:89:in `block (4 levels) in ' from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' # terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:103:in `block (5 levels) in ': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .# terminated with exception (report_on_exception is true): /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:110:in `sleep': to the rules (Exception) from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/spec/thread_order_spec.rb:110:in `block (4 levels) in ' from /builddir/build/BUILD/thread_order-1.1.1/usr/share/gems/gems/thread_order-1.1.1/lib/thread_order.rb:49:in `block (3 levels) in pass_to' .......... Finished in 1.48 seconds (files took 0.10434 seconds to load) 25 examples, 0 failures + popd ~/build/BUILD/thread_order-1.1.1 + exit 0 Processing files: rubygem-thread_order-1.1.1-3.el7.noarch Provides: rubygem(thread_order) = 1.1.1 rubygem-thread_order = 1.1.1-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-thread_order-doc-1.1.1-3.el7.noarch Provides: rubygem-thread_order-doc = 1.1.1-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 Wrote: /builddir/build/RPMS/rubygem-thread_order-1.1.1-3.el7.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-thread_order-doc-1.1.1-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wSo9jq + umask 022 + cd /builddir/build/BUILD + cd thread_order-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-thread_order-1.1.1-3.el7.x86_64 + exit 0 Child return code was: 0