Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-test_declarative.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1686158734.722326/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '58dd10a5af2f491ba86181d34686a9fc', '-D', '/var/lib/mock/rhel-8-x86_64-1686158734.722326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-test_declarative.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-test_declarative-0.0.6-2.el8.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-test_declarative.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1686158734.722326/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'a83363cc1741460993c53c95620b7a22', '-D', '/var/lib/mock/rhel-8-x86_64-1686158734.722326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oca9wzmd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-test_declarative.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Leu0Ie + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf test_declarative-0.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/test_declarative-0.0.6-test.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gem unpack /builddir/build/SOURCES/test_declarative-0.0.6.gem Unpacked gem: '/builddir/build/BUILD/test_declarative-0.0.6' + /usr/bin/gem spec /builddir/build/SOURCES/test_declarative-0.0.6.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd test_declarative-0.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vwqphu + umask 022 + cd /builddir/build/BUILD + cd test_declarative-0.0.6 + gem build ../test_declarative-0.0.6.gemspec Successfully built RubyGem Name: test_declarative Version: 0.0.6 File: test_declarative-0.0.6.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc test_declarative-0.0.6.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/test_declarative-0.0.6 Bin dir: /builddir/build/BUILD/test_declarative-0.0.6/usr/bin Gem home: /builddir/build/BUILD/test_declarative-0.0.6/usr/share/gems /builddir/build/BUILD/test_declarative-0.0.6/usr/share/gems/gems/test_declarative-0.0.6/MIT-LICENSE /builddir/build/BUILD/test_declarative-0.0.6/usr/share/gems/gems/test_declarative-0.0.6/README.md /builddir/build/BUILD/test_declarative-0.0.6/usr/share/gems/gems/test_declarative-0.0.6/lib/test_declarative.rb /builddir/build/BUILD/test_declarative-0.0.6/usr/share/gems/gems/test_declarative-0.0.6/lib/test_declarative/version.rb Successfully installed test_declarative-0.0.6 Parsing documentation for test_declarative-0.0.6 Parsing sources... 50% [ 1/ 2] lib/test_declarative.rb 100% [ 2/ 2] lib/test_declarative/version.rb Installing ri documentation for test_declarative-0.0.6 Installing darkfish documentation for test_declarative-0.0.6 Done installing documentation for test_declarative after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MzLK8J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 + cd test_declarative-0.0.6 + mkdir -p /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.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-test_declarative-0.0.6-2.el8.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.0.6-2.el8 --unique-debug-suffix -0.0.6-2.el8.x86_64 --unique-debug-src-base rubygem-test_declarative-0.0.6-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/test_declarative-0.0.6 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.znno5k + umask 022 + cd /builddir/build/BUILD + cd test_declarative-0.0.6 + pushd ./usr/share/gems/gems/test_declarative-0.0.6 ~/build/BUILD/test_declarative-0.0.6/usr/share/gems/gems/test_declarative-0.0.6 ~/build/BUILD/test_declarative-0.0.6 + ln -s /builddir/build/BUILD/test test + BUNDLE_GEMFILE=Gemfile + ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' test_declarative is deprecated for Minitest::Unit::TestCase test_declarative is deprecated for Minitest::Test Run options: --seed 43278 # Running: .. Finished in 0.001097s, 1822.4065 runs/s, 1822.4065 assertions/s. 2 runs, 2 assertions, 0 failures, 0 errors, 0 skips + BUNDLE_GEMFILE=Gemfile.unit-test + ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' test_declarative is deprecated for Test::Unit::TestCase Loaded suite -e Started .. Finished in 0.000742771 seconds. ------------------------------------------------------------------------------- 2 tests, 2 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 2692.62 tests/s, 2692.62 assertions/s + popd ~/build/BUILD/test_declarative-0.0.6 + exit 0 Processing files: rubygem-test_declarative-0.0.6-2.el8.noarch Provides: rubygem(test_declarative) = 0.0.6-1 rubygem-test_declarative = 0.0.6-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) >= 1.3.6 Processing files: rubygem-test_declarative-doc-0.0.6-2.el8.noarch Provides: rubygem-test_declarative-doc = 0.0.6-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-test_declarative-0.0.6-2.el8.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-test_declarative-doc-0.0.6-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jzLg2h + umask 022 + cd /builddir/build/BUILD + cd test_declarative-0.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-test_declarative-0.0.6-2.el8.x86_64 + exit 0 Child return code was: 0