Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hdparmify-0.1.2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1636072353.291316/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.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'd7a78b14982d433ba1a3edd787e0dffe', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1636072353.291316/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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/hdparmify-0.1.2.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 setting SOURCE_DATE_EPOCH=1627344000 Wrote: /builddir/build/SRPMS/hdparmify-0.1.2-2.fc36.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/hdparmify-0.1.2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1636072353.291316/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.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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', '8b18dcb485ab48b0b1eaaf7d60c6d051', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1636072353.291316/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gc1mq50p:/etc/resolv.conf', '--bind=/dev/btrfs-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/hdparmify-0.1.2.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 setting SOURCE_DATE_EPOCH=1627344000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PUX2Eq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hdparmify-0.1.2 + /usr/bin/tar -xvvof - + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.1.2.tar.gz drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/ drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/.github/ drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/.github/workflows/ -rw-rw-r-- root/root 215 2021-07-27 17:30 hdparmify-0.1.2/.github/workflows/test.yml -rw-rw-r-- root/root 22 2021-07-27 17:30 hdparmify-0.1.2/.gitignore -rw-rw-r-- root/root 138 2021-07-27 17:30 hdparmify-0.1.2/Dockerfile.toolbox -rw-rw-r-- root/root 1050 2021-07-27 17:30 hdparmify-0.1.2/LICENSE -rw-rw-r-- root/root 1605 2021-07-27 17:30 hdparmify-0.1.2/Makefile -rw-rw-r-- root/root 2152 2021-07-27 17:30 hdparmify-0.1.2/README.md -rw-rw-r-- root/root 7 2021-07-27 17:30 hdparmify-0.1.2/VERSION -rw-rw-r-- root/root 117 2021-07-27 17:30 hdparmify-0.1.2/hdparmify.conf -rwxrwxr-x root/root 4096 2021-07-27 17:30 hdparmify-0.1.2/hdparmify.in drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/man/ -rw-rw-r-- root/root 2342 2021-07-27 17:30 hdparmify-0.1.2/man/hdparmify.1.pod drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/spec/ -rw-rw-r-- root/root 1411 2021-07-27 17:30 hdparmify-0.1.2/spec/hdparmify-0.1.2.spec -rw-rw-r-- root/root 1217 2021-07-27 17:30 hdparmify-0.1.2/spec/hdparmify.rpkg.spec drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/systemd/ -rw-rw-r-- root/root 176 2021-07-27 17:30 hdparmify-0.1.2/systemd/hdparmify-reapply.service -rw-rw-r-- root/root 183 2021-07-27 17:30 hdparmify-0.1.2/systemd/hdparmify-restore.service -rw-rw-r-- root/root 164 2021-07-27 17:30 hdparmify-0.1.2/systemd/hdparmify@.service drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/ lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/Makefile -> sharness/test/Makefile lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/aggregate-results.sh -> sharness/aggregate-results.sh drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/bin/ -rwxrwxr-x root/root 21 2021-07-27 17:30 hdparmify-0.1.2/test/bin/hdparm -rw-rw-r-- root/root 1918 2021-07-27 17:30 hdparmify-0.1.2/test/hdparmify.t lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/lib-sharness -> sharness/lib-sharness drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/ -rw-rw-r-- root/root 343 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/.travis.yml -rw-rw-r-- root/root 11147 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/API.md -rw-rw-r-- root/root 6910 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/CHANGELOG.md -rw-rw-r-- root/root 2182 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/CONTRIBUTING.md -rw-rw-r-- root/root 18092 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/COPYING -rw-rw-r-- root/root 1468 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/Makefile -rw-rw-r-- root/root 24501 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/README.git -rw-rw-r-- root/root 7283 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/README.md -rwxrwxr-x root/root 1479 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/aggregate-results.sh drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/lib-sharness/ -rw-rw-r-- root/root 16328 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/lib-sharness/functions.sh -rw-rw-r-- root/root 14966 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/sharness.sh drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/ -rw-rw-r-- root/root 40 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/.gitignore -rw-rw-r-- root/root 1714 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/Makefile lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/aggregate-results.sh -> ../aggregate-results.sh lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/lib-sharness -> ../lib-sharness lrwxrwxrwx root/root 0 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/sharness.sh -> ../sharness.sh -rwxrwxr-x root/root 17793 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/sharness.t -rwxrwxr-x root/root 591 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/simple.t -rwxrwxr-x root/root 1769 2021-07-27 17:30 hdparmify-0.1.2/test/sharness/test/test-terminal.perl -rw-rw-r-- root/root 146 2021-07-27 17:30 hdparmify-0.1.2/test/test.conf drwxrwxr-x root/root 0 2021-07-27 17:30 hdparmify-0.1.2/udev/ -rw-rw-r-- root/root 186 2021-07-27 17:30 hdparmify-0.1.2/udev/99-hdparmify.rules + STATUS=0 + '[' 0 -ne 0 ']' + cd hdparmify-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fvyGQr + umask 022 + cd /builddir/build/BUILD + cd hdparmify-0.1.2 + /usr/bin/make -O -j2 V=1 VERBOSE=1 PREFIX=/usr sed -e "s/@VERSION/v0.1.2/" hdparmify.in > hdparmify chmod +x hdparmify pod2man -n=hdparmify -c=hdparmify -r=v0.1.2 man/hdparmify.1.pod hdparmify.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fNd9tN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 + cd hdparmify-0.1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/bin cp -p hdparmify /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/etc cp -p hdparmify.conf /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/etc mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/udev/rules.d cp -p udev/99-hdparmify.rules /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/udev/rules.d mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/systemd/system cp -p systemd/hdparmify@.service /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/systemd/system cp -p systemd/hdparmify-reapply.service /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/systemd/system cp -p systemd/hdparmify-restore.service /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/lib/systemd/system mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/man/man1 cp -p hdparmify.1 /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/hdparmify from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OXCgiL + umask 022 + cd /builddir/build/BUILD + cd hdparmify-0.1.2 + make test make -C test make[1]: Entering directory '/builddir/build/BUILD/hdparmify-0.1.2/test' rm -f -r test-results make aggregate-results-and-cleanup make[2]: Entering directory '/builddir/build/BUILD/hdparmify-0.1.2/test' *** hdparmify.t *** ok 1 - Ensure hdparmify reset works ok 2 - Apply to all (now) ok 3 - Apply to all (with delays) ok 4 - Reapply to all ok 5 - Restore all ok 6 - Apply to device not in config ok 7 - Try applying to device not in config ok 8 - Reset single device # passed all 8 test(s) 1..8 make aggregate-results make[3]: Entering directory '/builddir/build/BUILD/hdparmify-0.1.2/test' for f in test-results/*.counts; do \ echo "$f"; \ done | '/bin/sh' 'aggregate-results.sh' fixed 0 success 8 failed 0 broken 0 total 8 make[3]: Leaving directory '/builddir/build/BUILD/hdparmify-0.1.2/test' make clean make[3]: Entering directory '/builddir/build/BUILD/hdparmify-0.1.2/test' rm -f -r 'trash directory'.* test-results rm -f .prove make[3]: Leaving directory '/builddir/build/BUILD/hdparmify-0.1.2/test' make[2]: Leaving directory '/builddir/build/BUILD/hdparmify-0.1.2/test' make[1]: Leaving directory '/builddir/build/BUILD/hdparmify-0.1.2/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: hdparmify-0.1.2-2.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7CRqbq + umask 022 + cd /builddir/build/BUILD + cd hdparmify-0.1.2 + DOCDIR=/builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/doc/hdparmify + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/doc/hdparmify + cp -pr README.md /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/doc/hdparmify + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YbgGms + umask 022 + cd /builddir/build/BUILD + cd hdparmify-0.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/licenses/hdparmify + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/licenses/hdparmify + cp -pr LICENSE /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64/usr/share/licenses/hdparmify + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hdparmify) = 0.1.2-2.fc36 hdparmify = 0.1.2-2.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 Wrote: /builddir/build/RPMS/hdparmify-0.1.2-2.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wIvj5L + umask 022 + cd /builddir/build/BUILD + cd hdparmify-0.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hdparmify-0.1.2-2.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0