Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/redhat-release-coreos.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1594827530.695503/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.o2d485mh:/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.o2d485mh:/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', 'b1b84452f41d424cac84c0666cadb33a', '-D', '/var/lib/mock/centos-stream-x86_64-1594827530.695503/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o2d485mh:/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/redhat-release-coreos.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/redhat-release-coreos-45.82-6.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/redhat-release-coreos.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1594827530.695503/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.o2d485mh:/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.o2d485mh:/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', '30c9f58304cb422ebd7d4537eca20001', '-D', '/var/lib/mock/centos-stream-x86_64-1594827530.695503/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o2d485mh:/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/redhat-release-coreos.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.a3wKXi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redhat-release-coreos-45.82.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/redhat-release-coreos-45.82.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd redhat-release-coreos-45.82.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RGpI1B + umask 022 + cd /builddir/build/BUILD + cd redhat-release-coreos-45.82.6 + make fs ./build.sh +++ dirname ./build.sh ++ cd . ++ pwd + srcdir=/builddir/build/BUILD/redhat-release-coreos-45.82.6 + rm fs fs.tmp -rf + mkdir -p fs.tmp + cd fs.tmp + rhel_version=8.2 + openshift_version=4.5 ++ echo 8.2 ++ cut -f 1 -d . + base_release_version=8 + mkdir -m 0755 -p usr/lib + cat + mkdir -m 0755 -p etc + ln -s ../usr/lib/os-release etc/os-release + ln -s ../usr/lib/os-release etc/system-release + cat + ln -sr usr/lib/issue etc/issue + ln -sr usr/lib/issue etc/issue.net + mkdir -p -m 755 etc/issue.d + mkdir -p -m 755 etc/pki/rpm-gpg + cat /builddir/build/BUILD/redhat-release-coreos-45.82.6/RPM-GPG-KEY-redhat-release-2 /builddir/build/BUILD/redhat-release-coreos-45.82.6/RPM-GPG-KEY-redhat-auxiliary + cat /builddir/build/BUILD/redhat-release-coreos-45.82.6/RPM-GPG-KEY-redhat-beta-2 /builddir/build/BUILD/redhat-release-coreos-45.82.6/RPM-GPG-KEY-redhat-legacy-beta + mkdir -p -m 755 usr/share/ostree/trusted.gpg.d + for file in etc/pki/rpm-gpg/RPM-GPG-KEY* + gpg --dearmor ++ basename etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta + for file in etc/pki/rpm-gpg/RPM-GPG-KEY* + gpg --dearmor ++ basename etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release + echo 'Red Hat Enterprise Linux CoreOS release 4.5' + ln -sf ../usr/lib/redhat-release etc/system-release + ln -sf ../usr/lib/redhat-release etc/redhat-release + mkdir -p -m 755 etc/profile.d + cat + install -d -m 755 etc/rpm + cat + mkdir -p -m 755 usr/share/redhat-release + install -m 644 /builddir/build/BUILD/redhat-release-coreos-45.82.6/EULA usr/share/redhat-release + mkdir -p -m 755 usr/share/doc/redhat-release + install -m 644 /builddir/build/BUILD/redhat-release-coreos-45.82.6/GPL usr/share/doc/redhat-release + mkdir -p usr/lib/systemd/system-preset/ + for x in ${srcdir}/*.preset + install -m 0644 /builddir/build/BUILD/redhat-release-coreos-45.82.6/85-display-manager.preset usr/lib/systemd/system-preset/ + for x in ${srcdir}/*.preset + install -m 0644 /builddir/build/BUILD/redhat-release-coreos-45.82.6/90-default.preset usr/lib/systemd/system-preset/ + for x in ${srcdir}/*.preset + install -m 0644 /builddir/build/BUILD/redhat-release-coreos-45.82.6/99-default-disable.preset usr/lib/systemd/system-preset/ + mkdir -p etc/systemd/system + ln -s /dev/null etc/systemd/system/brandbot.path + cd .. + mv fs.tmp fs + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dEqifV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + cd redhat-release-coreos-45.82.6 + rm -rf /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + cp -a --reflink=auto fs /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + cd /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + sed -e 's,^.,/,' + find . -type f -o -type l + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64/etc/ld.so.conf: No such file or directory + /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/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 Processing files: redhat-release-coreos-45.82-6.el8.x86_64 Provides: redhat-release = 8.99-6.el8 redhat-release-coreos = 45.82-6.el8 redhat-release-coreos(x86-64) = 45.82-6.el8 system-release = 8.99-6.el8 system-release(releasever) = 8Server 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/redhat-release-coreos-45.82-6.el8.x86_64 Wrote: /builddir/build/RPMS/redhat-release-coreos-45.82-6.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qMfIYe + umask 022 + cd /builddir/build/BUILD + cd redhat-release-coreos-45.82.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/redhat-release-coreos-45.82-6.el8.x86_64 + exit 0 Child return code was: 0