Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bughunting.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1586979145.965701/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.chk2ziq8:/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.chk2ziq8:/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', '1d79cccba4f445cc87afa581aa844572', '-D', '/var/lib/mock/epel-7-x86_64-1586979145.965701/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chk2ziq8:/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/bughunting.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/bughunting-2020.2-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/bughunting.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1586979145.965701/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.chk2ziq8:/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.chk2ziq8:/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', '14f30973a8e14b018090e4eb9b33a62f', '-D', '/var/lib/mock/epel-7-x86_64-1586979145.965701/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.chk2ziq8:/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/bughunting.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.RXzoxh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bughunting-2020.2 + /usr/bin/tar -xf /builddir/build/SOURCES/bughunting-2020.2.txz + cd bughunting-2020.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eZHnCq + umask 022 + cd /builddir/build/BUILD + cd bughunting-2020.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WKkLHz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 + cd bughunting-2020.2 + make install DESTDIR=/builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 # configuration files install -d -m 0755 /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting install -m 0644 config/server.yml /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting/ install -m 0644 config/client.yml /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting/ install -m 0644 config/web.yml /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting/ # library install -d -m 0755 /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/ruby/vendor_ruby cp -a src/bughunting /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/ruby/vendor_ruby/ chmod -R u=rwX,g=rX,o=rX /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/ruby/vendor_ruby/bughunting # binaries mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/bin install -m 0755 src/hunt.rb /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/bin/hunt install -m 0755 src/huntinstall.rb /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/bin/huntinstall install -m 0755 src/huntlocal.rb /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/bin/huntlocal install -m 0755 src/huntserver.rb /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/bin/huntserver # state directories mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/var/lib install -d -m 0755 /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/var/lib/bughunting install -d -m 0755 /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/var/lib/bughunting/archive # web mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share install -d -m 0755 /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/bughunting cp -a web /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/bughunting/ mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/bughunting/scripts cp -a scripts/*.sh scripts/*.rb /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/bughunting/scripts + mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting + touch /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting/remote_id_rsa + touch /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/etc/bughunting/remote_id_rsa.pub + /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/bughunting-2020.2 /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.LJ8rfJ + umask 022 + cd /builddir/build/BUILD + cd bughunting-2020.2 + find -type f -name '*.rb' + xargs -P0 -i bash -c '{ ruby -c '\''{}'\'' 2>&1 || exit 255 } | grep -v '\''^Syntax OK$'\'' ;:' + find -type f -name '*.sh' + xargs -P0 -i bash -c ' bash -n '\''{}'\'' 2>&1 || exit 255 ' + ruby -Isrc -e 'Dir.glob "./tests/test_*.rb", &method(:require)' Loaded suite -e Started ................ Finished in 0.020188055 seconds. ------------------------------------------------------------------------------- 16 tests, 54 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 792.55 tests/s, 2674.85 assertions/s + rspec spec Randomized with seed 62188 ............................................................. Finished in 0.09284 seconds (files took 0.20297 seconds to load) 61 examples, 0 failures Randomized with seed 62188 + exit 0 Processing files: bughunting-2020.2-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6w0ut3 + umask 022 + cd /builddir/build/BUILD + cd bughunting-2020.2 + DOCDIR=/builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/doc/bughunting-2020.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/doc/bughunting-2020.2 + cp -pr README /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64/usr/share/doc/bughunting-2020.2 + exit 0 Provides: bughunting = 2020.2-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bughunting-client-2020.2-3.el7.noarch Provides: bughunting-client = 2020.2-3.el7 config(bughunting-client) = 2020.2-3.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(preun): /bin/sh Requires: /usr/bin/ruby Processing files: bughunting-server-2020.2-3.el7.noarch Provides: bughunting-server = 2020.2-3.el7 config(bughunting-server) = 2020.2-3.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh openssh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/bash /bin/sh /usr/bin/bash /usr/bin/ruby Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 Wrote: /builddir/build/RPMS/bughunting-2020.2-3.el7.noarch.rpm Wrote: /builddir/build/RPMS/bughunting-client-2020.2-3.el7.noarch.rpm Wrote: /builddir/build/RPMS/bughunting-server-2020.2-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kS9dWn + umask 022 + cd /builddir/build/BUILD + cd bughunting-2020.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bughunting-2020.2-3.el7.x86_64 + exit 0 Child return code was: 0