Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/flotta-agent.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1665908468.900279/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.pupg9f_h:/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.pupg9f_h:/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', '7a55d9ebe0fd4a97a91b88e097918944', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1665908468.900279/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pupg9f_h:/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 aarch64 --nodeps /builddir/build/SPECS/flotta-agent.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658793600 Wrote: /builddir/build/SRPMS/flotta-agent-0.2.0-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/flotta-agent.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1665908468.900279/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.pupg9f_h:/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.pupg9f_h:/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', '936c3cb61e4c455891372c5732f0a0d2', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1665908468.900279/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pupg9f_h:/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 aarch64 --nodeps /builddir/build/SPECS/flotta-agent.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658793600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.85hFzV + umask 022 + cd /builddir/build/BUILD + tar fx /builddir/build/SOURCES/flotta-agent-0.2.0.tar.gz + rm -rf flotta-agent-0.2.0/vendor/github.com/containers/storage/drivers/register/register_btrfs.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6YIUKW + umask 022 + cd /builddir/build/BUILD + cd flotta-agent-0.2.0 + export CGO_ENABLED=0 + CGO_ENABLED=0 + export 'GOFLAGS=-mod=vendor -tags=containers_image_openpgp' + GOFLAGS='-mod=vendor -tags=containers_image_openpgp' + go build -o ./bin/device-worker ./cmd/device-worker + export CGO_ENABLED=1 + CGO_ENABLED=1 + go build -race -o ./bin/device-worker-race ./cmd/device-worker + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2aFwcn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 + cd flotta-agent-0.2.0 + mkdir -p /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/usr/libexec/yggdrasil/ + install ./bin/device-worker /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/usr/libexec/yggdrasil/device-worker + install ./bin/device-worker-race /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/usr/libexec/yggdrasil/device-worker-race + make install-worker-config USER=flotta HOME=/var/home/flotta LIBEXECDIR=/usr/libexec BUILDROOT=/builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 SYSCONFDIR=/etc mkdir -p /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/etc/yggdrasil/workers/ mkdir -p /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/etc/yggdrasil/device/volumes chown : -R /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/etc/yggdrasil/device/volumes sed 's,#LIBEXEC#,/usr/libexec,g;s,#USER#,USER=flotta,g;s,#HOME#,HOME=/var/home/flotta,g;s,#RUNTIME_DIR#,FLOTTA_XDG_RUNTIME_DIR=,g' config/device-worker.toml > /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/etc/yggdrasil/workers/device-worker.toml + install -Dpm 644 packaging/systemd/flotta-agent.service /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/usr/lib/systemd/system/flotta-agent.service + install -Dpm 644 packaging/systemd/flotta.conf /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64/etc/tmpfiles.d/flotta-agent.conf + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: flotta-agent-0.2.0-3.el9.aarch64 Provides: flotta-agent = 0.2.0-3.el9 flotta-agent(aarch-64) = 0.2.0-3.el9 golang(%{go_import_path}) = 0.2.0-3.el9 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): shadow-utils Requires(post): /bin/sh Processing files: flotta-agent-race-0.2.0-3.el9.aarch64 Provides: flotta-agent-race = 0.2.0-3.el9 flotta-agent-race(aarch-64) = 0.2.0-3.el9 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdevmapper.so.1.02()(64bit) libdevmapper.so.1.02(Base)(64bit) libdevmapper.so.1.02(DM_1_02_97)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 Wrote: /builddir/build/RPMS/flotta-agent-0.2.0-3.el9.aarch64.rpm Wrote: /builddir/build/RPMS/flotta-agent-race-0.2.0-3.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tsZkV0 + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/flotta-agent-0.2.0-3.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0